aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAndrea Merello <andrea.merello@gmail.com>2014-03-08 18:36:37 +0100
committerJohn W. Linville <linville@tuxdriver.com>2014-03-14 14:49:14 -0400
commit6caefd1271910820db81d4c951a1fe2c9e16ee0b (patch)
tree0034b22ef35333d3007f22a66adfd4e90fab787d /arch
parent4c9f9fb29b3cdfa751c8ccf984a84fbe9e643b91 (diff)
rtl8180: prepare to handle more than two chip types
Currently a "r8185" integer variable is used as a boolean flag to indicate whether the card is a rtl8185 or not. Since now the driver supports only rtl8185 and rtl8180 cards, if "r8185" variable is zero then the card is implicitly assumed to be a rtl8180. Now I'm preparing to add support for a third card type (rtl8187se). This patch changes the "r8185" flag with an enum variable to explicitly indicate which card type we have. I'm submitting this this patch now, even if I still have to submit other patches that not pertain with rtl8187se support, because IMHO it's not worth rebasing them on the current code, using r8185 flag, and then changing them back again nearly immediately. BTW if someone feels I really should do this, please tell me.. Signed-off-by: Andrea Merello <andrea.merello@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions