linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] - pci_ids - adding pci device id support for FC949ES
@ 2006-01-12 21:28 Moore, Eric
  2006-01-13  8:03 ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: Moore, Eric @ 2006-01-12 21:28 UTC (permalink / raw)
  To: linux-kernel, linux-scsi

Adding support for new LSI Logic Fibre Channel controller.

Signed-off-by: Eric Moore <Eric.Moore@lsil.com>

--- b/include/linux/pci_ids.h	2006-01-11 19:04:18.000000000 -0700
+++ a/include/linux/pci_ids.h	2006-01-12 14:19:43.000000000 -0700
@@ -181,6 +181,7 @@
 #define PCI_DEVICE_ID_LSI_FC929X	0x0626
 #define PCI_DEVICE_ID_LSI_FC939X	0x0642
 #define PCI_DEVICE_ID_LSI_FC949X	0x0640
+#define PCI_DEVICE_ID_LSI_FC949ES	0x0646
 #define PCI_DEVICE_ID_LSI_FC919X	0x0628
 #define PCI_DEVICE_ID_NCR_YELLOWFIN	0x0701
 #define PCI_DEVICE_ID_LSI_61C102	0x0901

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

* Re: [PATCH] - pci_ids - adding pci device id support for FC949ES
  2006-01-12 21:28 [PATCH] - pci_ids - adding pci device id support for FC949ES Moore, Eric
@ 2006-01-13  8:03 ` Andrew Morton
  2006-01-13 18:10   ` Christoph Hellwig
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2006-01-13  8:03 UTC (permalink / raw)
  To: Moore, Eric; +Cc: linux-kernel, linux-scsi

"Moore, Eric" <Eric.Moore@lsil.com> wrote:
>
> Adding support for new LSI Logic Fibre Channel controller.
> 
>  Signed-off-by: Eric Moore <Eric.Moore@lsil.com>
> 
>  --- b/include/linux/pci_ids.h	2006-01-11 19:04:18.000000000 -0700
>  +++ a/include/linux/pci_ids.h	2006-01-12 14:19:43.000000000 -0700
>  @@ -181,6 +181,7 @@
>   #define PCI_DEVICE_ID_LSI_FC929X	0x0626
>   #define PCI_DEVICE_ID_LSI_FC939X	0x0642
>   #define PCI_DEVICE_ID_LSI_FC949X	0x0640
>  +#define PCI_DEVICE_ID_LSI_FC949ES	0x0646
>   #define PCI_DEVICE_ID_LSI_FC919X	0x0628
>   #define PCI_DEVICE_ID_NCR_YELLOWFIN	0x0701
>   #define PCI_DEVICE_ID_LSI_61C102	0x0901

That doesn't add support - it just adds the ID.  We've apparently decided
not to keep IDs of devices which the kernel doesn't support.

Also, there's a plan to stop using pci_ids.h - PCI IDs are supposed to go
into a driver-private header file.  I guess drivers/scsi/megaraid.h is an
example.

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

* Re: [PATCH] - pci_ids - adding pci device id support for FC949ES
  2006-01-13  8:03 ` Andrew Morton
@ 2006-01-13 18:10   ` Christoph Hellwig
  2006-01-13 19:59     ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2006-01-13 18:10 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Moore, Eric, linux-kernel, linux-scsi

On Fri, Jan 13, 2006 at 12:03:23AM -0800, Andrew Morton wrote:
> >  --- b/include/linux/pci_ids.h	2006-01-11 19:04:18.000000000 -0700
> >  +++ a/include/linux/pci_ids.h	2006-01-12 14:19:43.000000000 -0700
> >  @@ -181,6 +181,7 @@
> >   #define PCI_DEVICE_ID_LSI_FC929X	0x0626
> >   #define PCI_DEVICE_ID_LSI_FC939X	0x0642
> >   #define PCI_DEVICE_ID_LSI_FC949X	0x0640
> >  +#define PCI_DEVICE_ID_LSI_FC949ES	0x0646
> >   #define PCI_DEVICE_ID_LSI_FC919X	0x0628
> >   #define PCI_DEVICE_ID_NCR_YELLOWFIN	0x0701
> >   #define PCI_DEVICE_ID_LSI_61C102	0x0901
> 
> That doesn't add support - it just adds the ID.  We've apparently decided
> not to keep IDs of devices which the kernel doesn't support.

There's a patch on linux-scsi that adds the actual support.

> Also, there's a plan to stop using pci_ids.h - PCI IDs are supposed to go
> into a driver-private header file.  I guess drivers/scsi/megaraid.h is an
> example.

That's new to me.  In either case a single driver should do one thing
consistantly, and fusion has tons of defines in pci_ids.h already.

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

* Re: [PATCH] - pci_ids - adding pci device id support for FC949ES
  2006-01-13 18:10   ` Christoph Hellwig
@ 2006-01-13 19:59     ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2006-01-13 19:59 UTC (permalink / raw)
  To: Christoph Hellwig, Andrew Morton, Moore, Eric, linux-kernel, linux-scsi

On Fri, Jan 13, 2006 at 06:10:02PM +0000, Christoph Hellwig wrote:
> On Fri, Jan 13, 2006 at 12:03:23AM -0800, Andrew Morton wrote:
> > >  --- b/include/linux/pci_ids.h	2006-01-11 19:04:18.000000000 -0700
> > >  +++ a/include/linux/pci_ids.h	2006-01-12 14:19:43.000000000 -0700
> > >  @@ -181,6 +181,7 @@
> > >   #define PCI_DEVICE_ID_LSI_FC929X	0x0626
> > >   #define PCI_DEVICE_ID_LSI_FC939X	0x0642
> > >   #define PCI_DEVICE_ID_LSI_FC949X	0x0640
> > >  +#define PCI_DEVICE_ID_LSI_FC949ES	0x0646
> > >   #define PCI_DEVICE_ID_LSI_FC919X	0x0628
> > >   #define PCI_DEVICE_ID_NCR_YELLOWFIN	0x0701
> > >   #define PCI_DEVICE_ID_LSI_61C102	0x0901
> > 
> > That doesn't add support - it just adds the ID.  We've apparently decided
> > not to keep IDs of devices which the kernel doesn't support.
> 
> There's a patch on linux-scsi that adds the actual support.

Then include this as part of that patch please.  Or if you are going to
add ids to this file, at least CC: the PCI kernel maintainer so he knows
to add them.  And also say that an already submitted patch needs it.

> > Also, there's a plan to stop using pci_ids.h - PCI IDs are supposed to go
> > into a driver-private header file.  I guess drivers/scsi/megaraid.h is an
> > example.
> 
> That's new to me.  In either case a single driver should do one thing
> consistantly, and fusion has tons of defines in pci_ids.h already.

Yeah, for older drivers that already do this, I don't have a problem
adding it here.  Then we can move all of the ids to the local file at
once in the future :)

thanks,

greg k-h

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

end of thread, other threads:[~2006-01-13 20:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-12 21:28 [PATCH] - pci_ids - adding pci device id support for FC949ES Moore, Eric
2006-01-13  8:03 ` Andrew Morton
2006-01-13 18:10   ` Christoph Hellwig
2006-01-13 19:59     ` Greg KH

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).