Re: IDE-flash device and hard disk on same controller

Geert Uytterhoeven (geert@linux-m68k.org)
Wed, 21 Aug 2002 08:36:11 +0200 (MEST)


On Tue, 20 Aug 2002, Jeff Garzik wrote:
> Jeff Garzik wrote:
> > Attached is the ATA core...
>
> Just to give a little bit more information about the previously attached
> code, it is merely a module that does two things: (a) demonstrates
> proper [and sometimes faster-than-current-linus] ATA bus probing, and
> (b) demonstrates generic registration and initialization of ATA devices
> and channels. All other tasks can be left to "personality" (a.k.a.
> class) drivers, such as 'disk', 'cdrom', 'floppy', ... types.

Looks nice (at first sight)!

But one limitation is that it always assumes the IDE ports are located in I/O
space :-(
What about architectures where IDE ports are located in MMIO space? Or worse,
have some ports in I/O space (e.g. PCI IDE card) and some in MMIO space (e.g.
SOC or mainboard IDE host interface)?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

- 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/