Re: Locking fixes for dc(4): please test!

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 5 Aug 2005 10:40:03 -0400
On Thursday 04 August 2005 05:27 pm, Simon L. Nielsen wrote:
> On 2005.08.04 12:55:05 -0400, John Baldwin wrote:
> > I have some fixes for the locking in the dc(4) driver, please test them
> > if you have some dc(4) hardware, thanks!
> >
> > http://www.FreeBSD.org/~jhb/patches/dc_locking.patch
>
> It hasn't blown up yet with:
>
> dc0: <Intel 21143 10/100BaseTX> port 0xec00-0xec7f mem
> 0xeb104000-0xeb1043ff irq 15 at device 20.0 on pci0 dc0: Ethernet address:
> 00:40:f4:36:4e:e7
> dc0: if_start running deferred for Giant
> dc0: [GIANT-LOCKED]

Ok.  Try changing the IS_MPSAFE at around line 348 flag from 0 to 1 and see if 
it blows up then. :)  Thanks for testing.

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Fri Aug 05 2005 - 12:49:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC