Re: [linux-2.6.git] IDE/ATA fighting over driver name?

From: Alan Cox
Date: Sat Oct 13 2007 - 08:00:33 EST


On Sat, 13 Oct 2007 06:51:06 -0400
Jeff Garzik <jeff@xxxxxxxxxx> wrote:

> Mike Galbraith wrote:
> > Greetings,
> >
> > Perhaps my .config is dainbramaged. When make oldconfig asked me if I
> > wanted CONFIG_PATA_PLATFORM, I said "Damned if I know, go for it".
> >
> > drivers/ide/legacy/ide_platform.c: .name = "pata_platform",
> > drivers/ata/pata_platform.c:#define DRV_NAME "pata_platform"
>
> That's a clear bug.. IDE's should be called ide_platform.

No its intentional and was discussed. Both of them provide an identical
platform driver interface, so they both use the same name. This means an
embedded platform developer doesn't have to choose which driver each of
their downstream users gets.

Probably just needs a bit of ifdef twiddling, if its even a bug (which is
not clear).

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