X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/d8b1d6da22e5d9089625d55a8510c5a11d0c4438..933d1136b2acdfca0523fa32a0fc81d9157edc88:/target/linux/atheros/files/drivers/net/ar2313/ar2313.h?ds=inline diff --git a/target/linux/atheros/files/drivers/net/ar2313/ar2313.h b/target/linux/atheros/files/drivers/net/ar2313/ar2313.h index 00d35b20f..9fa49caa7 100644 --- a/target/linux/atheros/files/drivers/net/ar2313/ar2313.h +++ b/target/linux/atheros/files/drivers/net/ar2313/ar2313.h @@ -64,7 +64,7 @@ typedef struct { } ETHERNET_STRUCT; /******************************************************************** - * Interrupt controller + * Interrupt controller ********************************************************************/ typedef struct { @@ -118,7 +118,7 @@ struct ar2313_private { spinlock_t lock; /* Serialise access to device */ - /* + /* * RX and TX descriptors, must be adjacent */ ar2313_descr_t *rx_ring; @@ -128,24 +128,23 @@ struct ar2313_private { struct sk_buff **rx_skb; struct sk_buff **tx_skb; - /* + /* * RX elements */ u32 rx_skbprd; u32 cur_rx; - /* + /* * TX elements */ u32 tx_prd; u32 tx_csm; - /* + /* * Misc elements */ int board_idx; char name[48]; - struct net_device_stats stats; struct { u32 address; u32 length; @@ -164,6 +163,7 @@ struct ar2313_private { struct phy_device *phy_dev; struct mii_bus mii_bus; + int oldduplex; }; @@ -192,5 +192,4 @@ static void ar2313_init_cleanup(struct net_device *dev); static int ar2313_setup_timer(struct net_device *dev); static void ar2313_link_timer_fn(unsigned long data); static void ar2313_check_link(struct net_device *dev); -static struct net_device_stats *ar2313_get_stats(struct net_device *dev); #endif /* _AR2313_H_ */