[OpenWrt-Devel] [PATCH 6/6] bcm53xx: R8000 handle PEX8603 switch

Ian Kent raven at themaw.net
Sun Jun 21 20:51:46 EDT 2015


On Sun, 2015-06-21 at 19:19 +0200, Rafał Miłecki wrote:
> On 10 March 2015 at 04:30, Ian Kent <raven at themaw.net> wrote:
> > The Netgear R8000 has a PEX8603 connected to the BCM53012 and if
> > it isn't configured during the bus scan the PCI layer goes crazy
> > trying to configure phantom devices.
> 
> This is kind of magic for me.
> Hauke: are you able to review this?

Yeah, it's a bridge so it needs upstream and downstream bus ids set but
the main issue is that it doesn't respond with appropriate return values
for non-existent devices.

I modelled the code on the corresponding source from the Broadcom SDK
file that this source was originally developed from (at least it
appeared to match).

I confirmed that PEX860X devices don't return proper return code from
another PEX driver, from the WRT1900 source I think, its been a while
now.

Ian
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list