Re: IDE?

From: Alan Cox (
Date: Sat Aug 17 2002 - 15:00:18 EST

On Sat, 2002-08-17 at 01:02, Linus Torvalds wrote:
> Even something as simple as a PIIX driver (which _should_ just register
> itself as a driver for the piix chipsets) doesn't do that. Instead, we
> have ide-pci.c, which has a list of all the chipsets it knows about, and
> then does initialization and calls the init routines that it knows about.
> That's just incestuous.

The pci scan can't go away to get the nasty BIOS ordering crap right.
Andre now has that code as it should be however. The scan loop is
basically no more than

                call probe function(dev)

Which also means we are really really close to hot plug ide controllers.

The probe function->generic pci init->driver->generic->driver-> chain is
still too ugly but its getting better and lives in a struct now

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Aug 23 2002 - 22:00:14 EST