Lines Matching refs:prom_net_dev

1370 		if (netif_running(priv->prom_net_dev)) {  in rtap_iface_store()
1406 return sprintf(buf, "%s", priv->prom_net_dev->name); in rtap_iface_show()
3954 if (priv->prom_net_dev && netif_running(priv->prom_net_dev)) { in ipw_system_config()
7856 struct net_device *dev = priv->prom_net_dev; in ipw_handle_promiscuous_rx()
8265 if (priv->prom_net_dev && netif_running(priv->prom_net_dev)) in ipw_rx()
10342 if (rtap_iface && netif_running(priv->prom_net_dev)) in ipw_net_hard_start_xmit()
10768 if (priv->prom_net_dev && netif_running(priv->prom_net_dev)) { in ipw_config()
11492 if (priv->prom_net_dev) in ipw_prom_alloc()
11495 priv->prom_net_dev = alloc_libipw(sizeof(struct ipw_prom_priv), 1); in ipw_prom_alloc()
11496 if (priv->prom_net_dev == NULL) in ipw_prom_alloc()
11499 priv->prom_priv = libipw_priv(priv->prom_net_dev); in ipw_prom_alloc()
11500 priv->prom_priv->ieee = netdev_priv(priv->prom_net_dev); in ipw_prom_alloc()
11503 strcpy(priv->prom_net_dev->name, "rtap%d"); in ipw_prom_alloc()
11504 eth_hw_addr_set(priv->prom_net_dev, priv->mac_addr); in ipw_prom_alloc()
11506 priv->prom_net_dev->type = ARPHRD_IEEE80211_RADIOTAP; in ipw_prom_alloc()
11507 priv->prom_net_dev->netdev_ops = &ipw_prom_netdev_ops; in ipw_prom_alloc()
11509 priv->prom_net_dev->min_mtu = 68; in ipw_prom_alloc()
11510 priv->prom_net_dev->max_mtu = LIBIPW_DATA_LEN; in ipw_prom_alloc()
11513 SET_NETDEV_DEV(priv->prom_net_dev, &priv->pci_dev->dev); in ipw_prom_alloc()
11515 rc = register_netdev(priv->prom_net_dev); in ipw_prom_alloc()
11517 free_libipw(priv->prom_net_dev, 1); in ipw_prom_alloc()
11518 priv->prom_net_dev = NULL; in ipw_prom_alloc()
11527 if (!priv->prom_net_dev) in ipw_prom_free()
11530 unregister_netdev(priv->prom_net_dev); in ipw_prom_free()
11531 free_libipw(priv->prom_net_dev, 1); in ipw_prom_free()
11533 priv->prom_net_dev = NULL; in ipw_prom_free()