83xx HDLC Driver Dev - Multiple PHYs?

Jochen Friedrich jochen at scram.de
Sun Feb 3 07:36:46 EST 2008


Hi Russell,

> I am putting support for multiple PHY's into the HDLC driver, but after
> converting it to use the of_device tree, and inserting a UCC at 5000 for a
> single UCC HDLC driver, it occurred to me that if I insert more devices
> (UCC at 6000, UCC at 7000, UCC at 8000) that the driver will attempt to load multiple
> times.

The module should only be loaded once. If the driver attempts to load multiple
times, this looks like a userscpace bug.

Thanks,
Jochen


More information about the Linuxppc-embedded mailing list