diff options
-rw-r--r-- | drivers/net/ethernet/8390/etherh.c | 8 | ||||
-rw-r--r-- | drivers/net/ethernet/8390/hydra.c | 16 | ||||
-rw-r--r-- | drivers/net/ethernet/8390/ne2k-pci.c | 12 | ||||
-rw-r--r-- | drivers/net/ethernet/8390/ne3210.c | 4 | ||||
-rw-r--r-- | drivers/net/ethernet/8390/zorro8390.c | 12 |
5 files changed, 26 insertions, 26 deletions
diff --git a/drivers/net/ethernet/8390/etherh.c b/drivers/net/ethernet/8390/etherh.c index 6414e84516c0..78c6fb4b1143 100644 --- a/drivers/net/ethernet/8390/etherh.c +++ b/drivers/net/ethernet/8390/etherh.c | |||
@@ -521,7 +521,7 @@ static void __init etherh_banner(void) | |||
521 | * Read the ethernet address string from the on board rom. | 521 | * Read the ethernet address string from the on board rom. |
522 | * This is an ascii string... | 522 | * This is an ascii string... |
523 | */ | 523 | */ |
524 | static int __devinit etherh_addr(char *addr, struct expansion_card *ec) | 524 | static int etherh_addr(char *addr, struct expansion_card *ec) |
525 | { | 525 | { |
526 | struct in_chunk_dir cd; | 526 | struct in_chunk_dir cd; |
527 | char *s; | 527 | char *s; |
@@ -651,7 +651,7 @@ static const struct net_device_ops etherh_netdev_ops = { | |||
651 | static u32 etherh_regoffsets[16]; | 651 | static u32 etherh_regoffsets[16]; |
652 | static u32 etherm_regoffsets[16]; | 652 | static u32 etherm_regoffsets[16]; |
653 | 653 | ||
654 | static int __devinit | 654 | static int |
655 | etherh_probe(struct expansion_card *ec, const struct ecard_id *id) | 655 | etherh_probe(struct expansion_card *ec, const struct ecard_id *id) |
656 | { | 656 | { |
657 | const struct etherh_data *data = id->data; | 657 | const struct etherh_data *data = id->data; |
@@ -769,7 +769,7 @@ etherh_probe(struct expansion_card *ec, const struct ecard_id *id) | |||
769 | return ret; | 769 | return ret; |
770 | } | 770 | } |
771 | 771 | ||
772 | static void __devexit etherh_remove(struct expansion_card *ec) | 772 | static void etherh_remove(struct expansion_card *ec) |
773 | { | 773 | { |
774 | struct net_device *dev = ecard_get_drvdata(ec); | 774 | struct net_device *dev = ecard_get_drvdata(ec); |
775 | 775 | ||
@@ -833,7 +833,7 @@ static const struct ecard_id etherh_ids[] = { | |||
833 | 833 | ||
834 | static struct ecard_driver etherh_driver = { | 834 | static struct ecard_driver etherh_driver = { |
835 | .probe = etherh_probe, | 835 | .probe = etherh_probe, |
836 | .remove = __devexit_p(etherh_remove), | 836 | .remove = etherh_remove, |
837 | .id_table = etherh_ids, | 837 | .id_table = etherh_ids, |
838 | .drv = { | 838 | .drv = { |
839 | .name = DRV_NAME, | 839 | .name = DRV_NAME, |
diff --git a/drivers/net/ethernet/8390/hydra.c b/drivers/net/ethernet/8390/hydra.c index 5370c884620b..bc81de1b7d4f 100644 --- a/drivers/net/ethernet/8390/hydra.c +++ b/drivers/net/ethernet/8390/hydra.c | |||
@@ -53,9 +53,9 @@ static const char version[] = | |||
53 | #define WORDSWAP(a) ((((a)>>8)&0xff) | ((a)<<8)) | 53 | #define WORDSWAP(a) ((((a)>>8)&0xff) | ((a)<<8)) |
54 | 54 | ||
55 | 55 | ||
56 | static int __devinit hydra_init_one(struct zorro_dev *z, | 56 | static int hydra_init_one(struct zorro_dev *z, |
57 | const struct zorro_device_id *ent); | 57 | const struct zorro_device_id *ent); |
58 | static int __devinit hydra_init(struct zorro_dev *z); | 58 | static int hydra_init(struct zorro_dev *z); |
59 | static int hydra_open(struct net_device *dev); | 59 | static int hydra_open(struct net_device *dev); |
60 | static int hydra_close(struct net_device *dev); | 60 | static int hydra_close(struct net_device *dev); |
61 | static void hydra_reset_8390(struct net_device *dev); | 61 | static void hydra_reset_8390(struct net_device *dev); |
@@ -65,9 +65,9 @@ static void hydra_block_input(struct net_device *dev, int count, | |||
65 | struct sk_buff *skb, int ring_offset); | 65 | struct sk_buff *skb, int ring_offset); |
66 | static void hydra_block_output(struct net_device *dev, int count, | 66 | static void hydra_block_output(struct net_device *dev, int count, |
67 | const unsigned char *buf, int start_page); | 67 | const unsigned char *buf, int start_page); |
68 | static void __devexit hydra_remove_one(struct zorro_dev *z); | 68 | static void hydra_remove_one(struct zorro_dev *z); |
69 | 69 | ||
70 | static struct zorro_device_id hydra_zorro_tbl[] __devinitdata = { | 70 | static struct zorro_device_id hydra_zorro_tbl[] = { |
71 | { ZORRO_PROD_HYDRA_SYSTEMS_AMIGANET }, | 71 | { ZORRO_PROD_HYDRA_SYSTEMS_AMIGANET }, |
72 | { 0 } | 72 | { 0 } |
73 | }; | 73 | }; |
@@ -77,10 +77,10 @@ static struct zorro_driver hydra_driver = { | |||
77 | .name = "hydra", | 77 | .name = "hydra", |
78 | .id_table = hydra_zorro_tbl, | 78 | .id_table = hydra_zorro_tbl, |
79 | .probe = hydra_init_one, | 79 | .probe = hydra_init_one, |
80 | .remove = __devexit_p(hydra_remove_one), | 80 | .remove = hydra_remove_one, |
81 | }; | 81 | }; |
82 | 82 | ||
83 | static int __devinit hydra_init_one(struct zorro_dev *z, | 83 | static int hydra_init_one(struct zorro_dev *z, |
84 | const struct zorro_device_id *ent) | 84 | const struct zorro_device_id *ent) |
85 | { | 85 | { |
86 | int err; | 86 | int err; |
@@ -110,7 +110,7 @@ static const struct net_device_ops hydra_netdev_ops = { | |||
110 | #endif | 110 | #endif |
111 | }; | 111 | }; |
112 | 112 | ||
113 | static int __devinit hydra_init(struct zorro_dev *z) | 113 | static int hydra_init(struct zorro_dev *z) |
114 | { | 114 | { |
115 | struct net_device *dev; | 115 | struct net_device *dev; |
116 | unsigned long board = ZTWO_VADDR(z->resource.start); | 116 | unsigned long board = ZTWO_VADDR(z->resource.start); |
@@ -247,7 +247,7 @@ static void hydra_block_output(struct net_device *dev, int count, | |||
247 | z_memcpy_toio(mem_base+((start_page - NESM_START_PG)<<8), buf, count); | 247 | z_memcpy_toio(mem_base+((start_page - NESM_START_PG)<<8), buf, count); |
248 | } | 248 | } |
249 | 249 | ||
250 | static void __devexit hydra_remove_one(struct zorro_dev *z) | 250 | static void hydra_remove_one(struct zorro_dev *z) |
251 | { | 251 | { |
252 | struct net_device *dev = zorro_get_drvdata(z); | 252 | struct net_device *dev = zorro_get_drvdata(z); |
253 | 253 | ||
diff --git a/drivers/net/ethernet/8390/ne2k-pci.c b/drivers/net/ethernet/8390/ne2k-pci.c index 5e8845febfb8..c0c127913dec 100644 --- a/drivers/net/ethernet/8390/ne2k-pci.c +++ b/drivers/net/ethernet/8390/ne2k-pci.c | |||
@@ -61,7 +61,7 @@ static int options[MAX_UNITS]; | |||
61 | #include "8390.h" | 61 | #include "8390.h" |
62 | 62 | ||
63 | /* These identify the driver base version and may not be removed. */ | 63 | /* These identify the driver base version and may not be removed. */ |
64 | static const char version[] __devinitconst = | 64 | static const char version[] = |
65 | KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE | 65 | KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE |
66 | " D. Becker/P. Gortmaker\n"; | 66 | " D. Becker/P. Gortmaker\n"; |
67 | 67 | ||
@@ -119,7 +119,7 @@ enum ne2k_pci_chipsets { | |||
119 | static struct { | 119 | static struct { |
120 | char *name; | 120 | char *name; |
121 | int flags; | 121 | int flags; |
122 | } pci_clone_list[] __devinitdata = { | 122 | } pci_clone_list[] = { |
123 | {"RealTek RTL-8029", REALTEK_FDX}, | 123 | {"RealTek RTL-8029", REALTEK_FDX}, |
124 | {"Winbond 89C940", 0}, | 124 | {"Winbond 89C940", 0}, |
125 | {"Compex RL2000", 0}, | 125 | {"Compex RL2000", 0}, |
@@ -215,8 +215,8 @@ static const struct net_device_ops ne2k_netdev_ops = { | |||
215 | #endif | 215 | #endif |
216 | }; | 216 | }; |
217 | 217 | ||
218 | static int __devinit ne2k_pci_init_one (struct pci_dev *pdev, | 218 | static int ne2k_pci_init_one(struct pci_dev *pdev, |
219 | const struct pci_device_id *ent) | 219 | const struct pci_device_id *ent) |
220 | { | 220 | { |
221 | struct net_device *dev; | 221 | struct net_device *dev; |
222 | int i; | 222 | int i; |
@@ -647,7 +647,7 @@ static const struct ethtool_ops ne2k_pci_ethtool_ops = { | |||
647 | .get_drvinfo = ne2k_pci_get_drvinfo, | 647 | .get_drvinfo = ne2k_pci_get_drvinfo, |
648 | }; | 648 | }; |
649 | 649 | ||
650 | static void __devexit ne2k_pci_remove_one (struct pci_dev *pdev) | 650 | static void ne2k_pci_remove_one(struct pci_dev *pdev) |
651 | { | 651 | { |
652 | struct net_device *dev = pci_get_drvdata(pdev); | 652 | struct net_device *dev = pci_get_drvdata(pdev); |
653 | 653 | ||
@@ -696,7 +696,7 @@ static int ne2k_pci_resume (struct pci_dev *pdev) | |||
696 | static struct pci_driver ne2k_driver = { | 696 | static struct pci_driver ne2k_driver = { |
697 | .name = DRV_NAME, | 697 | .name = DRV_NAME, |
698 | .probe = ne2k_pci_init_one, | 698 | .probe = ne2k_pci_init_one, |
699 | .remove = __devexit_p(ne2k_pci_remove_one), | 699 | .remove = ne2k_pci_remove_one, |
700 | .id_table = ne2k_pci_tbl, | 700 | .id_table = ne2k_pci_tbl, |
701 | #ifdef CONFIG_PM | 701 | #ifdef CONFIG_PM |
702 | .suspend = ne2k_pci_suspend, | 702 | .suspend = ne2k_pci_suspend, |
diff --git a/drivers/net/ethernet/8390/ne3210.c b/drivers/net/ethernet/8390/ne3210.c index e3f57427d5c5..ebcdb52ec739 100644 --- a/drivers/net/ethernet/8390/ne3210.c +++ b/drivers/net/ethernet/8390/ne3210.c | |||
@@ -222,7 +222,7 @@ static int __init ne3210_eisa_probe (struct device *device) | |||
222 | return retval; | 222 | return retval; |
223 | } | 223 | } |
224 | 224 | ||
225 | static int __devexit ne3210_eisa_remove (struct device *device) | 225 | static int ne3210_eisa_remove(struct device *device) |
226 | { | 226 | { |
227 | struct net_device *dev = dev_get_drvdata(device); | 227 | struct net_device *dev = dev_get_drvdata(device); |
228 | unsigned long ioaddr = to_eisa_device (device)->base_addr; | 228 | unsigned long ioaddr = to_eisa_device (device)->base_addr; |
@@ -324,7 +324,7 @@ static struct eisa_driver ne3210_eisa_driver = { | |||
324 | .driver = { | 324 | .driver = { |
325 | .name = "ne3210", | 325 | .name = "ne3210", |
326 | .probe = ne3210_eisa_probe, | 326 | .probe = ne3210_eisa_probe, |
327 | .remove = __devexit_p (ne3210_eisa_remove), | 327 | .remove = ne3210_eisa_remove, |
328 | }, | 328 | }, |
329 | }; | 329 | }; |
330 | 330 | ||
diff --git a/drivers/net/ethernet/8390/zorro8390.c b/drivers/net/ethernet/8390/zorro8390.c index 7818e6397e91..ceb89d90230e 100644 --- a/drivers/net/ethernet/8390/zorro8390.c +++ b/drivers/net/ethernet/8390/zorro8390.c | |||
@@ -75,7 +75,7 @@ static struct card_info { | |||
75 | zorro_id id; | 75 | zorro_id id; |
76 | const char *name; | 76 | const char *name; |
77 | unsigned int offset; | 77 | unsigned int offset; |
78 | } cards[] __devinitdata = { | 78 | } cards[] = { |
79 | { ZORRO_PROD_VILLAGE_TRONIC_ARIADNE2, "Ariadne II", 0x0600 }, | 79 | { ZORRO_PROD_VILLAGE_TRONIC_ARIADNE2, "Ariadne II", 0x0600 }, |
80 | { ZORRO_PROD_INDIVIDUAL_COMPUTERS_X_SURF, "X-Surf", 0x8600 }, | 80 | { ZORRO_PROD_INDIVIDUAL_COMPUTERS_X_SURF, "X-Surf", 0x8600 }, |
81 | }; | 81 | }; |
@@ -254,7 +254,7 @@ static int zorro8390_close(struct net_device *dev) | |||
254 | return 0; | 254 | return 0; |
255 | } | 255 | } |
256 | 256 | ||
257 | static void __devexit zorro8390_remove_one(struct zorro_dev *z) | 257 | static void zorro8390_remove_one(struct zorro_dev *z) |
258 | { | 258 | { |
259 | struct net_device *dev = zorro_get_drvdata(z); | 259 | struct net_device *dev = zorro_get_drvdata(z); |
260 | 260 | ||
@@ -264,7 +264,7 @@ static void __devexit zorro8390_remove_one(struct zorro_dev *z) | |||
264 | free_netdev(dev); | 264 | free_netdev(dev); |
265 | } | 265 | } |
266 | 266 | ||
267 | static struct zorro_device_id zorro8390_zorro_tbl[] __devinitdata = { | 267 | static struct zorro_device_id zorro8390_zorro_tbl[] = { |
268 | { ZORRO_PROD_VILLAGE_TRONIC_ARIADNE2, }, | 268 | { ZORRO_PROD_VILLAGE_TRONIC_ARIADNE2, }, |
269 | { ZORRO_PROD_INDIVIDUAL_COMPUTERS_X_SURF, }, | 269 | { ZORRO_PROD_INDIVIDUAL_COMPUTERS_X_SURF, }, |
270 | { 0 } | 270 | { 0 } |
@@ -286,7 +286,7 @@ static const struct net_device_ops zorro8390_netdev_ops = { | |||
286 | #endif | 286 | #endif |
287 | }; | 287 | }; |
288 | 288 | ||
289 | static int __devinit zorro8390_init(struct net_device *dev, | 289 | static int zorro8390_init(struct net_device *dev, |
290 | unsigned long board, const char *name, | 290 | unsigned long board, const char *name, |
291 | unsigned long ioaddr) | 291 | unsigned long ioaddr) |
292 | { | 292 | { |
@@ -396,7 +396,7 @@ static int __devinit zorro8390_init(struct net_device *dev, | |||
396 | return 0; | 396 | return 0; |
397 | } | 397 | } |
398 | 398 | ||
399 | static int __devinit zorro8390_init_one(struct zorro_dev *z, | 399 | static int zorro8390_init_one(struct zorro_dev *z, |
400 | const struct zorro_device_id *ent) | 400 | const struct zorro_device_id *ent) |
401 | { | 401 | { |
402 | struct net_device *dev; | 402 | struct net_device *dev; |
@@ -432,7 +432,7 @@ static struct zorro_driver zorro8390_driver = { | |||
432 | .name = "zorro8390", | 432 | .name = "zorro8390", |
433 | .id_table = zorro8390_zorro_tbl, | 433 | .id_table = zorro8390_zorro_tbl, |
434 | .probe = zorro8390_init_one, | 434 | .probe = zorro8390_init_one, |
435 | .remove = __devexit_p(zorro8390_remove_one), | 435 | .remove = zorro8390_remove_one, |
436 | }; | 436 | }; |
437 | 437 | ||
438 | static int __init zorro8390_init_module(void) | 438 | static int __init zorro8390_init_module(void) |