linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [linux-2.6.git] IDE/ATA fighting over driver name?
       [not found] <1192254081.29452.13.camel@Homer.simpson.net>
@ 2007-10-13 10:51 ` Jeff Garzik
  2007-10-13 12:02   ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Garzik @ 2007-10-13 10:51 UTC (permalink / raw)
  To: Mike Galbraith; +Cc: Linux-Kernel Mailinglist, IDE/ATA development list

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.

	Jeff



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-2.6.git] IDE/ATA fighting over driver name?
  2007-10-13 10:51 ` [linux-2.6.git] IDE/ATA fighting over driver name? Jeff Garzik
@ 2007-10-13 12:02   ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2007-10-13 12:02 UTC (permalink / raw)
  To: Jeff Garzik
  Cc: Mike Galbraith, Linux-Kernel Mailinglist,
	IDE/ATA development list

On Sat, 13 Oct 2007 06:51:06 -0400
Jeff Garzik <jeff@garzik.org> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-13 12:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1192254081.29452.13.camel@Homer.simpson.net>
2007-10-13 10:51 ` [linux-2.6.git] IDE/ATA fighting over driver name? Jeff Garzik
2007-10-13 12:02   ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).