aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00
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
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')
-rw-r--r--drivers/net/wireless/rt2x00/rt2400pci.c4
-rw-r--r--drivers/net/wireless/rt2x00/rt2500pci.c4
-rw-r--r--drivers/net/wireless/rt2x00/rt2500usb.c4
-rw-r--r--drivers/net/wireless/rt2x00/rt61pci.c4
-rw-r--r--drivers/net/wireless/rt2x00/rt73usb.c4
5 files changed, 0 insertions, 20 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}
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c
index bb359a14b4ae..529b1841a085 100644
--- a/drivers/net/wireless/rt2x00/rt2500pci.c
+++ b/drivers/net/wireless/rt2x00/rt2500pci.c
@@ -951,19 +951,15 @@ continue_csr_init:
951 rt2500pci_bbp_write(rt2x00dev, 61, 0x6d); 951 rt2500pci_bbp_write(rt2x00dev, 61, 0x6d);
952 rt2500pci_bbp_write(rt2x00dev, 62, 0x10); 952 rt2500pci_bbp_write(rt2x00dev, 62, 0x10);
953 953
954 DEBUG(rt2x00dev, "Start initialization from EEPROM...\n");
955 for (i = 0; i < EEPROM_BBP_SIZE; i++) { 954 for (i = 0; i < EEPROM_BBP_SIZE; i++) {
956 rt2x00_eeprom_read(rt2x00dev, EEPROM_BBP_START + i, &eeprom); 955 rt2x00_eeprom_read(rt2x00dev, EEPROM_BBP_START + i, &eeprom);
957 956
958 if (eeprom != 0xffff && eeprom != 0x0000) { 957 if (eeprom != 0xffff && eeprom != 0x0000) {
959 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID); 958 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID);
960 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE); 959 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE);
961 DEBUG(rt2x00dev, "BBP: 0x%02x, value: 0x%02x.\n",
962 reg_id, value);
963 rt2500pci_bbp_write(rt2x00dev, reg_id, value); 960 rt2500pci_bbp_write(rt2x00dev, reg_id, value);
964 } 961 }
965 } 962 }
966 DEBUG(rt2x00dev, "...End initialization from EEPROM.\n");
967 963
968 return 0; 964 return 0;
969} 965}
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c
index a64b62b20051..ab6e3f7f0f61 100644
--- a/drivers/net/wireless/rt2x00/rt2500usb.c
+++ b/drivers/net/wireless/rt2x00/rt2500usb.c
@@ -881,19 +881,15 @@ continue_csr_init:
881 rt2500usb_bbp_write(rt2x00dev, 62, 0x10); 881 rt2500usb_bbp_write(rt2x00dev, 62, 0x10);
882 rt2500usb_bbp_write(rt2x00dev, 75, 0xff); 882 rt2500usb_bbp_write(rt2x00dev, 75, 0xff);
883 883
884 DEBUG(rt2x00dev, "Start initialization from EEPROM...\n");
885 for (i = 0; i < EEPROM_BBP_SIZE; i++) { 884 for (i = 0; i < EEPROM_BBP_SIZE; i++) {
886 rt2x00_eeprom_read(rt2x00dev, EEPROM_BBP_START + i, &eeprom); 885 rt2x00_eeprom_read(rt2x00dev, EEPROM_BBP_START + i, &eeprom);
887 886
888 if (eeprom != 0xffff && eeprom != 0x0000) { 887 if (eeprom != 0xffff && eeprom != 0x0000) {
889 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID); 888 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID);
890 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE); 889 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE);
891 DEBUG(rt2x00dev, "BBP: 0x%02x, value: 0x%02x.\n",
892 reg_id, value);
893 rt2500usb_bbp_write(rt2x00dev, reg_id, value); 890 rt2500usb_bbp_write(rt2x00dev, reg_id, value);
894 } 891 }
895 } 892 }
896 DEBUG(rt2x00dev, "...End initialization from EEPROM.\n");
897 893
898 return 0; 894 return 0;
899} 895}
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c
index a049ff62e791..25b3c6e2a556 100644
--- a/drivers/net/wireless/rt2x00/rt61pci.c
+++ b/drivers/net/wireless/rt2x00/rt61pci.c
@@ -1282,19 +1282,15 @@ continue_csr_init:
1282 rt61pci_bbp_write(rt2x00dev, 102, 0x16); 1282 rt61pci_bbp_write(rt2x00dev, 102, 0x16);
1283 rt61pci_bbp_write(rt2x00dev, 107, 0x04); 1283 rt61pci_bbp_write(rt2x00dev, 107, 0x04);
1284 1284
1285 DEBUG(rt2x00dev, "Start initialization from EEPROM...\n");
1286 for (i = 0; i < EEPROM_BBP_SIZE; i++) { 1285 for (i = 0; i < EEPROM_BBP_SIZE; i++) {
1287 rt2x00_eeprom_read(rt2x00dev, EEPROM_BBP_START + i, &eeprom); 1286 rt2x00_eeprom_read(rt2x00dev, EEPROM_BBP_START + i, &eeprom);
1288 1287
1289 if (eeprom != 0xffff && eeprom != 0x0000) { 1288 if (eeprom != 0xffff && eeprom != 0x0000) {
1290 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID); 1289 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID);
1291 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE); 1290 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE);
1292 DEBUG(rt2x00dev, "BBP: 0x%02x, value: 0x%02x.\n",
1293 reg_id, value);
1294 rt61pci_bbp_write(rt2x00dev, reg_id, value); 1291 rt61pci_bbp_write(rt2x00dev, reg_id, value);
1295 } 1292 }
1296 } 1293 }
1297 DEBUG(rt2x00dev, "...End initialization from EEPROM.\n");
1298 1294
1299 return 0; 1295 return 0;
1300} 1296}
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c
index 92c8f601296f..f910d83e88f2 100644
--- a/drivers/net/wireless/rt2x00/rt73usb.c
+++ b/drivers/net/wireless/rt2x00/rt73usb.c
@@ -1087,19 +1087,15 @@ continue_csr_init:
1087 rt73usb_bbp_write(rt2x00dev, 102, 0x16); 1087 rt73usb_bbp_write(rt2x00dev, 102, 0x16);
1088 rt73usb_bbp_write(rt2x00dev, 107, 0x04); 1088 rt73usb_bbp_write(rt2x00dev, 107, 0x04);
1089 1089
1090 DEBUG(rt2x00dev, "Start initialization from EEPROM...\n");
1091 for (i = 0; i < EEPROM_BBP_SIZE; i++) { 1090 for (i = 0; i < EEPROM_BBP_SIZE; i++) {
1092 rt2x00_eeprom_read(rt2x00dev, EEPROM_BBP_START + i, &eeprom); 1091 rt2x00_eeprom_read(rt2x00dev, EEPROM_BBP_START + i, &eeprom);
1093 1092
1094 if (eeprom != 0xffff && eeprom != 0x0000) { 1093 if (eeprom != 0xffff && eeprom != 0x0000) {
1095 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID); 1094 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID);
1096 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE); 1095 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE);
1097 DEBUG(rt2x00dev, "BBP: 0x%02x, value: 0x%02x.\n",
1098 reg_id, value);
1099 rt73usb_bbp_write(rt2x00dev, reg_id, value); 1096 rt73usb_bbp_write(rt2x00dev, reg_id, value);
1100 } 1097 }
1101 } 1098 }
1102 DEBUG(rt2x00dev, "...End initialization from EEPROM.\n");
1103 1099
1104 return 0; 1100 return 0;
1105} 1101}