]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] pcnet32: use MAC address from prom also on powerpc
authorOlaf Hering <olh@suse.de>
Fri, 9 Dec 2005 18:12:10 +0000 (19:12 +0100)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 12 Dec 2005 20:30:38 +0000 (15:30 -0500)
commit016cc85072944bfa03c5e4b587ae89588ce2e5df
tree4e50ca29a0e4a3ff260f8eae0972ab7f83e08cd1
parent20234989a8ae0ff418e2acdef72205fb7cb3f819
[PATCH] pcnet32: use MAC address from prom also on powerpc

The CSR contains garbage after a coldboot on RS/6000.
One some systems (like my 44p 270) the MAC address is all FF,
on others (like my B50) it is ff:ff:ff:fd:ff:6b.

It can eventually be fixed by loading pcnet32, set the interface
into the UP state, rmmod pcnet32 and load it again. But this worked
only on the 270.

Only netbooting after a cold start provides the correct MAC address
via prom and CSR. This makes it very unreliable.
I dont know why the MAC is stored in two different places. Remove
the special case for powerpc, which was added in early 2.4 development.

Signed-off-by: Olaf Hering <olh@suse.de>
 drivers/net/pcnet32.c |    5 -----
 1 files changed, 5 deletions(-)
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/pcnet32.c