fec: move ColdFire setup code out of FEC driver
Subsystems (2)
cover fec: move ColdFire setup code out of FEC driver
Hi Sascha,
The following 2 patches move the ColdFire specific FEC setup code into the ColdFire CPU platform setup code.
There is still a little remaining legacy code that needs taking care of in fec.c. The flash reading MAC setup code and the MII link interrupts of the 5272 are still in there.
Regards
Greg
Hi Greg,
Quoted 5 lines · Greg Ungerer
Hi Sascha,
The following 2 patches move the ColdFire specific FEC setup code into the ColdFire CPU platform setup code.
Looks good to me, though I can't apply them. To which tree should they apply?
Quoted 4 lines
There is still a little remaining legacy code that needs taking care of in
fec.c. The flash reading MAC setup code and the MII link interrupts of the 5272 are still in there.
maybe the board setup code could copy the MAC Address from the flash directly to the device. The driver will pick it up from there.
Sascha
Signature · 4 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Hi Sacha,
Quoted 8 lines · Sascha Hauer
Quoted 4 lines · Greg Ungerer
Hi Sascha,
The following 2 patches move the ColdFire specific FEC setup code into the ColdFire CPU platform setup code.
Looks good to me, though I can't apply them. To which tree should they apply?
They would go on top of your last FEC patch sets.
(At least that is what I used as the base).
Quoted 7 lines
Quoted 3 lines
There is still a little remaining legacy code that needs taking care of in
fec.c. The flash reading MAC setup code and the MII link interrupts of the 5272 are still in there.maybe the board setup code could copy the MAC Address from the flash directly to the device. The driver will pick it up from there.
Yes, that could work.
Thanks
Greg
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: [email protected] SnapGear, a McAfee Company PHONE: +61 7 3435 2888 825 Stanley St, FAX: +61 7 3891 3630 Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com