lkml.org 
[lkml]   [2003]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: C99 Initialisers
On Tue, Aug 12, 2003 at 11:01:58AM -0700, Greg KH wrote:

What would be *really* nice, would be the ability to do something
to the effect of..

{
.vendor = PCI_VENDOR_ID_BROADCOM,
.devices = {
PCI_DEVICE_ID_TIGON3_5700,
PCI_DEVICE_ID_TIGON3_5701,
PCI_DEVICE_ID_TIGON3_5702,
PCI_DEVICE_ID_TIGON3_5703,
PCI_DEVICE_ID_TIGON3_5704,
PCI_DEVICE_ID_TIGON3_5702FE,
PCI_DEVICE_ID_TIGON3_5702X,
PCI_DEVICE_ID_TIGON3_5703X,
PCI_DEVICE_ID_TIGON3_5704S,
PCI_DEVICE_ID_TIGON3_5702A3,
PCI_DEVICE_ID_TIGON3_5703A3,
},
.subvendor = PCI_ANY_ID,
.subdevice = PCI_ANY_ID
},
{
.vendor = PCI_VENDOR_ID_SYSKONNECT,
.device = 0x4400,
.subvendor = PCI_ANY_ID,
.subdevice = PCI_ANY_ID
},
{
.vendor = PCI_VENDOR_ID_ALTIMA,
.devices = {
PCI_DEVICE_ID_ALTIMA_AC1000,
PCI_DEVICE_ID_ALTIMA_AC1001,
PCI_DEVICE_ID_ALTIMA_AC9100,
}
.subvendor = PCI_ANY_ID,
.subdevice = PCI_ANY_ID
},
{ 0, }
};

--
Dave Jones http://www.codemonkey.org.uk
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:47    [from the cache]
©2003-2011 Jasper Spaans