diff options
Diffstat (limited to 'drivers/net/pcmcia')
-rw-r--r-- | drivers/net/pcmcia/3c574_cs.c | 2 | ||||
-rw-r--r-- | drivers/net/pcmcia/3c589_cs.c | 2 | ||||
-rw-r--r-- | drivers/net/pcmcia/axnet_cs.c | 10 | ||||
-rw-r--r-- | drivers/net/pcmcia/pcnet_cs.c | 16 | ||||
-rw-r--r-- | drivers/net/pcmcia/smc91c92_cs.c | 4 |
5 files changed, 17 insertions, 17 deletions
diff --git a/drivers/net/pcmcia/3c574_cs.c b/drivers/net/pcmcia/3c574_cs.c index 9b319be7f1d2..042f6777e6b9 100644 --- a/drivers/net/pcmcia/3c574_cs.c +++ b/drivers/net/pcmcia/3c574_cs.c | |||
@@ -707,7 +707,7 @@ static int el3_open(struct net_device *dev) | |||
707 | netif_start_queue(dev); | 707 | netif_start_queue(dev); |
708 | 708 | ||
709 | tc574_reset(dev); | 709 | tc574_reset(dev); |
710 | lp->media.function = &media_check; | 710 | lp->media.function = media_check; |
711 | lp->media.data = (unsigned long) dev; | 711 | lp->media.data = (unsigned long) dev; |
712 | lp->media.expires = jiffies + HZ; | 712 | lp->media.expires = jiffies + HZ; |
713 | add_timer(&lp->media); | 713 | add_timer(&lp->media); |
diff --git a/drivers/net/pcmcia/3c589_cs.c b/drivers/net/pcmcia/3c589_cs.c index 1c534f392474..7f2baf5eae26 100644 --- a/drivers/net/pcmcia/3c589_cs.c +++ b/drivers/net/pcmcia/3c589_cs.c | |||
@@ -538,7 +538,7 @@ static int el3_open(struct net_device *dev) | |||
538 | 538 | ||
539 | tc589_reset(dev); | 539 | tc589_reset(dev); |
540 | init_timer(&lp->media); | 540 | init_timer(&lp->media); |
541 | lp->media.function = &media_check; | 541 | lp->media.function = media_check; |
542 | lp->media.data = (unsigned long) dev; | 542 | lp->media.data = (unsigned long) dev; |
543 | lp->media.expires = jiffies + HZ; | 543 | lp->media.expires = jiffies + HZ; |
544 | add_timer(&lp->media); | 544 | add_timer(&lp->media); |
diff --git a/drivers/net/pcmcia/axnet_cs.c b/drivers/net/pcmcia/axnet_cs.c index e97f1519a15f..3f61fde70d73 100644 --- a/drivers/net/pcmcia/axnet_cs.c +++ b/drivers/net/pcmcia/axnet_cs.c | |||
@@ -356,10 +356,10 @@ static int axnet_config(struct pcmcia_device *link) | |||
356 | ei_status.tx_start_page = AXNET_START_PG; | 356 | ei_status.tx_start_page = AXNET_START_PG; |
357 | ei_status.rx_start_page = AXNET_START_PG + TX_PAGES; | 357 | ei_status.rx_start_page = AXNET_START_PG + TX_PAGES; |
358 | ei_status.stop_page = AXNET_STOP_PG; | 358 | ei_status.stop_page = AXNET_STOP_PG; |
359 | ei_status.reset_8390 = &axnet_reset_8390; | 359 | ei_status.reset_8390 = axnet_reset_8390; |
360 | ei_status.get_8390_hdr = &get_8390_hdr; | 360 | ei_status.get_8390_hdr = get_8390_hdr; |
361 | ei_status.block_input = &block_input; | 361 | ei_status.block_input = block_input; |
362 | ei_status.block_output = &block_output; | 362 | ei_status.block_output = block_output; |
363 | 363 | ||
364 | if (inb(dev->base_addr + AXNET_TEST) != 0) | 364 | if (inb(dev->base_addr + AXNET_TEST) != 0) |
365 | info->flags |= IS_AX88790; | 365 | info->flags |= IS_AX88790; |
@@ -530,7 +530,7 @@ static int axnet_open(struct net_device *dev) | |||
530 | 530 | ||
531 | info->link_status = 0x00; | 531 | info->link_status = 0x00; |
532 | init_timer(&info->watchdog); | 532 | init_timer(&info->watchdog); |
533 | info->watchdog.function = &ei_watchdog; | 533 | info->watchdog.function = ei_watchdog; |
534 | info->watchdog.data = (u_long)dev; | 534 | info->watchdog.data = (u_long)dev; |
535 | info->watchdog.expires = jiffies + HZ; | 535 | info->watchdog.expires = jiffies + HZ; |
536 | add_timer(&info->watchdog); | 536 | add_timer(&info->watchdog); |
diff --git a/drivers/net/pcmcia/pcnet_cs.c b/drivers/net/pcmcia/pcnet_cs.c index 1815b2644b96..5ad42e0aee25 100644 --- a/drivers/net/pcmcia/pcnet_cs.c +++ b/drivers/net/pcmcia/pcnet_cs.c | |||
@@ -624,7 +624,7 @@ static int pcnet_config(struct pcmcia_device *link) | |||
624 | 624 | ||
625 | ei_status.name = "NE2000"; | 625 | ei_status.name = "NE2000"; |
626 | ei_status.word16 = 1; | 626 | ei_status.word16 = 1; |
627 | ei_status.reset_8390 = &pcnet_reset_8390; | 627 | ei_status.reset_8390 = pcnet_reset_8390; |
628 | 628 | ||
629 | if (info->flags & (IS_DL10019|IS_DL10022)) | 629 | if (info->flags & (IS_DL10019|IS_DL10022)) |
630 | mii_phy_probe(dev); | 630 | mii_phy_probe(dev); |
@@ -957,7 +957,7 @@ static int pcnet_open(struct net_device *dev) | |||
957 | info->phy_id = info->eth_phy; | 957 | info->phy_id = info->eth_phy; |
958 | info->link_status = 0x00; | 958 | info->link_status = 0x00; |
959 | init_timer(&info->watchdog); | 959 | init_timer(&info->watchdog); |
960 | info->watchdog.function = &ei_watchdog; | 960 | info->watchdog.function = ei_watchdog; |
961 | info->watchdog.data = (u_long)dev; | 961 | info->watchdog.data = (u_long)dev; |
962 | info->watchdog.expires = jiffies + HZ; | 962 | info->watchdog.expires = jiffies + HZ; |
963 | add_timer(&info->watchdog); | 963 | add_timer(&info->watchdog); |
@@ -1341,9 +1341,9 @@ static int setup_dma_config(struct pcmcia_device *link, int start_pg, | |||
1341 | ei_status.stop_page = stop_pg; | 1341 | ei_status.stop_page = stop_pg; |
1342 | 1342 | ||
1343 | /* set up block i/o functions */ | 1343 | /* set up block i/o functions */ |
1344 | ei_status.get_8390_hdr = &dma_get_8390_hdr; | 1344 | ei_status.get_8390_hdr = dma_get_8390_hdr; |
1345 | ei_status.block_input = &dma_block_input; | 1345 | ei_status.block_input = dma_block_input; |
1346 | ei_status.block_output = &dma_block_output; | 1346 | ei_status.block_output = dma_block_output; |
1347 | 1347 | ||
1348 | return 0; | 1348 | return 0; |
1349 | } | 1349 | } |
@@ -1489,9 +1489,9 @@ static int setup_shmem_window(struct pcmcia_device *link, int start_pg, | |||
1489 | ei_status.stop_page = start_pg + ((req.Size - offset) >> 8); | 1489 | ei_status.stop_page = start_pg + ((req.Size - offset) >> 8); |
1490 | 1490 | ||
1491 | /* set up block i/o functions */ | 1491 | /* set up block i/o functions */ |
1492 | ei_status.get_8390_hdr = &shmem_get_8390_hdr; | 1492 | ei_status.get_8390_hdr = shmem_get_8390_hdr; |
1493 | ei_status.block_input = &shmem_block_input; | 1493 | ei_status.block_input = shmem_block_input; |
1494 | ei_status.block_output = &shmem_block_output; | 1494 | ei_status.block_output = shmem_block_output; |
1495 | 1495 | ||
1496 | info->flags |= USE_SHMEM; | 1496 | info->flags |= USE_SHMEM; |
1497 | return 0; | 1497 | return 0; |
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c index cc7a357feac9..3d1c549b7038 100644 --- a/drivers/net/pcmcia/smc91c92_cs.c +++ b/drivers/net/pcmcia/smc91c92_cs.c | |||
@@ -296,7 +296,7 @@ static const struct net_device_ops smc_netdev_ops = { | |||
296 | .ndo_tx_timeout = smc_tx_timeout, | 296 | .ndo_tx_timeout = smc_tx_timeout, |
297 | .ndo_set_config = s9k_config, | 297 | .ndo_set_config = s9k_config, |
298 | .ndo_set_multicast_list = set_rx_mode, | 298 | .ndo_set_multicast_list = set_rx_mode, |
299 | .ndo_do_ioctl = &smc_ioctl, | 299 | .ndo_do_ioctl = smc_ioctl, |
300 | .ndo_change_mtu = eth_change_mtu, | 300 | .ndo_change_mtu = eth_change_mtu, |
301 | .ndo_set_mac_address = eth_mac_addr, | 301 | .ndo_set_mac_address = eth_mac_addr, |
302 | .ndo_validate_addr = eth_validate_addr, | 302 | .ndo_validate_addr = eth_validate_addr, |
@@ -1117,7 +1117,7 @@ static int smc_open(struct net_device *dev) | |||
1117 | 1117 | ||
1118 | smc_reset(dev); | 1118 | smc_reset(dev); |
1119 | init_timer(&smc->media); | 1119 | init_timer(&smc->media); |
1120 | smc->media.function = &media_check; | 1120 | smc->media.function = media_check; |
1121 | smc->media.data = (u_long) dev; | 1121 | smc->media.data = (u_long) dev; |
1122 | smc->media.expires = jiffies + HZ; | 1122 | smc->media.expires = jiffies + HZ; |
1123 | add_timer(&smc->media); | 1123 | add_timer(&smc->media); |