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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 13 Oct 2007 06:51:06 -0400
Jeff Garzik <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux