aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2400pci.c
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-02-10 16:47:17 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:37:18 -0500
commit25fd893db26e90a1e9cf8ba151395766c70a69b3 (patch)
tree1e78b95960cd8fb3a6981461f90737558730e6c3 /drivers/net/wireless/rt2x00/rt2400pci.c
parent9c9dd2c9a42e8eb38b67f6c743c3d214664b8e2b (diff)
rt2x00: Make rt2x00 less verbose
Remove the debug messages regarding initialization from EEPROM. The values are vendor specific, and are not really needed for debug purposes. If they ever become usefull we still have access to them through debugfs which also prints the exact same values... Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2400pci.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2400pci.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c
index 69b4852d4c7f..23bc51a96dbe 100644
--- a/drivers/net/wireless/rt2x00/rt2400pci.c
+++ b/drivers/net/wireless/rt2x00/rt2400pci.c
@@ -797,19 +797,15 @@ continue_csr_init:
797 rt2400pci_bbp_write(rt2x00dev, 30, 0x21); 797 rt2400pci_bbp_write(rt2x00dev, 30, 0x21);
798 rt2400pci_bbp_write(rt2x00dev, 31, 0x00); 798 rt2400pci_bbp_write(rt2x00dev, 31, 0x00);
799 799
800 DEBUG(rt2x00dev, "Start initialization from EEPROM...\n");
801 for (i = 0; i < EEPROM_BBP_SIZE; i++) { 800 for (i = 0; i < EEPROM_BBP_SIZE; i++) {
802 rt2x00_eeprom_read(rt2x00dev, EEPROM_BBP_START + i, &eeprom); 801 rt2x00_eeprom_read(rt2x00dev, EEPROM_BBP_START + i, &eeprom);
803 802
804 if (eeprom != 0xffff && eeprom != 0x0000) { 803 if (eeprom != 0xffff && eeprom != 0x0000) {
805 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID); 804 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID);
806 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE); 805 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE);
807 DEBUG(rt2x00dev, "BBP: 0x%02x, value: 0x%02x.\n",
808 reg_id, value);
809 rt2400pci_bbp_write(rt2x00dev, reg_id, value); 806 rt2400pci_bbp_write(rt2x00dev, reg_id, value);
810 } 807 }
811 } 808 }
812 DEBUG(rt2x00dev, "...End initialization from EEPROM.\n");
813 809
814 return 0; 810 return 0;
815} 811}