diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2011-05-17 20:06:43 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-01 15:10:58 -0400 |
commit | 24ca39d67968c42d377abc122f6dca635ebcdb79 (patch) | |
tree | eed68c18adb198c5030e35e24aef5b9c4e623748 /drivers/net/wireless/b43/bus.h | |
parent | 79d2232fed23e8e0d1b11abe2f9b78fb09084506 (diff) |
b43: bus: abstract bus and core operations
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/bus.h')
-rw-r--r-- | drivers/net/wireless/b43/bus.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/bus.h b/drivers/net/wireless/b43/bus.h index e88b4494beaa..fd88e2b121a0 100644 --- a/drivers/net/wireless/b43/bus.h +++ b/drivers/net/wireless/b43/bus.h | |||
@@ -11,6 +11,14 @@ struct b43_bus_dev { | |||
11 | struct ssb_device *sdev; | 11 | struct ssb_device *sdev; |
12 | }; | 12 | }; |
13 | 13 | ||
14 | int (*bus_may_powerdown)(struct b43_bus_dev *dev); | ||
15 | int (*bus_powerup)(struct b43_bus_dev *dev, bool dynamic_pctl); | ||
16 | int (*device_is_enabled)(struct b43_bus_dev *dev); | ||
17 | void (*device_enable)(struct b43_bus_dev *dev, | ||
18 | u32 core_specific_flags); | ||
19 | void (*device_disable)(struct b43_bus_dev *dev, | ||
20 | u32 core_specific_flags); | ||
21 | |||
14 | u16 (*read16)(struct b43_bus_dev *dev, u16 offset); | 22 | u16 (*read16)(struct b43_bus_dev *dev, u16 offset); |
15 | u32 (*read32)(struct b43_bus_dev *dev, u16 offset); | 23 | u32 (*read32)(struct b43_bus_dev *dev, u16 offset); |
16 | void (*write16)(struct b43_bus_dev *dev, u16 offset, u16 value); | 24 | void (*write16)(struct b43_bus_dev *dev, u16 offset, u16 value); |