Search Linux Wireless

[PATCH 0/5] rtlwifi: Cleanup the macros that read/write the RX/TX descriptors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Each of the drivers under rtlwifi contains its own copy of the macros described in
the subject. In addition, there are macros defined for each field even if those
particular bits are never accessed. The cleanup consists of moving all such
macros to a special file, eliminate duplication, and removing all macros that
are defined but not used. These changes remove over 1200 lines of source code.

Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
---

Larry Finger (5):
  rtlwifi: Move RX/TX macros into common file
  rtl8192ce: Switch to use the combined macros file
  rtl8192cu: Convert driver to use the new macros file
  rtl8192de: Change driver to use new macros file
  rtl8192se: Convert driver to use the new macro file

 drivers/net/wireless/rtlwifi/macros.h        |  460 ++++++++++++++++++++++++
 drivers/net/wireless/rtlwifi/rtl8192ce/trx.h |  499 +-------------------------
 drivers/net/wireless/rtlwifi/rtl8192cu/mac.c |    6 +-
 drivers/net/wireless/rtlwifi/rtl8192cu/trx.c |  193 +++++-----
 drivers/net/wireless/rtlwifi/rtl8192cu/trx.h |  310 +----------------
 drivers/net/wireless/rtlwifi/rtl8192de/trx.c |    4 +-
 drivers/net/wireless/rtlwifi/rtl8192de/trx.h |  499 +-------------------------
 drivers/net/wireless/rtlwifi/rtl8192se/def.h |  406 +---------------------
 drivers/net/wireless/rtlwifi/rtl8192se/trx.c |  121 ++++---
 9 files changed, 635 insertions(+), 1863 deletions(-)
 create mode 100644 drivers/net/wireless/rtlwifi/macros.h

-- 
1.7.7

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux