ex(4) MPSAFE patch
M. Warner Losh
imp at bsdimp.com
Thu Jun 12 23:52:30 UTC 2008
In message: <20080604.001339.-1350499725.imp at bsdimp.com>
"M. Warner Losh" <imp at bsdimp.com> writes:
: In message: <200805281747.05475.jhb at FreeBSD.org>
: John Baldwin <jhb at freebsd.org> writes:
: : I have a patch for ex(4) to make it MPSAFE. I have no hardware to test it,
: : however. If you value this driver, test this patch.
: :
: : http://www.FreeBSD.org/~jhb/patches/ex.patch
:
: My PC Card based ex device is still detected after these changes.
: However, I foolishly forgot the dongle, so I can't test it for about a
: week.
This message was composed from a machine that was connected to the
Internet with the ex driver:
% ifconfig ex0
ex0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:00:24:81:5e:22
inet 10.0.0.191 netmask 0xffffff00 broadcast 10.0.0.255
media: Ethernet 10baseT/UTP
status: active
% dmesg | tail -3
ex0: <Olicom Ethernet> at port 0x300-0x30f irq 20 function 0 config 1 on pccard0
ex0: Ethernet address: 00:00:24:81:5e:22
ex0: [ITHREAD]
% netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
...
ex0 1500 <Link#2> 00:00:24:81:5e:22 234 0 540 51 0
ex0 1500 255.255.255.1 10.0.0.191 206 - 291 - -
%
so it looks like it is working. Not sure why it is getting those
Oerrs, but I'm not seeing anything major wrong with it.
I'd say we're a 'go' for committing this card. I have some ISA
versions of this card, but no ISA machines to test them on. Rather
begs the question why I still have the ISA card collection...
Warner
P.S. I've not tried to eject the card yet....
More information about the freebsd-current
mailing list