Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2004 10:52:50 -0700
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        freebsd-current@freebsd.org
Subject:   if_re locking patch...
Message-ID:  <20040825175250.GO29902@funkthat.com>

next in thread | raw e-mail | index | archive | help
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:
http://people.FreeBSD.org/~jmg/if_re.diff

NetGear GA311:
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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040825175250.GO29902>