Hello, I am trying to talk to the switch of the RouterStation Pro. I wrote a simple phy driver, and its probe() gets called for all 5 phy addresses.
But the config_init() only gets called for the first mac, not the second mac, which is a problem, since the cpu port is connected to the second mac. It seems the ag71xx only tries to attach a driver if there is exactly one phy, is this intentional? If so, what would be the best way attach the driver to the correct mac? Using a plattform_device? Best regards, Jonas Gorski P.S: It seems that the first mac is connected through port 5 of the switch to wan, while the second mac is connected to the cpu port. lan1-3 are the ports 2-4, and port 1 does not seem to be connected anywhere. _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
