if_re locking patch...
gurney_j at resnet.uoregon.edu
Wed Aug 25 10:52:54 PDT 2004
To expand upon the patch posted previously, I have cribbed bms's rl
locking, and ported it to re. This makes the interrupt MPSAFE along
with the rest of the driver. No more GIANT LOCKED messages for re. :)
Right now I'm doing some testing, and so far I've been able to transfer
over 3gig's of data w/o any problems.
So, please test the patch and let me know how it goes:
re0: <RealTek 8169S Single-chip Gigabit Ethernet> port 0xd800-0xd8ff mem 0xe8000000-0xe80000ff irq 10 at device 9.0 on pci0
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S media interface> on miibus0
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
re0: Ethernet address: 00:50:fc:f7:5b:d0
ConnectGear mumble muble (don't have the box with me):
re1: <RealTek 8169S Single-chip Gigabit Ethernet> port 0xe000-0xe0ff mem 0xe8002000-0xe80020ff irq 11 at device 11.0 on pci0
miibus1: <MII bus> on re1
rgephy1: <RTL8169S/8110S media interface> on miibus1
rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
re1: Ethernet address: 00:09:5b:8f:5f:c7
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the freebsd-current