Search Linux Wireless

Re: [BUG] No SPROM available!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/29/10 21:47, John W. Linville wrote:
On Mon, Mar 29, 2010 at 09:35:44PM +0200, René Bolldorf wrote:
On 03/29/10 21:20, Larry Finger wrote:
Ren�,

When you have a wireless problem, please post it to
linux-wireless@xxxxxxxxxxxxxxxx The Linux Kernel Mailing List may or may not be
appropriate.

To help in diagnosing your problem, please apply this patch and post the output
line that it produces. On my system, it shows

ssb: chip_id 0x4312, status 0x10

and on my: ssb: chip_id 0x4312, status 0x12
Please also post the output of 'lspci -nnv | grep 14e4'.
Yep:
01:00.0 Network controller [0280]: Broadcom Corporation BCM4312
802.11b/g [14e4:4315] (rev 01)

OK, I'm new to the thread -- what exactly is the issue?  Was your
device working previously?

John

The problem is since commit fcb54b0bf7d3fe730c2b72e224bc616e358f24cb, my b43 (4312) device doesn't work because i get the message "No SPROM available" and then the device get's disabled.

My colleague have the same problem. I have made a patch for that but it seems thats not work for all 4312 devices. I and my colleage have the same netbook for testing purposes so the patch work while we have the same chip status.

The problem is I think: Larry had written his output is ssb: chip_id 0x4312, status 0x10, he have a different chip status.
What to do? Any ideas?

=============

diff --git a/include/linux/ssb/ssb_driver_chipcommon.h b/include/linux/ssb/ssb_driver_chipcommon.h
index 2cdf249..1e0b9cd 100644
--- a/include/linux/ssb/ssb_driver_chipcommon.h
+++ b/include/linux/ssb/ssb_driver_chipcommon.h
@@ -386,6 +386,7 @@


 /** Chip specific Chip-Status register contents. */
+#define SSB_CHIPCO_CHST_4312_SPROM_EXISTS	0x00000025
 #define SSB_CHIPCO_CHST_4322_SPROM_EXISTS	0x00000040 /* SPROM present */
 #define SSB_CHIPCO_CHST_4325_SPROM_OTP_SEL	0x00000003
#define SSB_CHIPCO_CHST_4325_DEFCIS_SEL 0 /* OTP is powered up, use def. CIS, no SPROM */
@@ -403,7 +404,7 @@
 /** Macros to determine SPROM presence based on Chip-Status register. */
 #define SSB_CHIPCO_CHST_4312_SPROM_PRESENT(status) \
 	((status & SSB_CHIPCO_CHST_4325_SPROM_OTP_SEL) != \
-		SSB_CHIPCO_CHST_4325_OTP_SEL)
+		SSB_CHIPCO_CHST_4312_SPROM_EXISTS)
 #define SSB_CHIPCO_CHST_4322_SPROM_PRESENT(status) \
 	(status & SSB_CHIPCO_CHST_4322_SPROM_EXISTS)
 #define SSB_CHIPCO_CHST_4325_SPROM_PRESENT(status) \
so my won't work then.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux