From: Hauke Mehrtens <hauke@hauke-m.de>
To: Arend van Spriel <arend@broadcom.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: Broadcom PCI ID 14e4:4313 reuse?
Date: Thu, 12 Sep 2013 14:50:46 +0200 [thread overview]
Message-ID: <5231B8A6.2010004@hauke-m.de> (raw)
In-Reply-To: <5231B269.5060404@broadcom.com>
On 09/12/2013 02:24 PM, Arend van Spriel wrote:
> On 09/12/2013 12:49 PM, Hauke Mehrtens wrote:
>> Hi Arend,
>>
>> In OpenWrt someone reported that he has a BCM4313 with the PCI id
>> 14e4:4313 [0]. The b43 wiki [1] says this was used for a BCM4311 with
>> just ieee80211a support.
>
> That is what I found over here as well.
>
>> Is it correct that BCM4313 also uses this PCI id, this chip was was
>> directly soldered onto a router? Is the b43 wiki wrong and 14e4:4313 was
>> not used for the BCM4311 or was this PCI id reused for a different
>> device?
>
> It is weird that this comes up with PCI id 0x4313. The chip id is read
> from chipcommon and indeed returns 0x4313. The core revisions that bcma
> finds indicate also that this is indeed a bcm4313.
Could it be that this is some default PCI id which is normally changed
by a vendor to something else? I have seen the BCM43224 with the PCI id
14e4:a8d8 only on routers expect after I introduced a error in bcma and
all the BCM43224 turned to have this PCI id. ;-)
>> I am planing to prepare a patch adding support for a BCM4313 with the
>> PCI ID of 14e4:4313 and I will ignore that there could be some BCM4311
>> with this PCI id.
>
> You mean a patch in brcmsmac? Maybe brcms_c_chipmatch_pci() should check
> the chip id as well (like brcms_c_chipmatch_soc()).
Yes I want to add this to the pci ids of bcma and to brcmsmacs
brcms_c_chipmatch_pci() function.
>
> Regards,
> Arend
>
>> Log of BCM4313:
>>
>> [ 0.316000] pci 0000:01:00.0: [14e4:4313] type 00 class 0x028000
>> (...)
>> [ 10.616000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
>> [ 10.624000] bcma: bus0: Found chip with id 0x4313, rev 0x01 and
>> package 0x08
>> [ 10.628000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id
>> 0x800, rev 0x24, class 0x0)
>> [ 10.640000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id
>> 0x812, rev 0x18, class 0x0)
>> [ 10.648000] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820,
>> rev 0x11, class 0x0)
>> [ 10.656000] bcma: bus0: Using fallback SPROM failed (err -2)
>> [ 10.660000] bcma: bus0: No SPROM available
>> [ 10.676000] bcma: bus0: Bus registered
>> [ 11.040000] b43-phy0: Broadcom 4313 WLAN found (core revision 24)
>> [ 11.048000] b43-phy0 ERROR: FOUND UNSUPPORTED PHY (Analog 10, Type 8
>> (LCN), Revision 1)
>>
>>
>> [0]: https://dev.openwrt.org/ticket/13551
>> [1]: http://wireless.kernel.org/en/users/Drivers/b43
>>
>> Hauke
>>
>
>
prev parent reply other threads:[~2013-09-12 12:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-12 10:49 Broadcom PCI ID 14e4:4313 reuse? Hauke Mehrtens
2013-09-12 12:24 ` Arend van Spriel
2013-09-12 12:50 ` Hauke Mehrtens [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5231B8A6.2010004@hauke-m.de \
--to=hauke@hauke-m.de \
--cc=arend@broadcom.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox