]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: rt2800: increase EEPROM_SIZE to 512 bytes
authorGabor Juhos <juhosg@openwrt.org>
Mon, 24 Jun 2013 21:03:22 +0000 (23:03 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 27 Jun 2013 17:42:12 +0000 (13:42 -0400)
commit9524474e24f7a2b4280f4b0e36df315db59cc488
treeb3c138dd0b3a205306aba382b911b3d3458e2a57
parenteef4cae0adb0b9ef5625fc63f330016dff23956b
rt2x00: rt2800: increase EEPROM_SIZE to 512 bytes

Ralink 3T chipsets are using a different EEPROM
layout than the others. The EEPROM on these devices
contain more data than the others which does not fit
into 272 byte which the rt2800 driver actually uses.

The Ralink reference driver defines EEPROM_SIZE to
512/1024 bytes for PCI/USB devices respectively.

Increase the EEPROM_SIZE constant to 512 bytes, in
order to make room for EEPROM data of 3T devices.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800.h