diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-06-27 09:12:38 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-07-05 13:40:50 -0400 |
commit | 46009c8bcd5d7c9fcbfc17d0455a471bea5be4d4 (patch) | |
tree | c9ab3cd5bf6ed74bf91a9644b566fc4ea7ff710e /drivers/net/via-rhine.c | |
parent | 8ab6f3f706f5cb91bc0793afc95c8809837ece05 (diff) |
[netdrvr] minor cleanups in Becker-derived drivers
- fealnx: convert #define to enum
- fealnx, sundance: mark chip info table __devinitdata
- fealnx: use dev_printk() during probe
- fealnx: formatting cleanups
- starfire: remove obsolete comment
- sundance, via-rhine: add some whitespace where useful, in tables
- sundance: prefer "{ }" table terminator
- via-rhine: mark PCI probe table const
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/via-rhine.c')
-rw-r--r-- | drivers/net/via-rhine.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c index e48e76ce73a0..d3d0ec970318 100644 --- a/drivers/net/via-rhine.c +++ b/drivers/net/via-rhine.c | |||
@@ -252,12 +252,11 @@ enum rhine_quirks { | |||
252 | /* Beware of PCI posted writes */ | 252 | /* Beware of PCI posted writes */ |
253 | #define IOSYNC do { ioread8(ioaddr + StationAddr); } while (0) | 253 | #define IOSYNC do { ioread8(ioaddr + StationAddr); } while (0) |
254 | 254 | ||
255 | static struct pci_device_id rhine_pci_tbl[] = | 255 | static const struct pci_device_id rhine_pci_tbl[] = { |
256 | { | 256 | { 0x1106, 0x3043, PCI_ANY_ID, PCI_ANY_ID, }, /* VT86C100A */ |
257 | {0x1106, 0x3043, PCI_ANY_ID, PCI_ANY_ID, 0, 0, }, /* VT86C100A */ | 257 | { 0x1106, 0x3065, PCI_ANY_ID, PCI_ANY_ID, }, /* VT6102 */ |
258 | {0x1106, 0x3065, PCI_ANY_ID, PCI_ANY_ID, 0, 0, }, /* VT6102 */ | 258 | { 0x1106, 0x3106, PCI_ANY_ID, PCI_ANY_ID, }, /* 6105{,L,LOM} */ |
259 | {0x1106, 0x3106, PCI_ANY_ID, PCI_ANY_ID, 0, 0, }, /* 6105{,L,LOM} */ | 259 | { 0x1106, 0x3053, PCI_ANY_ID, PCI_ANY_ID, }, /* VT6105M */ |
260 | {0x1106, 0x3053, PCI_ANY_ID, PCI_ANY_ID, 0, 0, }, /* VT6105M */ | ||
261 | { } /* terminate list */ | 260 | { } /* terminate list */ |
262 | }; | 261 | }; |
263 | MODULE_DEVICE_TABLE(pci, rhine_pci_tbl); | 262 | MODULE_DEVICE_TABLE(pci, rhine_pci_tbl); |