diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2010-07-15 05:04:07 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-15 22:05:22 -0400 |
commit | d930d1a142af07f25c5cbf33aeea6ebbd25315ce (patch) | |
tree | ccfdc832bbc716416925bd538c86f0e7513e1a2c /drivers/isdn/hardware | |
parent | b8176a3f7a4e54a3338535e8c6086713d1c0b804 (diff) |
mISDN: Convert pci_table entries to PCI_VDEVICE (if PCI_ANY_ID is used)
This patch converts pci_table entries, where .subvendor=PCI_ANY_ID and
.subdevice=PCI_ANY_ID, .class=0 and .class_mask=0, to use the
PCI_VDEVICE macro, and thus improves readability.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hardware')
-rw-r--r-- | drivers/isdn/hardware/mISDN/mISDNinfineon.c | 39 |
1 files changed, 14 insertions, 25 deletions
diff --git a/drivers/isdn/hardware/mISDN/mISDNinfineon.c b/drivers/isdn/hardware/mISDN/mISDNinfineon.c index f5b3d2b26a08..2a2181d58deb 100644 --- a/drivers/isdn/hardware/mISDN/mISDNinfineon.c +++ b/drivers/isdn/hardware/mISDN/mISDNinfineon.c | |||
@@ -125,36 +125,25 @@ struct inf_hw { | |||
125 | #define PCI_SUB_ID_SEDLBAUER 0x01 | 125 | #define PCI_SUB_ID_SEDLBAUER 0x01 |
126 | 126 | ||
127 | static struct pci_device_id infineon_ids[] __devinitdata = { | 127 | static struct pci_device_id infineon_ids[] __devinitdata = { |
128 | { PCI_VENDOR_ID_EICON, PCI_DEVICE_ID_EICON_DIVA20, | 128 | { PCI_VDEVICE(EICON, PCI_DEVICE_ID_EICON_DIVA20), INF_DIVA20 }, |
129 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, INF_DIVA20}, | 129 | { PCI_VDEVICE(EICON, PCI_DEVICE_ID_EICON_DIVA20_U), INF_DIVA20U }, |
130 | { PCI_VENDOR_ID_EICON, PCI_DEVICE_ID_EICON_DIVA20_U, | 130 | { PCI_VDEVICE(EICON, PCI_DEVICE_ID_EICON_DIVA201), INF_DIVA201 }, |
131 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, INF_DIVA20U}, | 131 | { PCI_VDEVICE(EICON, PCI_DEVICE_ID_EICON_DIVA202), INF_DIVA202 }, |
132 | { PCI_VENDOR_ID_EICON, PCI_DEVICE_ID_EICON_DIVA201, | ||
133 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, INF_DIVA201}, | ||
134 | { PCI_VENDOR_ID_EICON, PCI_DEVICE_ID_EICON_DIVA202, | ||
135 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, INF_DIVA202}, | ||
136 | { PCI_VENDOR_ID_TIGERJET, PCI_DEVICE_ID_TIGERJET_100, | 132 | { PCI_VENDOR_ID_TIGERJET, PCI_DEVICE_ID_TIGERJET_100, |
137 | PCI_SUBVENDOR_SEDLBAUER_PCI, PCI_SUB_ID_SEDLBAUER, 0, 0, | 133 | PCI_SUBVENDOR_SEDLBAUER_PCI, PCI_SUB_ID_SEDLBAUER, 0, 0, |
138 | INF_SPEEDWIN}, | 134 | INF_SPEEDWIN }, |
139 | { PCI_VENDOR_ID_TIGERJET, PCI_DEVICE_ID_TIGERJET_100, | 135 | { PCI_VENDOR_ID_TIGERJET, PCI_DEVICE_ID_TIGERJET_100, |
140 | PCI_SUBVENDOR_HST_SAPHIR3, PCI_SUB_ID_SEDLBAUER, 0, 0, INF_SAPHIR3}, | 136 | PCI_SUBVENDOR_HST_SAPHIR3, PCI_SUB_ID_SEDLBAUER, 0, 0, INF_SAPHIR3 }, |
141 | { PCI_VENDOR_ID_ELSA, PCI_DEVICE_ID_ELSA_MICROLINK, | 137 | { PCI_VDEVICE(ELSA, PCI_DEVICE_ID_ELSA_MICROLINK), INF_QS1000 }, |
142 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, INF_QS1000}, | 138 | { PCI_VDEVICE(ELSA, PCI_DEVICE_ID_ELSA_QS3000), INF_QS3000 }, |
143 | { PCI_VENDOR_ID_ELSA, PCI_DEVICE_ID_ELSA_QS3000, | 139 | { PCI_VDEVICE(SATSAGEM, PCI_DEVICE_ID_SATSAGEM_NICCY), INF_NICCY }, |
144 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, INF_QS3000}, | ||
145 | { PCI_VENDOR_ID_SATSAGEM, PCI_DEVICE_ID_SATSAGEM_NICCY, | ||
146 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, INF_NICCY}, | ||
147 | { PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9050, | 140 | { PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9050, |
148 | PCI_VENDOR_ID_BERKOM, PCI_DEVICE_ID_BERKOM_SCITEL_QUADRO, 0, 0, | 141 | PCI_VENDOR_ID_BERKOM, PCI_DEVICE_ID_BERKOM_SCITEL_QUADRO, 0, 0, |
149 | INF_SCT_1}, | 142 | INF_SCT_1 }, |
150 | { PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_R685, | 143 | { PCI_VDEVICE(PLX, PCI_DEVICE_ID_PLX_R685), INF_GAZEL_R685 }, |
151 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, INF_GAZEL_R685}, | 144 | { PCI_VDEVICE(PLX, PCI_DEVICE_ID_PLX_R753), INF_GAZEL_R753 }, |
152 | { PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_R753, | 145 | { PCI_VDEVICE(PLX, PCI_DEVICE_ID_PLX_DJINN_ITOO), INF_GAZEL_R753 }, |
153 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, INF_GAZEL_R753}, | 146 | { PCI_VDEVICE(PLX, PCI_DEVICE_ID_PLX_OLITEC), INF_GAZEL_R753 }, |
154 | { PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_DJINN_ITOO, | ||
155 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, INF_GAZEL_R753}, | ||
156 | { PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_OLITEC, | ||
157 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, INF_GAZEL_R753}, | ||
158 | { } | 147 | { } |
159 | }; | 148 | }; |
160 | MODULE_DEVICE_TABLE(pci, infineon_ids); | 149 | MODULE_DEVICE_TABLE(pci, infineon_ids); |