aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tulip
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tulip')
-rw-r--r--drivers/net/tulip/de2104x.c1
-rw-r--r--drivers/net/tulip/de4x5.c1
-rw-r--r--drivers/net/tulip/dmfe.c1
-rw-r--r--drivers/net/tulip/tulip_core.c1
-rw-r--r--drivers/net/tulip/uli526x.c1
-rw-r--r--drivers/net/tulip/winbond-840.c1
-rw-r--r--drivers/net/tulip/xircom_cb.c1
-rw-r--r--drivers/net/tulip/xircom_tulip_cb.c1
8 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/tulip/de2104x.c b/drivers/net/tulip/de2104x.c
index d380e0b3f05a..bd04e93908ef 100644
--- a/drivers/net/tulip/de2104x.c
+++ b/drivers/net/tulip/de2104x.c
@@ -1944,7 +1944,6 @@ static int __devinit de_init_one (struct pci_dev *pdev,
1944 if (!dev) 1944 if (!dev)
1945 return -ENOMEM; 1945 return -ENOMEM;
1946 1946
1947 SET_MODULE_OWNER(dev);
1948 SET_NETDEV_DEV(dev, &pdev->dev); 1947 SET_NETDEV_DEV(dev, &pdev->dev);
1949 dev->open = de_open; 1948 dev->open = de_open;
1950 dev->stop = de_close; 1949 dev->stop = de_close;
diff --git a/drivers/net/tulip/de4x5.c b/drivers/net/tulip/de4x5.c
index 09902891a6e6..ba7f47c2dcff 100644
--- a/drivers/net/tulip/de4x5.c
+++ b/drivers/net/tulip/de4x5.c
@@ -1261,7 +1261,6 @@ de4x5_hw_init(struct net_device *dev, u_long iobase, struct device *gendev)
1261 } 1261 }
1262 1262
1263 /* The DE4X5-specific entries in the device structure. */ 1263 /* The DE4X5-specific entries in the device structure. */
1264 SET_MODULE_OWNER(dev);
1265 SET_NETDEV_DEV(dev, gendev); 1264 SET_NETDEV_DEV(dev, gendev);
1266 dev->open = &de4x5_open; 1265 dev->open = &de4x5_open;
1267 dev->hard_start_xmit = &de4x5_queue_pkt; 1266 dev->hard_start_xmit = &de4x5_queue_pkt;
diff --git a/drivers/net/tulip/dmfe.c b/drivers/net/tulip/dmfe.c
index dab74feb44bc..e2596e9ab1d7 100644
--- a/drivers/net/tulip/dmfe.c
+++ b/drivers/net/tulip/dmfe.c
@@ -372,7 +372,6 @@ static int __devinit dmfe_init_one (struct pci_dev *pdev,
372 dev = alloc_etherdev(sizeof(*db)); 372 dev = alloc_etherdev(sizeof(*db));
373 if (dev == NULL) 373 if (dev == NULL)
374 return -ENOMEM; 374 return -ENOMEM;
375 SET_MODULE_OWNER(dev);
376 SET_NETDEV_DEV(dev, &pdev->dev); 375 SET_NETDEV_DEV(dev, &pdev->dev);
377 376
378 if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) { 377 if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) {
diff --git a/drivers/net/tulip/tulip_core.c b/drivers/net/tulip/tulip_core.c
index 7040a59fa3c9..66977aaa7176 100644
--- a/drivers/net/tulip/tulip_core.c
+++ b/drivers/net/tulip/tulip_core.c
@@ -1345,7 +1345,6 @@ static int __devinit tulip_init_one (struct pci_dev *pdev,
1345 return -ENOMEM; 1345 return -ENOMEM;
1346 } 1346 }
1347 1347
1348 SET_MODULE_OWNER(dev);
1349 SET_NETDEV_DEV(dev, &pdev->dev); 1348 SET_NETDEV_DEV(dev, &pdev->dev);
1350 if (pci_resource_len (pdev, 0) < tulip_tbl[chip_idx].io_size) { 1349 if (pci_resource_len (pdev, 0) < tulip_tbl[chip_idx].io_size) {
1351 printk (KERN_ERR PFX "%s: I/O region (0x%llx@0x%llx) too small, " 1350 printk (KERN_ERR PFX "%s: I/O region (0x%llx@0x%llx) too small, "
diff --git a/drivers/net/tulip/uli526x.c b/drivers/net/tulip/uli526x.c
index e26ce44561c4..2b7257d97c32 100644
--- a/drivers/net/tulip/uli526x.c
+++ b/drivers/net/tulip/uli526x.c
@@ -268,7 +268,6 @@ static int __devinit uli526x_init_one (struct pci_dev *pdev,
268 dev = alloc_etherdev(sizeof(*db)); 268 dev = alloc_etherdev(sizeof(*db));
269 if (dev == NULL) 269 if (dev == NULL)
270 return -ENOMEM; 270 return -ENOMEM;
271 SET_MODULE_OWNER(dev);
272 SET_NETDEV_DEV(dev, &pdev->dev); 271 SET_NETDEV_DEV(dev, &pdev->dev);
273 272
274 if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) { 273 if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) {
diff --git a/drivers/net/tulip/winbond-840.c b/drivers/net/tulip/winbond-840.c
index 5824f6a35495..396f8455cd32 100644
--- a/drivers/net/tulip/winbond-840.c
+++ b/drivers/net/tulip/winbond-840.c
@@ -370,7 +370,6 @@ static int __devinit w840_probe1 (struct pci_dev *pdev,
370 dev = alloc_etherdev(sizeof(*np)); 370 dev = alloc_etherdev(sizeof(*np));
371 if (!dev) 371 if (!dev)
372 return -ENOMEM; 372 return -ENOMEM;
373 SET_MODULE_OWNER(dev);
374 SET_NETDEV_DEV(dev, &pdev->dev); 373 SET_NETDEV_DEV(dev, &pdev->dev);
375 374
376 if (pci_request_regions(pdev, DRV_NAME)) 375 if (pci_request_regions(pdev, DRV_NAME))
diff --git a/drivers/net/tulip/xircom_cb.c b/drivers/net/tulip/xircom_cb.c
index 4b239dcbef74..de8c92083e92 100644
--- a/drivers/net/tulip/xircom_cb.c
+++ b/drivers/net/tulip/xircom_cb.c
@@ -252,7 +252,6 @@ static int __devinit xircom_probe(struct pci_dev *pdev, const struct pci_device_
252 goto tx_buf_fail; 252 goto tx_buf_fail;
253 } 253 }
254 254
255 SET_MODULE_OWNER(dev);
256 SET_NETDEV_DEV(dev, &pdev->dev); 255 SET_NETDEV_DEV(dev, &pdev->dev);
257 256
258 257
diff --git a/drivers/net/tulip/xircom_tulip_cb.c b/drivers/net/tulip/xircom_tulip_cb.c
index fc439f333350..c3f8e303c6c7 100644
--- a/drivers/net/tulip/xircom_tulip_cb.c
+++ b/drivers/net/tulip/xircom_tulip_cb.c
@@ -547,7 +547,6 @@ static int __devinit xircom_init_one(struct pci_dev *pdev, const struct pci_devi
547 printk (KERN_ERR DRV_NAME "%d: cannot alloc etherdev, aborting\n", board_idx); 547 printk (KERN_ERR DRV_NAME "%d: cannot alloc etherdev, aborting\n", board_idx);
548 return -ENOMEM; 548 return -ENOMEM;
549 } 549 }
550 SET_MODULE_OWNER(dev);
551 SET_NETDEV_DEV(dev, &pdev->dev); 550 SET_NETDEV_DEV(dev, &pdev->dev);
552 551
553 dev->base_addr = ioaddr; 552 dev->base_addr = ioaddr;