diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-03-20 15:36:24 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-22 01:43:58 -0400 |
commit | 385e63fb1e469739e90b32f4c07fed48baf2721a (patch) | |
tree | 00e91183e7e4938ce062f298ca346928f57cdfe4 /drivers/net/wireless/wavelan_cs.p.h | |
parent | 1cc5920f0f6077e36e259e149548ef9a94335382 (diff) |
wavelan: convert to internal net_device_stats
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/wavelan_cs.p.h')
-rw-r--r-- | drivers/net/wireless/wavelan_cs.p.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/wavelan_cs.p.h b/drivers/net/wireless/wavelan_cs.p.h index 628192d7248f..706fd3007d21 100644 --- a/drivers/net/wireless/wavelan_cs.p.h +++ b/drivers/net/wireless/wavelan_cs.p.h | |||
@@ -576,7 +576,6 @@ struct wavepoint_table | |||
576 | /****************************** TYPES ******************************/ | 576 | /****************************** TYPES ******************************/ |
577 | 577 | ||
578 | /* Shortcuts */ | 578 | /* Shortcuts */ |
579 | typedef struct net_device_stats en_stats; | ||
580 | typedef struct iw_statistics iw_stats; | 579 | typedef struct iw_statistics iw_stats; |
581 | typedef struct iw_quality iw_qual; | 580 | typedef struct iw_quality iw_qual; |
582 | typedef struct iw_freq iw_freq; | 581 | typedef struct iw_freq iw_freq; |
@@ -592,8 +591,6 @@ typedef u_char mac_addr[WAVELAN_ADDR_SIZE]; /* Hardware address */ | |||
592 | * For each network interface, Linux keep data in two structure. "device" | 591 | * For each network interface, Linux keep data in two structure. "device" |
593 | * keep the generic data (same format for everybody) and "net_local" keep | 592 | * keep the generic data (same format for everybody) and "net_local" keep |
594 | * the additional specific data. | 593 | * the additional specific data. |
595 | * Note that some of this specific data is in fact generic (en_stats, for | ||
596 | * example). | ||
597 | */ | 594 | */ |
598 | struct net_local | 595 | struct net_local |
599 | { | 596 | { |
@@ -601,7 +598,6 @@ struct net_local | |||
601 | struct net_device * dev; /* Reverse link... */ | 598 | struct net_device * dev; /* Reverse link... */ |
602 | spinlock_t spinlock; /* Serialize access to the hardware (SMP) */ | 599 | spinlock_t spinlock; /* Serialize access to the hardware (SMP) */ |
603 | struct pcmcia_device * link; /* pcmcia structure */ | 600 | struct pcmcia_device * link; /* pcmcia structure */ |
604 | en_stats stats; /* Ethernet interface statistics */ | ||
605 | int nresets; /* Number of hw resets */ | 601 | int nresets; /* Number of hw resets */ |
606 | u_char configured; /* If it is configured */ | 602 | u_char configured; /* If it is configured */ |
607 | u_char reconfig_82593; /* Need to reconfigure the controller */ | 603 | u_char reconfig_82593; /* Need to reconfigure the controller */ |
@@ -694,8 +690,6 @@ static void | |||
694 | static void | 690 | static void |
695 | wv_init_info(struct net_device *); /* display startup info */ | 691 | wv_init_info(struct net_device *); /* display startup info */ |
696 | /* ------------------- IOCTL, STATS & RECONFIG ------------------- */ | 692 | /* ------------------- IOCTL, STATS & RECONFIG ------------------- */ |
697 | static en_stats * | ||
698 | wavelan_get_stats(struct net_device *); /* Give stats /proc/net/dev */ | ||
699 | static iw_stats * | 693 | static iw_stats * |
700 | wavelan_get_wireless_stats(struct net_device *); | 694 | wavelan_get_wireless_stats(struct net_device *); |
701 | /* ----------------------- PACKET RECEPTION ----------------------- */ | 695 | /* ----------------------- PACKET RECEPTION ----------------------- */ |