I'm seeing this:

 Realtek RTL8366S ethernet switch driver version 0.2.2
[    1.010000] rtl8366s rtl8366s: using GPIO pins 19 (SDA) and 20 (SCK)
[    1.010000] rtl8366s rtl8366s: unknown chip id (0000)
[    1.020000] rtl8366s rtl8366s: chip detection failed, err=-19
[    1.030000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.340000] eth0: unable to find MII bus on device 'rtl8366s'
[    1.360000] eth0: Atheros AG71xx at 0xba000000, irq 5
[    1.660000] eth0: unable to find MII bus on device 'rtl8366s'

I rolled back to before this change in just generic/files/drivers/net/phy:

------------------------------------------------------------------------
r29677 | juhosg | 2012-01-07 11:36:30 -0800 (Sat, 07 Jan 2012) | 5 lines
Changed paths:
   M /trunk/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
   M /trunk/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h
   M /trunk/target/linux/generic/files/drivers/net/phy/rtl8366rb.c
   M /trunk/target/linux/generic/files/drivers/net/phy/rtl8366s.c

generic: rtl8366: preparing for RTL8367 support

* make clock delay configurable
* make read,write commands configurable
* use u16 for member and untag fields

And now it works again:

[    1.000000] Realtek RTL8366RB ethernet switch driver version 0.2.3
[    1.010000] rtl8366rb rtl8366rb: using GPIO pins 19 (SDA) and 20 (SCK)
[    1.020000] rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found
[    1.120000] rtl8366rb: probed
[    1.130000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.440000] eth1: Atheros AG71xx at 0xba000000, irq 5

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to