aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/8390
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:22:51 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:16:32 -0500
commit4168ac0eb323fa1f886830a19b7f263643bc0cbd (patch)
treeb1b2ffde31d9999c0b92a5e150ecad8011fe71f6 /drivers/net/ethernet/8390
parent2791cf7a73d4c0ab110bcf21b5c0575efbe934d0 (diff)
8390: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/8390')
-rw-r--r--drivers/net/ethernet/8390/etherh.c8
-rw-r--r--drivers/net/ethernet/8390/hydra.c16
-rw-r--r--drivers/net/ethernet/8390/ne2k-pci.c12
-rw-r--r--drivers/net/ethernet/8390/ne3210.c4
-rw-r--r--drivers/net/ethernet/8390/zorro8390.c12
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 */
524static int __devinit etherh_addr(char *addr, struct expansion_card *ec) 524static 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 = {
651static u32 etherh_regoffsets[16]; 651static u32 etherh_regoffsets[16];
652static u32 etherm_regoffsets[16]; 652static u32 etherm_regoffsets[16];
653 653
654static int __devinit 654static int
655etherh_probe(struct expansion_card *ec, const struct ecard_id *id) 655etherh_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
772static void __devexit etherh_remove(struct expansion_card *ec) 772static 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
834static struct ecard_driver etherh_driver = { 834static 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
56static int __devinit hydra_init_one(struct zorro_dev *z, 56static int hydra_init_one(struct zorro_dev *z,
57 const struct zorro_device_id *ent); 57 const struct zorro_device_id *ent);
58static int __devinit hydra_init(struct zorro_dev *z); 58static int hydra_init(struct zorro_dev *z);
59static int hydra_open(struct net_device *dev); 59static int hydra_open(struct net_device *dev);
60static int hydra_close(struct net_device *dev); 60static int hydra_close(struct net_device *dev);
61static void hydra_reset_8390(struct net_device *dev); 61static 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);
66static void hydra_block_output(struct net_device *dev, int count, 66static 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);
68static void __devexit hydra_remove_one(struct zorro_dev *z); 68static void hydra_remove_one(struct zorro_dev *z);
69 69
70static struct zorro_device_id hydra_zorro_tbl[] __devinitdata = { 70static 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
83static int __devinit hydra_init_one(struct zorro_dev *z, 83static 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
113static int __devinit hydra_init(struct zorro_dev *z) 113static 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
250static void __devexit hydra_remove_one(struct zorro_dev *z) 250static 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. */
64static const char version[] __devinitconst = 64static 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 {
119static struct { 119static 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
218static int __devinit ne2k_pci_init_one (struct pci_dev *pdev, 218static 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
650static void __devexit ne2k_pci_remove_one (struct pci_dev *pdev) 650static 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)
696static struct pci_driver ne2k_driver = { 696static 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
225static int __devexit ne3210_eisa_remove (struct device *device) 225static 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
257static void __devexit zorro8390_remove_one(struct zorro_dev *z) 257static 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
267static struct zorro_device_id zorro8390_zorro_tbl[] __devinitdata = { 267static 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
289static int __devinit zorro8390_init(struct net_device *dev, 289static 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
399static int __devinit zorro8390_init_one(struct zorro_dev *z, 399static 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
438static int __init zorro8390_init_module(void) 438static int __init zorro8390_init_module(void)