Commit c8034c44 authored by Pavel Roskin's avatar Pavel Roskin Committed by John W. Linville

p54: don't report known but unhandled EEPROM codes as unknown

Signed-off-by: default avatarPavel Roskin <proski@gnu.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 61780ee3
...@@ -420,6 +420,30 @@ static int p54_parse_eeprom(struct ieee80211_hw *dev, void *eeprom, int len) ...@@ -420,6 +420,30 @@ static int p54_parse_eeprom(struct ieee80211_hw *dev, void *eeprom, int len)
/* make it overrun */ /* make it overrun */
entry_len = len; entry_len = len;
break; break;
case PDR_MANUFACTURING_PART_NUMBER:
case PDR_PDA_VERSION:
case PDR_NIC_SERIAL_NUMBER:
case PDR_REGULATORY_DOMAIN_LIST:
case PDR_TEMPERATURE_TYPE:
case PDR_PRISM_PCI_IDENTIFIER:
case PDR_COUNTRY_INFORMATION:
case PDR_OEM_NAME:
case PDR_PRODUCT_NAME:
case PDR_UTF8_OEM_NAME:
case PDR_UTF8_PRODUCT_NAME:
case PDR_COUNTRY_LIST:
case PDR_DEFAULT_COUNTRY:
case PDR_ANTENNA_GAIN:
case PDR_PRISM_INDIGO_PA_CALIBRATION_DATA:
case PDR_RSSI_LINEAR_APPROXIMATION:
case PDR_RSSI_LINEAR_APPROXIMATION_DUAL_BAND:
case PDR_REGULATORY_POWER_LIMITS:
case PDR_RSSI_LINEAR_APPROXIMATION_EXTENDED:
case PDR_RADIATED_TRANSMISSION_CORRECTION:
case PDR_PRISM_TX_IQ_CALIBRATION:
case PDR_BASEBAND_REGISTERS:
case PDR_PER_CHANNEL_BASEBAND_REGISTERS:
break;
default: default:
printk(KERN_INFO "p54: unknown eeprom code : 0x%x\n", printk(KERN_INFO "p54: unknown eeprom code : 0x%x\n",
le16_to_cpu(entry->code)); le16_to_cpu(entry->code));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment