On Tue, Feb 18, 2014 at 10:46 AM, Helmut Schaa <[email protected]> wrote: > On Mon, Feb 17, 2014 at 5:37 PM, Jonas Gorski <[email protected]> wrote: >> On Thu, Feb 13, 2014 at 5:00 PM, Helmut Schaa >> <[email protected]> wrote: >>> When setting the associated interface down and up again a new >>> switch device will be registered due to b53_phy_config_init >>> doing the necessary allocations and registrations. >>> >>> Instead, register the switch device already in b53_phy_probe. >>> >>> Signed-off-by: Helmut Schaa <[email protected]> >>> --- >> >> It would be good to have some changelog here to know what changed >> between v1, v2 and v3. > > Right, sorry bout that ... > >> As far as I can tell you are now dropping the >> ethX alias completely? > > Correct, since the netdev is only known when attaching to the phy > which caused the problem I wanted to fix in the first place ... > > And I agree with your previous comment that it is not safe to > replace the phy name on attaching the netdev to the phy (for various > reasons) ... > > Now, the name is consistent, but the dev_name of the actual switch > is used. Which means you will get a switch device called "bcm53018" > or "bcm53125" (would be bad if you have multiple switches).
Actually, this is what the mmap and spi versions do as far as I can see. Helmut _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
