From 80b17599832223f6928c54d1e4361ebaff42459c Mon Sep 17 00:00:00 2001 From: Luis R. Rodriguez Date: Fri, 11 Feb 2011 01:15:43 -0800 Subject: [PATCH 0/5] ath6kl: few cleanups, first series from Luis Greg, here are a few cleanups. Joe Perches had a lot of changes but I ran into issues rebasing them myself so I just decided to do my own cleanup based on his descriptions. It was easier than a rebase or applying the patches myself manually. I'll start off with these 5 patches. Greg, consider merging if you get a Tested-by from Vipin as I do not have the hardware. Vipin, please test and as soon as you do let us know if it worked :) Luis R. Rodriguez (5): ath6kl: address coding style with indent -linux -l 80 -lc ath6kl: remove-typedef -s A_UCHAR u8 drivers/staging/ath6kl/ ath6kl: s/A_MEMCPY/memcpy/g ath6kl: s/A_MEMCMP/memcmp/g ath6kl: Convert A_MALLOC to kmalloc/kzalloc drivers/staging/ath6kl/bmi/include/bmi_internal.h | 12 +- drivers/staging/ath6kl/bmi/src/bmi.c | 1792 ++-- .../staging/ath6kl/hif/common/hif_sdio_common.h | 61 +- .../hif/sdio/linux_sdio/include/hif_internal.h | 103 +- .../staging/ath6kl/hif/sdio/linux_sdio/src/hif.c | 2165 +++-- .../ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c | 680 +- drivers/staging/ath6kl/htc2/AR6000/ar6k.c | 2474 +++--- drivers/staging/ath6kl/htc2/AR6000/ar6k.h | 423 +- drivers/staging/ath6kl/htc2/AR6000/ar6k_events.c | 1356 ++-- drivers/staging/ath6kl/htc2/AR6000/ar6k_gmbox.c | 1337 ++-- .../ath6kl/htc2/AR6000/ar6k_gmbox_hciuart.c | 2379 +++-- drivers/staging/ath6kl/htc2/htc.c | 930 +- drivers/staging/ath6kl/htc2/htc_debug.h | 3 +- drivers/staging/ath6kl/htc2/htc_internal.h | 165 +- drivers/staging/ath6kl/htc2/htc_recv.c | 2941 +++--- drivers/staging/ath6kl/htc2/htc_send.c | 1892 ++-- drivers/staging/ath6kl/htc2/htc_services.c | 821 +- drivers/staging/ath6kl/include/a_debug.h | 78 +- drivers/staging/ath6kl/include/a_drv.h | 2 +- drivers/staging/ath6kl/include/a_drv_api.h | 3 +- drivers/staging/ath6kl/include/a_osapi.h | 6 +- drivers/staging/ath6kl/include/a_types.h | 2 +- drivers/staging/ath6kl/include/aggr_recv_api.h | 49 +- drivers/staging/ath6kl/include/ar3kconfig.h | 42 +- drivers/staging/ath6kl/include/ar6000_api.h | 3 +- drivers/staging/ath6kl/include/ar6000_diag.h | 23 +- drivers/staging/ath6kl/include/ar6kap_common.h | 14 +- drivers/staging/ath6kl/include/athbtfilter.h | 73 +- drivers/staging/ath6kl/include/athendpack.h | 15 +- drivers/staging/ath6kl/include/athstartpack.h | 14 +- drivers/staging/ath6kl/include/bmi.h | 161 +- .../ath6kl/include/common/AR6002/AR6002_regdump.h | 44 +- .../ath6kl/include/common/AR6002/AR6K_version.h | 4 +- .../staging/ath6kl/include/common/AR6002/addrs.h | 6 +- .../common/AR6002/hw2.0/hw/analog_intf_reg.h | 15 +- .../include/common/AR6002/hw2.0/hw/analog_reg.h | 55 +- .../include/common/AR6002/hw2.0/hw/apb_map.h | 2 +- .../include/common/AR6002/hw2.0/hw/gpio_reg.h | 125 +- .../include/common/AR6002/hw2.0/hw/mbox_host_reg.h | 79 +- .../include/common/AR6002/hw2.0/hw/mbox_reg.h | 75 +- .../include/common/AR6002/hw2.0/hw/rtc_reg.h | 165 +- .../ath6kl/include/common/AR6002/hw2.0/hw/si_reg.h | 17 +- .../include/common/AR6002/hw2.0/hw/uart_reg.h | 37 +- .../include/common/AR6002/hw2.0/hw/vmc_reg.h | 17 +- .../common/AR6002/hw4.0/hw/analog_intf_ares_reg.h | 153 +- .../AR6002/hw4.0/hw/analog_intf_athr_wlan_reg.h | 161 +- .../common/AR6002/hw4.0/hw/analog_intf_reg.h | 7 - .../common/AR6002/hw4.0/hw/apb_athr_wlan_map.h | 3 +- .../include/common/AR6002/hw4.0/hw/apb_map.h | 6 - .../include/common/AR6002/hw4.0/hw/bb_lc_reg.h | 681 +- .../include/common/AR6002/hw4.0/hw/efuse_reg.h | 24 +- .../common/AR6002/hw4.0/hw/gpio_athr_wlan_reg.h | 100 +- .../include/common/AR6002/hw4.0/hw/gpio_reg.h | 6 - .../include/common/AR6002/hw4.0/hw/mac_dma_reg.h | 794 +- .../include/common/AR6002/hw4.0/hw/mac_pcu_reg.h | 302 +- .../include/common/AR6002/hw4.0/hw/mbox_host_reg.h | 7 - .../include/common/AR6002/hw4.0/hw/mbox_reg.h | 6 - .../common/AR6002/hw4.0/hw/mbox_wlan_host_reg.h | 94 +- .../include/common/AR6002/hw4.0/hw/mbox_wlan_reg.h | 88 +- .../include/common/AR6002/hw4.0/hw/rdma_reg.h | 58 +- .../include/common/AR6002/hw4.0/hw/rtc_reg.h | 6 - .../include/common/AR6002/hw4.0/hw/rtc_wlan_reg.h | 278 +- .../ath6kl/include/common/AR6002/hw4.0/hw/si_reg.h | 18 +- .../include/common/AR6002/hw4.0/hw/uart_reg.h | 16 +- .../include/common/AR6002/hw4.0/hw/umbox_reg.h | 7 - .../common/AR6002/hw4.0/hw/umbox_wlan_reg.h | 32 +- .../include/common/AR6002/hw4.0/hw/vmc_reg.h | 6 - .../include/common/AR6002/hw4.0/hw/vmc_wlan_reg.h | 36 +- drivers/staging/ath6kl/include/common/a_hci.h | 618 +- drivers/staging/ath6kl/include/common/athdefs.h | 2 +- drivers/staging/ath6kl/include/common/bmi_msg.h | 275 +- drivers/staging/ath6kl/include/common/btcoexGpio.h | 9 - drivers/staging/ath6kl/include/common/cnxmgmt.h | 14 +- drivers/staging/ath6kl/include/common/dbglog.h | 78 +- drivers/staging/ath6kl/include/common/dbglog_id.h | 50 +- drivers/staging/ath6kl/include/common/discovery.h | 59 +- .../staging/ath6kl/include/common/dset_internal.h | 31 +- drivers/staging/ath6kl/include/common/dsetid.h | 31 +- .../staging/ath6kl/include/common/epping_test.h | 97 +- drivers/staging/ath6kl/include/common/gmboxif.h | 25 +- drivers/staging/ath6kl/include/common/htc.h | 172 +- .../staging/ath6kl/include/common/htc_services.h | 14 +- drivers/staging/ath6kl/include/common/ini_dset.h | 70 +- drivers/staging/ath6kl/include/common/pkt_log.h | 20 +- drivers/staging/ath6kl/include/common/regDb.h | 2 +- drivers/staging/ath6kl/include/common/regdump.h | 16 +- .../include/common/regulatory/reg_dbschema.h | 133 +- .../include/common/regulatory/reg_dbvalues.h | 735 +- drivers/staging/ath6kl/include/common/roaming.h | 8 +- drivers/staging/ath6kl/include/common/targaddrs.h | 246 +- drivers/staging/ath6kl/include/common/testcmd.h | 195 +- drivers/staging/ath6kl/include/common/wlan_defs.h | 36 +- drivers/staging/ath6kl/include/common/wlan_dset.h | 6 +- drivers/staging/ath6kl/include/common/wmi.h | 4143 ++++---- drivers/staging/ath6kl/include/common/wmi_thin.h | 453 +- drivers/staging/ath6kl/include/common/wmix.h | 224 +- drivers/staging/ath6kl/include/common_drv.h | 70 +- drivers/staging/ath6kl/include/dbglog_api.h | 3 +- drivers/staging/ath6kl/include/dl_list.h | 119 +- drivers/staging/ath6kl/include/dset_api.h | 36 +- drivers/staging/ath6kl/include/gpio_api.h | 12 +- drivers/staging/ath6kl/include/hci_transport_api.h | 104 +- drivers/staging/ath6kl/include/hif.h | 360 +- drivers/staging/ath6kl/include/host_version.h | 5 +- drivers/staging/ath6kl/include/htc_api.h | 380 +- drivers/staging/ath6kl/include/htc_packet.h | 171 +- drivers/staging/ath6kl/include/target_reg_table.h | 262 +- drivers/staging/ath6kl/include/wlan_api.h | 154 +- drivers/staging/ath6kl/include/wmi_api.h | 654 +- drivers/staging/ath6kl/miscdrv/ar3kconfig.c | 1016 +- .../staging/ath6kl/miscdrv/ar3kps/ar3kpsconfig.c | 880 +- .../staging/ath6kl/miscdrv/ar3kps/ar3kpsconfig.h | 17 +- .../staging/ath6kl/miscdrv/ar3kps/ar3kpsparser.c | 1764 ++-- .../staging/ath6kl/miscdrv/ar3kps/ar3kpsparser.h | 48 +- drivers/staging/ath6kl/miscdrv/common_drv.c | 1509 ++-- drivers/staging/ath6kl/miscdrv/credit_dist.c | 641 +- drivers/staging/ath6kl/miscdrv/miscdrv.h | 11 +- drivers/staging/ath6kl/os/linux/ar6000_android.c | 569 +- drivers/staging/ath6kl/os/linux/ar6000_drv.c |10897 ++++++++++---------- drivers/staging/ath6kl/os/linux/ar6000_pm.c | 1214 ++- drivers/staging/ath6kl/os/linux/ar6000_raw_if.c | 797 +- drivers/staging/ath6kl/os/linux/ar6k_pal.c | 204 +- drivers/staging/ath6kl/os/linux/cfg80211.c | 2551 +++--- drivers/staging/ath6kl/os/linux/eeprom.c | 725 +- .../staging/ath6kl/os/linux/export_hci_transport.c | 104 +- drivers/staging/ath6kl/os/linux/hci_bridge.c | 1736 ++-- .../staging/ath6kl/os/linux/include/ar6000_drv.h | 718 +- drivers/staging/ath6kl/os/linux/include/ar6k_pal.h | 13 +- .../ath6kl/os/linux/include/ar6xapi_linux.h | 259 +- .../staging/ath6kl/os/linux/include/athdrv_linux.h | 361 +- .../ath6kl/os/linux/include/athtypes_linux.h | 24 +- drivers/staging/ath6kl/os/linux/include/cfg80211.h | 30 +- .../staging/ath6kl/os/linux/include/config_linux.h | 3 +- .../staging/ath6kl/os/linux/include/debug_linux.h | 3 +- .../ath6kl/os/linux/include/export_hci_transport.h | 42 +- .../ath6kl/os/linux/include/ieee80211_ioctl.h | 168 +- .../staging/ath6kl/os/linux/include/osapi_linux.h | 92 +- .../staging/ath6kl/os/linux/include/wlan_config.h | 6 +- .../ath6kl/os/linux/include/wmi_filter_linux.h | 472 +- drivers/staging/ath6kl/os/linux/ioctl.c | 8582 ++++++++-------- drivers/staging/ath6kl/os/linux/netbuf.c | 149 +- drivers/staging/ath6kl/os/linux/wireless_ext.c | 4608 +++++---- drivers/staging/ath6kl/reorder/aggr_rx_internal.h | 96 +- drivers/staging/ath6kl/reorder/rcv_aggr.c | 1095 +- drivers/staging/ath6kl/wlan/include/ieee80211.h | 251 +- .../staging/ath6kl/wlan/include/ieee80211_node.h | 28 +- drivers/staging/ath6kl/wlan/src/wlan_node.c | 909 +- drivers/staging/ath6kl/wlan/src/wlan_recv_beacon.c | 229 +- drivers/staging/ath6kl/wlan/src/wlan_utils.c | 34 +- drivers/staging/ath6kl/wmi/wmi.c | 9494 +++++++++--------- drivers/staging/ath6kl/wmi/wmi_host.h | 80 +- 151 files changed, 43809 insertions(+), 42261 deletions(-) -- 1.7.4.15.g7811d