mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-22 02:24:57 +08:00
bb9e5c5bcd
The bug that Stan reported is as follows. After a restart, a 16-bit NIC
may be incorrectly identified as a 32-bit NIC and stop working.
mac8390 slot.E: Memory length resource not found, probing
mac8390 slot.E: Farallon EtherMac II-C (type farallon)
mac8390 slot.E: MAC 00:00:c5:30:c2:99, IRQ 61, 32 KB shared memory at 0xfeed0000, 32-bit access.
The bug never arises after a cold start and only intermittently after a
warm start. (I didn't investigate why the bug is intermittent.)
It turns out that memcpy_toio() is deprecated and memcmp_withio() also
has issues. Replacing these calls with mmio accessors fixes the problem.
Reported-and-tested-by: Stan Johnson <userm57@yahoo.com>
Fixes:
|
||
---|---|---|
.. | ||
8390.c | ||
8390.h | ||
8390p.c | ||
apne.c | ||
ax88796.c | ||
axnet_cs.c | ||
etherh.c | ||
hydra.c | ||
Kconfig | ||
lib8390.c | ||
mac8390.c | ||
Makefile | ||
mcf8390.c | ||
ne2k-pci.c | ||
ne.c | ||
pcnet_cs.c | ||
smc-ultra.c | ||
stnic.c | ||
wd.c | ||
xsurf100.c | ||
zorro8390.c |