int qcaspi_netdev_xmit ( | struct sk_buff * | skb, |
struct net_device * | device) ; |
Called by the Linux kernel append outgoing frames to the transmit queue.
void qcaspi_netdev_tx_timeout ( | struct net_device * | device) ; |
Called by the Linux kernel after the transmit queue has been stopped for an extended period of time.
static void qcaspi_netdev_uninit ( | struct net_device * | device) ; |
Called when function unregister_netdev
is called. For the QCA7000 driver, function qcaspi_mod_exit
calls function unregister_netdev
.
struct net_device_stats * qcaspi_netdev_get_stats ( | struct net_device * | device) ; |
Returns transmit, receive and error statistics associated with the net device. These are the statistics displayed by ifconfig.
int qcaspi_netdev_change_mtu ( | struct net_device * | device, |
int | new_mtu) ; |
Changes the serial interface MTU size.
static int qcaspi_netdev_set_mac_address ( | struct net_device * | device, |
void * | memory) ; |
Sets the serial interface MAC address. Called by ifconfig whenever user types ifconfig qca0 hw ether xx:xx:xx:xx:xx:xx.
int qcaspi_netdev_close ( | struct net_device * | device) ; |
Called by ifconfig to disable the network interface.