diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-18 21:02:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-18 21:02:35 -0400 |
commit | 334d094504c2fe1c44211ecb49146ae6bca8c321 (patch) | |
tree | d3c0f68e4b9f8e3d2ccc39e7dfe5de0534a5fad9 /drivers/net/wireless/b43/main.h | |
parent | d1a4be630fb068f251d64b62919f143c49ca8057 (diff) | |
parent | d1643d24c61b725bef399cc1cf2944b4c9c23177 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.26
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.26: (1090 commits)
[NET]: Fix and allocate less memory for ->priv'less netdevices
[IPV6]: Fix dangling references on error in fib6_add().
[NETLABEL]: Fix NULL deref in netlbl_unlabel_staticlist_gen() if ifindex not found
[PKT_SCHED]: Fix datalen check in tcf_simp_init().
[INET]: Uninline the __inet_inherit_port call.
[INET]: Drop the inet_inherit_port() call.
SCTP: Initialize partial_bytes_acked to 0, when all of the data is acked.
[netdrvr] forcedeth: internal simplifications; changelog removal
phylib: factor out get_phy_id from within get_phy_device
PHY: add BCM5464 support to broadcom PHY driver
cxgb3: Fix __must_check warning with dev_dbg.
tc35815: Statistics cleanup
natsemi: fix MMIO for PPC 44x platforms
[TIPC]: Cleanup of TIPC reference table code
[TIPC]: Optimized initialization of TIPC reference table
[TIPC]: Remove inlining of reference table locking routines
e1000: convert uint16_t style integers to u16
ixgb: convert uint16_t style integers to u16
sb1000.c: make const arrays static
sb1000.c: stop inlining largish static functions
...
Diffstat (limited to 'drivers/net/wireless/b43/main.h')
-rw-r--r-- | drivers/net/wireless/b43/main.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/net/wireless/b43/main.h b/drivers/net/wireless/b43/main.h index 2d52d9de9305..5230aeca78bf 100644 --- a/drivers/net/wireless/b43/main.h +++ b/drivers/net/wireless/b43/main.h | |||
@@ -38,6 +38,10 @@ | |||
38 | /* Magic helper macro to pad structures. Ignore those above. It's magic. */ | 38 | /* Magic helper macro to pad structures. Ignore those above. It's magic. */ |
39 | #define PAD_BYTES(nr_bytes) P4D_BYTES( __LINE__ , (nr_bytes)) | 39 | #define PAD_BYTES(nr_bytes) P4D_BYTES( __LINE__ , (nr_bytes)) |
40 | 40 | ||
41 | |||
42 | extern int b43_modparam_qos; | ||
43 | |||
44 | |||
41 | /* Lightweight function to convert a frequency (in Mhz) to a channel number. */ | 45 | /* Lightweight function to convert a frequency (in Mhz) to a channel number. */ |
42 | static inline u8 b43_freq_to_channel_5ghz(int freq) | 46 | static inline u8 b43_freq_to_channel_5ghz(int freq) |
43 | { | 47 | { |
@@ -95,16 +99,13 @@ u16 b43_shm_read16(struct b43_wldev *dev, u16 routing, u16 offset); | |||
95 | void b43_shm_write32(struct b43_wldev *dev, u16 routing, u16 offset, u32 value); | 99 | void b43_shm_write32(struct b43_wldev *dev, u16 routing, u16 offset, u32 value); |
96 | void b43_shm_write16(struct b43_wldev *dev, u16 routing, u16 offset, u16 value); | 100 | void b43_shm_write16(struct b43_wldev *dev, u16 routing, u16 offset, u16 value); |
97 | 101 | ||
98 | u32 b43_hf_read(struct b43_wldev *dev); | 102 | u64 b43_hf_read(struct b43_wldev *dev); |
99 | void b43_hf_write(struct b43_wldev *dev, u32 value); | 103 | void b43_hf_write(struct b43_wldev *dev, u64 value); |
100 | 104 | ||
101 | void b43_dummy_transmission(struct b43_wldev *dev); | 105 | void b43_dummy_transmission(struct b43_wldev *dev); |
102 | 106 | ||
103 | void b43_wireless_core_reset(struct b43_wldev *dev, u32 flags); | 107 | void b43_wireless_core_reset(struct b43_wldev *dev, u32 flags); |
104 | 108 | ||
105 | void b43_mac_suspend(struct b43_wldev *dev); | ||
106 | void b43_mac_enable(struct b43_wldev *dev); | ||
107 | |||
108 | void b43_controller_restart(struct b43_wldev *dev, const char *reason); | 109 | void b43_controller_restart(struct b43_wldev *dev, const char *reason); |
109 | 110 | ||
110 | #define B43_PS_ENABLED (1 << 0) /* Force enable hardware power saving */ | 111 | #define B43_PS_ENABLED (1 << 0) /* Force enable hardware power saving */ |