diff options
author | Pavel Roskin <proski@gnu.org> | 2008-10-29 17:31:43 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-10 15:17:38 -0500 |
commit | c8034c44851ba4c6b55ec6e6b60573cf51589be3 (patch) | |
tree | 5949d749b3ccde8134426d73bf5a698cc7f5bb6c | |
parent | 61780ee313846b29bfb06dfcb2f3bdf0b7ba3f66 (diff) |
p54: don't report known but unhandled EEPROM codes as unknown
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/p54/p54common.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c index a2e2150403d2..6f0aa7981b33 100644 --- a/drivers/net/wireless/p54/p54common.c +++ b/drivers/net/wireless/p54/p54common.c | |||
@@ -420,6 +420,30 @@ static int p54_parse_eeprom(struct ieee80211_hw *dev, void *eeprom, int len) | |||
420 | /* make it overrun */ | 420 | /* make it overrun */ |
421 | entry_len = len; | 421 | entry_len = len; |
422 | break; | 422 | break; |
423 | case PDR_MANUFACTURING_PART_NUMBER: | ||
424 | case PDR_PDA_VERSION: | ||
425 | case PDR_NIC_SERIAL_NUMBER: | ||
426 | case PDR_REGULATORY_DOMAIN_LIST: | ||
427 | case PDR_TEMPERATURE_TYPE: | ||
428 | case PDR_PRISM_PCI_IDENTIFIER: | ||
429 | case PDR_COUNTRY_INFORMATION: | ||
430 | case PDR_OEM_NAME: | ||
431 | case PDR_PRODUCT_NAME: | ||
432 | case PDR_UTF8_OEM_NAME: | ||
433 | case PDR_UTF8_PRODUCT_NAME: | ||
434 | case PDR_COUNTRY_LIST: | ||
435 | case PDR_DEFAULT_COUNTRY: | ||
436 | case PDR_ANTENNA_GAIN: | ||
437 | case PDR_PRISM_INDIGO_PA_CALIBRATION_DATA: | ||
438 | case PDR_RSSI_LINEAR_APPROXIMATION: | ||
439 | case PDR_RSSI_LINEAR_APPROXIMATION_DUAL_BAND: | ||
440 | case PDR_REGULATORY_POWER_LIMITS: | ||
441 | case PDR_RSSI_LINEAR_APPROXIMATION_EXTENDED: | ||
442 | case PDR_RADIATED_TRANSMISSION_CORRECTION: | ||
443 | case PDR_PRISM_TX_IQ_CALIBRATION: | ||
444 | case PDR_BASEBAND_REGISTERS: | ||
445 | case PDR_PER_CHANNEL_BASEBAND_REGISTERS: | ||
446 | break; | ||
423 | default: | 447 | default: |
424 | printk(KERN_INFO "p54: unknown eeprom code : 0x%x\n", | 448 | printk(KERN_INFO "p54: unknown eeprom code : 0x%x\n", |
425 | le16_to_cpu(entry->code)); | 449 | le16_to_cpu(entry->code)); |