K. Y. Srinivasan
ef0d5b2302
Staging: hv: vmbus: Fix the memory barrier in hv_ringbuffer_read()
...
Use the correct barrier interface.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:55 -07:00
K. Y. Srinivasan
ac4accb2bd
Staging: hv: vmbus: Get rid of the poll timer in the channel state
...
Since tis is not used anymore, get rid of the poll timer in the channel state.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:54 -07:00
K. Y. Srinivasan
0a62040eac
Staging: hv: vmbus: Get rid of unneeded calls to dump_vmbus_channel
...
Get rid of unneeded calls to dump_vmbus_channel and get rid of the unused
static function that dumps the channel.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:54 -07:00
K. Y. Srinivasan
d66434782c
Staging: hv: vmbus: Get rid of the unused wrapper - vmbus_onchannel_event()
...
Now, get rid of the unused wrapper - vmbus_onchannel_event().
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:53 -07:00
K. Y. Srinivasan
df452fa120
Staging: hv: vmbus: Directly invoke the channel callback
...
Now, directly invoke the channel callback.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:53 -07:00
K. Y. Srinivasan
7259d82321
Staging: hv: vmbus: Get rid of the call to dump channel state in channel event handler
...
Get rid of the call to dump channel state in channel event handler.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:52 -07:00
K. Y. Srinivasan
6a8ddc71b7
Staging: hv: vmbus: Get rid of the timer based handling of channel events
...
Get rid of the timer based handling of channel events.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:52 -07:00
K. Y. Srinivasan
30c1edc639
Staging: hv: blkvsc: We don't support removable media; get rid of unnecessary state
...
We don't support removable media; get rid of unnecessary state.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:51 -07:00
K. Y. Srinivasan
3a4505897c
Staging: hv: blkvsc: Fix bugs in the module unload path
...
Fix bugs in the module unload path for the blkvsc driver.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:51 -07:00
K. Y. Srinivasan
9d7b18d184
Staging: hv: vmbus: Add the DSDT _HID name as well
...
Add the DSDT _HID name as well, in addition to the _DDN name.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:50 -07:00
K. Y. Srinivasan
2da9e1d6d4
Staging: hv: vmbus: Get rid of vmbus_acpi_exit() by inlining the code
...
Get rid of vmbus_acpi_exit() by inlining the code.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:50 -07:00
K. Y. Srinivasan
0246604ce0
Staging: hv: vmbus: Get rid of vmbus_acpi_init() by inlining the code
...
Staging: hv: vmbus: Get rid of vmbus_acpi_init() by inlining the code.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:49 -07:00
K. Y. Srinivasan
607c1a11d0
Staging: hv: vmbus: Make vmbus an acpi bus driver
...
Now, make the vmbus driver an ACPI bus driver.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:49 -07:00
K. Y. Srinivasan
3d2de26762
Staging: hv: vmbus: Use the DSDT specified irq for vmbus
...
DSDT specifies the irq value for the vmbus driver; use it unconditionally.
This is an exclusive interrupt line dedicated for the vmbus driver.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:48 -07:00
K. Y. Srinivasan
9aaa995e6a
Staging: hv: vmbus: Change the signature of vmbus_bus_init()
...
In preparation for making the vmbus driver an ACPI bus driver, change the
signature of vmbus_bus_init() to accept the irq value.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:48 -07:00
K. Y. Srinivasan
3e1edf6a6c
Staging: hv: storvsc: Add a DMI signature to support auto-loading
...
To support auto-loading the storvsc driver, add a DMI signature.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:48 -07:00
K. Y. Srinivasan
604a1eb0eb
Staging: hv: vmbus: Don't free the channel when the channel is closed
...
When the driver unloads, the device must persist. A channel represents the
device and so we should not free the channel when the channel is closed as
part of the driver unloading.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:47 -07:00
K. Y. Srinivasan
2aa05dcbfb
Staging: hv: mouse: Get rid of the unused initialization of the name field
...
The name field of hv_driver is unused in hv_mouse.c; get rid of it.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:47 -07:00
K. Y. Srinivasan
efb83a7f46
Staging: hv: blk: Get rid of the unused initialization of the name field
...
The name field of hv_driver is unused in blkvsc_drv.c; get rid of it.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:47 -07:00
K. Y. Srinivasan
a838f9dcb9
Staging: hv: stor: Get rid of the unused initialization of the name field
...
The name field of hv_driver is unused in storvsc_drv.c; get rid of it.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:46 -07:00
K. Y. Srinivasan
990f05e6cb
Staging: hv: stor: Rename the vriable gStorVscDeviceType in storvsc_drv.c
...
Rename the vriable gStorVscDeviceType in storvsc_drv.c.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:46 -07:00
K. Y. Srinivasan
940861210f
Staging: hv: stor: Get rid of unnecessary DPRINTs in stor vsc_drv.c
...
Get rid of unnecessary DPRINTs in stor vsc_drv.c.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:46 -07:00
K. Y. Srinivasan
d36b0a0342
Staging: hv: storvsc: Cleanup some dated/unnecessary comments
...
Cleanup some dated/unnecessary comments.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:45 -07:00
K. Y. Srinivasan
2935a407e2
Staging: hv: storvsc: Fix a bug in the storvsc_remove() function
...
When the storvs driver unloads, we need to accomodate disk cache flushes.
Re-order the code to permit this.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:45 -07:00
K. Y. Srinivasan
d9bbae8316
Staging: hv: storvsc: Cleanup the module init function in storvsc_drv.c
...
Get rid of unnecessary layering in the module init path.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:44 -07:00
K. Y. Srinivasan
c63ba9e1e3
Staging: hv: storvsc: Cleanup the exit function in storvsc_drv.c
...
Get rid of unnecessary layering in the module exit path.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:44 -07:00
K. Y. Srinivasan
a1997c205e
Staging: hv: vmbus: In vmbus_child_driver_unregister() don't set the bus field to NULL
...
As part of conforming to the Linux Driver Model, do not set the bus field to
NULL when the driver un-registers.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:45:44 -07:00
Haiyang Zhang
122a5f6410
staging: hv: use delayed_work for netvsc_send_garp()
...
Instead of sleeping in a scheduled work, we now use delayed_work
for netvsc_send_garp().
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Cc: Stephen Hemminger <shemminger@vyatta.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:39:28 -07:00
Haiyang Zhang
729a28495d
staging: hv: convert DPRINT_DBG() to netdev_dbg() in dump_rndis_message()
...
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Cc: Stephen Hemminger <shemminger@vyatta.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:39:28 -07:00
Haiyang Zhang
a5923f5689
staging: hv: remove netvsc send buffer and related functions
...
netvsc send buffer is not used, so remove it.
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:39:23 -07:00
Haiyang Zhang
e931a2b889
staging: hv: removed commented out code from rndis_filter_receive()
...
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:36:02 -07:00
Haiyang Zhang
bdbad576d5
staging: hv: fix typo in name rndis_filte_device_add()
...
rename rndis_filte_device_add to rndis_filter_device_add
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:36:01 -07:00
Haiyang Zhang
8d895aea8a
staging: hv: remove commented out code in netvsc_remove()
...
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:36:00 -07:00
Haiyang Zhang
df06bcff81
staging: hv: change rndis_filter_device_remove() to void return type
...
rndis_filter_device_remove() always return 0, so change it to void return
type. Also cleaned up the error checking in the caller.
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:36:00 -07:00
Haiyang Zhang
ca06a22a41
staging: hv: remove commented out code from netvsc_drv.c
...
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:35:59 -07:00
Haiyang Zhang
b1956a81af
staging: hv: remove unnecessary code in netvsc_probe().
...
netif_carrier_off() was called earlier in this function, and there is
no other thread access this device yet. The status checking code is not
necessary here.
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 13:35:59 -07:00
Roland Vossen
6741d8ec3c
staging: brcm80211: updated TODO with current state of affairs
...
Signed-off-by: Roland Vossen <rvossen@broadcom.com >
Reviewed-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 12:49:33 -07:00
Roland Vossen
225fa52c23
staging: brcm80211: renamed file
...
Signed-off-by: Roland Vossen <rvossen@broadcom.com >
Reviewed-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 12:49:33 -07:00
Roland Vossen
a9cfc9b0b5
staging: brcm80211: removed keys.h
...
Code cleanup. Moved used definitions into main.h
Signed-off-by: Roland Vossen <rvossen@broadcom.com >
Reviewed-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 12:49:33 -07:00
Roland Vossen
b745b6bb46
staging: brcm80211: deleted brcmsmac/cfg.h and brcmsmac/bsscfg.h
...
Code cleanup. Moved used sections to other source files.
Signed-off-by: Roland Vossen <rvossen@broadcom.com >
Reviewed-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 12:49:32 -07:00
Roland Vossen
383aab51dd
staging: brcm80211: moved /include/srom.h into /brcmsmac dir
...
Code cleanup.
Signed-off-by: Roland Vossen <rvossen@broadcom.com >
Reviewed-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 12:49:31 -07:00
Roland Vossen
32b4506576
staging: brcm80211: removed unused definitions from include/soc.h
...
Code cleanup.
Signed-off-by: Roland Vossen <rvossen@broadcom.com >
Reviewed-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 12:49:31 -07:00
Roland Vossen
c55a122346
staging: brcm80211: moved /include/sdio_host.h to /brcmfmac dir
...
Code cleanup.
Signed-off-by: Roland Vossen <rvossen@broadcom.com >
Reviewed-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 12:49:31 -07:00
Roland Vossen
c54f52f60a
staging: brcm80211: cleaned include/brcm_hw_ids.h
...
Code cleanup.
Signed-off-by: Roland Vossen <rvossen@broadcom.com >
Reviewed-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 12:49:30 -07:00
Roland Vossen
8955cafb45
staging: brcm80211: deleted header file include/aidmp.h
...
Code cleanup. Merged used contents into brcmsmac/aiutils.c.
Signed-off-by: Roland Vossen <rvossen@broadcom.com >
Reviewed-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 12:49:30 -07:00
Roland Vossen
cc3cea5ae0
staging: brcm80211: renamed files in brcmsmac and include directories
...
Code cleanup.
Signed-off-by: Roland Vossen <rvossen@broadcom.com >
Reviewed-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 12:49:30 -07:00
Roland Vossen
f855796549
staging: brcm80211: prepared header files for file rename
...
Code cleanup. Removing 'bcm' and 'wlc_' file name prefixes.
Signed-off-by: Roland Vossen <rvossen@broadcom.com >
Reviewed-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 12:43:31 -07:00
Roland Vossen
25036341c3
staging: brcm80211: cleanup after R_REG/W_REG patches
...
Code cleanup. Removed unused sections. Added () to make macro safe.
Signed-off-by: Roland Vossen <rvossen@broadcom.com >
Reviewed-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 12:43:30 -07:00
Roland Vossen
b61a4be59b
staging: brcm80211: further simplified register access macro's
...
The SELECT_BUS_READ and SELECT_BUS_WRITE macro's always select
a (sdio) bus operation for fullmac, and a memory operation for
softmac. Thus they can be removed by expanding them in place.
Signed-off-by: Roland Vossen <rvossen@broadcom.com >
Reviewed-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 12:43:29 -07:00
Roland Vossen
4489518533
staging: brcm80211: moved register read/write macro's
...
Code cleanup. R_REG()/W_REG() macro's are overly complex. Copied
the macro's to both fullmac and softmac. Next patches will simplify
both copies of the macro's.
Signed-off-by: Roland Vossen <rvossen@broadcom.com >
Reviewed-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-07 12:43:28 -07:00