[PATCH-2.5.47-ac6] Updates to BIOS IDE timings code

From: Torben Mathiasen (torben.mathiasen@hp.com)
Date: Wed Nov 20 2002 - 05:43:13 EST


Hi Alan,

Attached is a patch that addresses some of the issues we discussed previously.
The patch does the following:

        # Moves BIOS timings IDE detection into chipset drivers (by providing a
          library function).
        # Provide the above library function that sets default values for tune
          parameters. It also handles the special case where user has requested
          to use BIOS IDE timings. Caller is assumed to support DMA
          on/off probe using the dma_status register unless a dma_check funtion
          is provided (note, the tekram driver is somewhat different from all
          the others, and haven't been updated yet).
        # Makes BIOS IDE timings work for both IDE0 and IDE1 at the same time.

What hasn't been addresses yet, but that I'm working on is proper simplex
detection when 'biostimings' are used. However, to me it seems like the simplex
code is in the middle of being updated, right? On some chipsets we make just
dma_base isn't set on both interfaces if device claims to be simplex. On others
we force dma on both channels if simplex mode, why?

Tested with via82cxxx, serverworks and piix. 'biostimings' is only supported on
PCI chips.

More generic IDE cleanups are needed here and there, so thats probaly next.

Cheers,
Torben



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:31 EST