fe(4) MPSAFE patch

John Baldwin jhb at freebsd.org
Wed Jun 18 16:03:24 UTC 2008


On Sunday 01 June 2008 09:14:47 am WATANABE Kazuhiro wrote:
> Hi.
> 
> At Thu, 29 May 2008 12:09:48 -0400,
> John Baldwin wrote:
> > I have a patch to make fe(4) MPSAFE.  I have no hardware to test with 
however.  
> > If you have this hardware, then test this patch.
> > 
> > http://www.FreeBSD.org/~jhb/patches/fe.patch
> 
> I've tested your patch with the following NICs and they works fine.
> 
>  * Ungermann-Bass Access/PC N98C+ (PC85152) (C-Bus)
> 
>  fe0 at port 0x1cd0-0x1cdf,0x1ed0-0x1edf irq 6 on isa0
>  fe0: Ethernet address: 00:dd:01:xx:xx:xx
>  fe0: [ITHREAD]
>  fe0: type Access/PC
> 
>  * Allied Telesis RE2001Plus (ISA)
> 
>  fe0 at port 0x300-0x31f irq 10 on isa0
>  fe0: Ethernet address: 00:00:f4:xx:xx:xx
>  fe0: [ITHREAD]
>  fe0: type AT-1700T/RE2001
> 
> Thanks for your work!

When you get a chance, can you test 
http://www.FreeBSD.org/~jhb/patches/fe_wdog.patch?  It handles the watchdog 
timer better and also changes the driver to use bus_foo() rather than 
bus_space_foo().

-- 
John Baldwin


More information about the freebsd-current mailing list