* [PATCH] Solves problems when PHY has no interrupts
@ 2003-07-09 4:06 Dean Matsen
0 siblings, 0 replies; only message in thread
From: Dean Matsen @ 2003-07-09 4:06 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 891 bytes --]
Hello all,
the enclosed patch applies to the Monta Vista 2.4.22-pre3 kernel
or thereabouts.
Our PPC implementations have no PHY IRQ support. I notice that
the file arch/ppc/8xx_io/fec.c now has a variable HAVE_PHY_INTERRUPT,
which is something like what I originally did. But, I had to
make another change as well.
Specifically, I had to move some initialization code around for the
Ethernet to work properly after "ifconfig eth0 down ; ifconfig eth0 up".
Without these changes, the Ethernet doesn't come back "up" :(
The changes in this patch are done so that people WITH a PHY interrupt
have things done in the original order (I can't verify my change
against a system WITH PHY interrupts, so I preserved the order).
In short, this fix should be safe for all systems, but maybe
overly paranoid.
Anyone care to inspect and comment on the viability of this patch?
TIA
Dean Matsen
[-- Attachment #2: fec.patch.bz2 --]
[-- Type: application/x-bzip2, Size: 1284 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-09 4:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-09 4:06 [PATCH] Solves problems when PHY has no interrupts Dean Matsen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.