Home
last modified time | relevance | path

Searched refs:ndev (Results 1 – 25 of 42) sorted by relevance

12

/linux-2.4.37.9/drivers/net/wireless/prism54/
Dislpci_hotplug.c104 struct net_device *ndev; in prism54_probe() local
177 if (!(ndev = islpci_setup(pdev))) { in prism54_probe()
184 priv = netdev_priv(ndev); in prism54_probe()
192 SA_SHIRQ, ndev->name, priv); in prism54_probe()
197 ndev->name); in prism54_probe()
206 unregister_netdev(ndev); in prism54_probe()
209 free_netdev(ndev); in prism54_probe()
225 struct net_device *ndev = pci_get_drvdata(pdev); in prism54_remove() local
226 islpci_private *priv = ndev ? netdev_priv(ndev) : NULL; in prism54_remove()
230 printk(KERN_DEBUG "%s: hot unplug detected\n", ndev->name); in prism54_remove()
[all …]
Dislpci_dev.c147 priv->ndev->name, fw_entry->data + 40); in isl_upload_firmware()
189 struct net_device *ndev = priv->ndev; in islpci_interrupt() local
285 islpci_mgt_receive(ndev); in islpci_interrupt()
287 islpci_mgt_cleanup_transmit(ndev); in islpci_interrupt()
290 islpci_mgmt_rx_fill(ndev); in islpci_interrupt()
313 netif_wake_queue(priv->ndev); in islpci_interrupt()
377 islpci_open(struct net_device *ndev) in islpci_open() argument
380 islpci_private *priv = netdev_priv(ndev); in islpci_open()
389 netif_start_queue(ndev); in islpci_open()
396 islpci_close(struct net_device *ndev) in islpci_close() argument
[all …]
Disl_ioctl.c202 prism54_get_wireless_stats(struct net_device *ndev) in prism54_get_wireless_stats() argument
204 islpci_private *priv = netdev_priv(ndev); in prism54_get_wireless_stats()
228 prism54_commit(struct net_device *ndev, struct iw_request_info *info, in prism54_commit() argument
231 islpci_private *priv = netdev_priv(ndev); in prism54_commit()
244 prism54_get_name(struct net_device *ndev, struct iw_request_info *info, in prism54_get_name() argument
247 islpci_private *priv = netdev_priv(ndev); in prism54_get_name()
275 prism54_set_freq(struct net_device *ndev, struct iw_request_info *info, in prism54_set_freq() argument
278 islpci_private *priv = netdev_priv(ndev); in prism54_set_freq()
295 prism54_get_freq(struct net_device *ndev, struct iw_request_info *info, in prism54_get_freq() argument
298 islpci_private *priv = netdev_priv(ndev); in prism54_get_freq()
[all …]
Dislpci_mgt.c107 islpci_mgmt_rx_fill(struct net_device *ndev) in islpci_mgmt_rx_fill() argument
109 islpci_private *priv = netdev_priv(ndev); in islpci_mgmt_rx_fill()
166 islpci_mgt_transmit(struct net_device *ndev, int operation, unsigned long oid, in islpci_mgt_transmit() argument
169 islpci_private *priv = netdev_priv(ndev); in islpci_mgt_transmit()
187 ndev->name, frag_len); in islpci_mgt_transmit()
195 ndev->name); in islpci_mgt_transmit()
227 ndev->name); in islpci_mgt_transmit()
236 ndev->name); in islpci_mgt_transmit()
273 islpci_mgt_receive(struct net_device *ndev) in islpci_mgt_receive() argument
275 islpci_private *priv = netdev_priv(ndev); in islpci_mgt_receive()
[all …]
Dislpci_eth.c77 islpci_eth_transmit(struct sk_buff *skb, struct net_device *ndev) in islpci_eth_transmit() argument
79 islpci_private *priv = netdev_priv(ndev); in islpci_eth_transmit()
110 ndev->name); in islpci_eth_transmit()
111 netif_stop_queue(ndev); in islpci_eth_transmit()
161 ndev->name); in islpci_eth_transmit()
203 ndev->name); in islpci_eth_transmit()
229 netif_stop_queue(ndev); in islpci_eth_transmit()
242 ndev->trans_start = jiffies; in islpci_eth_transmit()
268 if (priv->ndev->type == ARPHRD_IEEE80211_PRISM) { in islpci_monitor_rx()
324 struct net_device *ndev = priv->ndev; in islpci_eth_receive() local
[all …]
Dislpci_mgt.h117 struct net_device *ndev; /* pointer to network device */ member
125 islpci_mgt_receive(struct net_device *ndev);
128 islpci_mgmt_rx_fill(struct net_device *ndev);
131 islpci_mgt_cleanup_transmit(struct net_device *ndev);
134 islpci_mgt_transaction(struct net_device *ndev,
Doid_mgt.c457 ret = islpci_mgt_transaction(priv->ndev, PIMFOR_OP_SET, oid, in mgt_set_request()
499 ret = islpci_mgt_transaction(priv->ndev, PIMFOR_OP_SET, oid, in mgt_set_varlen()
549 ret = islpci_mgt_transaction(priv->ndev, PIMFOR_OP_GET, in mgt_get_request()
607 int r = islpci_mgt_transaction(priv->ndev, PIMFOR_OP_SET, in mgt_commit_list()
617 priv->ndev->name, oid, r); in mgt_commit_list()
682 ret = islpci_mgt_transaction(priv->ndev, PIMFOR_OP_GET, in mgt_update_addr()
687 memcpy(priv->ndev->dev_addr, res->data, 6); in mgt_update_addr()
694 printk(KERN_ERR "%s: mgt_update_addr: failure\n", priv->ndev->name); in mgt_update_addr()
721 printk(KERN_DEBUG "%s: mgt_commit: failure\n", priv->ndev->name); in mgt_commit()
757 printk(KERN_DEBUG "%s: Unlatching OIDs failed\n", priv->ndev->name); in mgt_unlatch_all()
/linux-2.4.37.9/drivers/net/irda/
Dvlsi_ir.c427 static int vlsi_set_baud(struct net_device *ndev) in vlsi_set_baud() argument
429 vlsi_irda_dev_t *idev = ndev->priv; in vlsi_set_baud()
439 iobase = ndev->base_addr; in vlsi_set_baud()
526 static int vlsi_init_chip(struct net_device *ndev) in vlsi_init_chip() argument
528 vlsi_irda_dev_t *idev = ndev->priv; in vlsi_init_chip()
532 iobase = ndev->base_addr; in vlsi_init_chip()
566 vlsi_set_baud(ndev); in vlsi_init_chip()
597 static int vlsi_rx_interrupt(struct net_device *ndev) in vlsi_rx_interrupt() argument
599 vlsi_irda_dev_t *idev = ndev->priv; in vlsi_rx_interrupt()
632 skb->dev = ndev; in vlsi_rx_interrupt()
[all …]
/linux-2.4.37.9/drivers/net/
Dmacsonic.c485 int __init macsonic_ident(struct nubus_dev* ndev) in macsonic_ident() argument
487 if (ndev->dr_hw == NUBUS_DRHW_ASANTE_LC && in macsonic_ident()
488 ndev->dr_sw == NUBUS_DRSW_SONIC_LC) in macsonic_ident()
490 if (ndev->dr_hw == NUBUS_DRHW_SONIC && in macsonic_ident()
491 ndev->dr_sw == NUBUS_DRSW_APPLE) { in macsonic_ident()
493 if (strstr(ndev->board->name, "DuoDock")) in macsonic_ident()
504 struct nubus_dev* ndev = NULL; in mac_nubus_sonic_probe() local
513 while ((ndev = nubus_find_type(NUBUS_CAT_NETWORK, in mac_nubus_sonic_probe()
514 NUBUS_TYPE_ETHERNET, ndev)) != NULL) in mac_nubus_sonic_probe()
517 if (slots & (1<<ndev->board->slot)) in mac_nubus_sonic_probe()
[all …]
Dmac8390.c132 extern int mac8390_initdev(struct net_device * dev, struct nubus_dev * ndev,
234 struct nubus_dev * ndev = NULL; in mac8390_probe() local
251 while ((ndev = nubus_find_type(NUBUS_CAT_NETWORK, NUBUS_TYPE_ETHERNET, ndev))) { in mac8390_probe()
255 if ((cardtype = mac8390_ident(ndev)) == MAC8390_NONE) in mac8390_probe()
270 dev->irq = SLOT2IRQ(ndev->board->slot); in mac8390_probe()
272 dev->base_addr = ndev->board->slot_addr | ((ndev->board->slot&0xf) << 20); in mac8390_probe()
277 if (nubus_get_func_dir(ndev, &dir) == -1) { in mac8390_probe()
280 dev->name, ndev->board->slot); in mac8390_probe()
306 dev->name, ndev->board->slot); in mac8390_probe()
318 dev->name, ndev->board->slot); in mac8390_probe()
[all …]
/linux-2.4.37.9/drivers/net/ibm_emac/
Dibm_ocp_enet.c569 printk(KERN_WARNING "%s: receive descriptor error\n", fep->ndev->name); in emac_rxde_dev()
729 fep->ndev->name, speed, full_duplex, fep->opened)); in emac_adjust_to_link()
732 fep->ndev->name, in emac_adjust_to_link()
845 printk(KERN_ERR "%s: Cannot reset EMAC\n", fep->ndev->name); in emac_reset_configure()
856 out_be32(&emacp->em0iahr, (fep->ndev->dev_addr[0] << 8) | fep->ndev->dev_addr[1]); in emac_reset_configure()
860 (fep->ndev->dev_addr[2] << 24) | (fep->ndev->dev_addr[3] << 16) in emac_reset_configure()
861 | (fep->ndev->dev_addr[4] << 8) | fep->ndev->dev_addr[5]); in emac_reset_configure()
864 if (netif_carrier_ok(fep->ndev)) in emac_reset_configure()
874 __emac_set_multicast_list(fep->ndev); in emac_reset_configure()
885 emac_init_rings(fep->ndev); in emac_reset_configure()
[all …]
/linux-2.4.37.9/drivers/isdn/
Disdn_concap.c44 struct net_device *ndev = concap -> net_dev; in isdn_concap_dl_data_req() local
45 isdn_net_dev *nd = ((isdn_net_local *) ndev->priv)->netdev; in isdn_concap_dl_data_req()
63 struct net_device *ndev = concap -> net_dev; in isdn_concap_dl_connect_req() local
64 isdn_net_local *lp = (isdn_net_local *) ndev->priv; in isdn_concap_dl_connect_req()
66 IX25DEBUG( "isdn_concap_dl_connect_req: %s \n", ndev -> name); in isdn_concap_dl_connect_req()
Disdn_net.c1083 isdn_net_xmit(struct net_device *ndev, struct sk_buff *skb) in isdn_net_xmit() argument
1087 isdn_net_local *lp = (isdn_net_local *) ndev->priv; in isdn_net_xmit()
1090 if (((isdn_net_local *) (ndev->priv))->master) { in isdn_net_xmit()
1099 return isdn_ppp_xmit(skb, ndev); in isdn_net_xmit()
1102 nd = ((isdn_net_local *) ndev->priv)->netdev; in isdn_net_xmit()
1105 printk(KERN_WARNING "%s: all channels busy - requeuing!\n", ndev->name); in isdn_net_xmit()
1164 void isdn_net_tx_timeout(struct net_device * ndev) in isdn_net_tx_timeout() argument
1166 isdn_net_local *lp = (isdn_net_local *) ndev->priv; in isdn_net_tx_timeout()
1168 printk(KERN_WARNING "isdn_tx_timeout dev %s dialstate %d\n", ndev->name, lp->dialstate); in isdn_net_tx_timeout()
1188 ndev->trans_start = jiffies; in isdn_net_tx_timeout()
[all …]
Disdn_x25iface.c163 struct net_device *ndev, in isdn_x25iface_proto_restart() argument
169 IX25DEBUG( "isdn_x25iface_proto_restart %s \n", MY_DEVNAME(ndev) ); in isdn_x25iface_proto_restart()
183 cprot -> net_dev = ndev; in isdn_x25iface_proto_restart()
/linux-2.4.37.9/drivers/char/pcmcia/
Dserial_cs.c110 int ndev; member
260 info->line[info->ndev] = line; in setup_serial()
261 sprintf(info->node[info->ndev].dev_name, "ttyS%d", line); in setup_serial()
262 info->node[info->ndev].major = TTY_MAJOR; in setup_serial()
263 info->node[info->ndev].minor = 0x40+line; in setup_serial()
264 if (info->ndev > 0) in setup_serial()
265 info->node[info->ndev-1].next = &info->node[info->ndev]; in setup_serial()
266 info->ndev++; in setup_serial()
567 if (info->ndev == 0) in serial_config()
605 for (i = 0; i < info->ndev; i++) { in serial_release()
/linux-2.4.37.9/drivers/scsi/pcmcia/
Dfdomain_stub.c84 int ndev; member
261 info->ndev = 0; in fdomain_config()
269 node = &info->node[info->ndev]; in fdomain_config()
292 info->ndev++; in fdomain_config()
295 if (info->ndev == 0) in fdomain_config()
Daha152x_stub.c98 int ndev; member
292 info->ndev = 0; in aha152x_config_cs()
300 node = &info->node[info->ndev]; in aha152x_config_cs()
323 info->ndev++; in aha152x_config_cs()
327 if (info->ndev == 0) in aha152x_config_cs()
Dqlogic_stub.c93 int ndev; member
283 info->ndev = 0; in qlogic_config()
291 node = &info->node[info->ndev]; in qlogic_config()
314 info->ndev++; in qlogic_config()
317 if (info->ndev == 0) in qlogic_config()
/linux-2.4.37.9/net/wanrouter/
Dwanmain.c331 wandev->ndev = 0; in register_wan_device()
697 if (wandev->ndev){ in device_shutdown()
729 stat.ndev = wandev->ndev; in device_stat()
866 ++wandev->ndev; in device_new_if()
942 if (!wandev->ndev && wandev->shutdown){ in device_del_if()
1024 --wandev->ndev;
/linux-2.4.37.9/net/ipv6/
Daddrconf.c276 struct inet6_dev *ndev; in ipv6_add_dev() local
283 ndev = kmalloc(sizeof(struct inet6_dev), GFP_KERNEL); in ipv6_add_dev()
285 if (ndev) { in ipv6_add_dev()
286 memset(ndev, 0, sizeof(struct inet6_dev)); in ipv6_add_dev()
288 ndev->lock = RW_LOCK_UNLOCKED; in ipv6_add_dev()
289 ndev->dev = dev; in ipv6_add_dev()
290 memcpy(&ndev->cnf, &ipv6_devconf_dflt, sizeof(ndev->cnf)); in ipv6_add_dev()
291 ndev->cnf.mtu6 = dev->mtu; in ipv6_add_dev()
292 ndev->cnf.sysctl = NULL; in ipv6_add_dev()
293 ndev->nd_parms = neigh_parms_alloc(dev, &nd_tbl); in ipv6_add_dev()
[all …]
/linux-2.4.37.9/drivers/net/wireless/
Dorinoco.h64 struct net_device *ndev; member
144 priv->ndev); in orinoco_lock()
/linux-2.4.37.9/drivers/parport/
Dparport_cs.c90 int ndev; member
304 info->ndev = 1; in parport_config()
337 if (info->ndev) { in parport_cs_release()
346 info->ndev = 0; in parport_cs_release()
/linux-2.4.37.9/drivers/video/
Dmacfb.c885 struct nubus_dev* ndev = NULL; in macfb_init() local
998 while ((ndev = nubus_find_type(NUBUS_CAT_DISPLAY, NUBUS_TYPE_VIDEO, ndev)) in macfb_init()
1001 if (!(mac_bi_data.videoaddr >= ndev->board->slot_addr in macfb_init()
1003 (unsigned long)nubus_slot_addr(ndev->board->slot+1)))) in macfb_init()
1007 video_slot = ndev->board->slot; in macfb_init()
1009 switch(ndev->dr_hw) { in macfb_init()
/linux-2.4.37.9/drivers/ide/legacy/
Dide-cs.c92 int ndev; member
370 info->ndev = 1; in ide_config()
408 if (info->ndev) { in ide_release()
419 info->ndev = 0; in ide_release()
/linux-2.4.37.9/drivers/telephony/
Dixj_pcmcia.c33 int ndev; member
260 info->ndev = 1; in ixj_config()
276 info->ndev = 0; in ixj_cs_release()

12