rtl8192de: Clean up and fix 92D cut version constants and macros.
authorForest Bond <forest.bond@rapidrollout.com>
Sun, 8 Apr 2012 19:12:33 +0000 (14:12 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 12 Apr 2012 19:06:06 +0000 (15:06 -0400)
commit7d486fdeb0a21b68e41f235404ac6231ca0b3a9f
tree872507aa8052da96937a359d769b913ad4e6d5f9
parent711d8dea6edbbb8b1dcb016d9d0d604b11615364
rtl8192de: Clean up and fix 92D cut version constants and macros.

The previous definitions included both {B,C,D,E}_CUT_VERSION and
CHIP_92D_{C,D}_CUT with conflicting values for the C and D cut versions,
and literal hex values were used in the IS_92D_{C,D,E}_CUT macros.  So
we clean all this up and in doing so enable cut-specific code paths for
cuts C and D, which would not have been executed because the
CHIP_92D_{C,D}_CUT constants were wrong and the cut version was thus
recorded incorrectly.

Signed-off-by: Forest Bond <forest.bond@rapidrollout.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8192de/def.h