Lines Matching refs:prom_net_dev

1387 		if (netif_running(priv->prom_net_dev)) {  in store_rtap_iface()
1423 return sprintf(buf, "%s", priv->prom_net_dev->name); in show_rtap_iface()
4000 if (priv->prom_net_dev && netif_running(priv->prom_net_dev)) { in ipw_system_config()
7902 struct net_device *dev = priv->prom_net_dev; in ipw_handle_promiscuous_rx()
8311 if (priv->prom_net_dev && netif_running(priv->prom_net_dev)) in ipw_rx()
10388 if (rtap_iface && netif_running(priv->prom_net_dev)) in ipw_net_hard_start_xmit()
10814 if (priv->prom_net_dev && netif_running(priv->prom_net_dev)) { in ipw_config()
11533 if (priv->prom_net_dev) in ipw_prom_alloc()
11536 priv->prom_net_dev = alloc_libipw(sizeof(struct ipw_prom_priv), 1); in ipw_prom_alloc()
11537 if (priv->prom_net_dev == NULL) in ipw_prom_alloc()
11540 priv->prom_priv = libipw_priv(priv->prom_net_dev); in ipw_prom_alloc()
11541 priv->prom_priv->ieee = netdev_priv(priv->prom_net_dev); in ipw_prom_alloc()
11544 strcpy(priv->prom_net_dev->name, "rtap%d"); in ipw_prom_alloc()
11545 memcpy(priv->prom_net_dev->dev_addr, priv->mac_addr, ETH_ALEN); in ipw_prom_alloc()
11547 priv->prom_net_dev->type = ARPHRD_IEEE80211_RADIOTAP; in ipw_prom_alloc()
11548 priv->prom_net_dev->netdev_ops = &ipw_prom_netdev_ops; in ipw_prom_alloc()
11550 priv->prom_net_dev->min_mtu = 68; in ipw_prom_alloc()
11551 priv->prom_net_dev->max_mtu = LIBIPW_DATA_LEN; in ipw_prom_alloc()
11554 SET_NETDEV_DEV(priv->prom_net_dev, &priv->pci_dev->dev); in ipw_prom_alloc()
11556 rc = register_netdev(priv->prom_net_dev); in ipw_prom_alloc()
11558 free_libipw(priv->prom_net_dev, 1); in ipw_prom_alloc()
11559 priv->prom_net_dev = NULL; in ipw_prom_alloc()
11568 if (!priv->prom_net_dev) in ipw_prom_free()
11571 unregister_netdev(priv->prom_net_dev); in ipw_prom_free()
11572 free_libipw(priv->prom_net_dev, 1); in ipw_prom_free()
11574 priv->prom_net_dev = NULL; in ipw_prom_free()