cvs commit: src/sys/pci if_dc.c if_pcn.c if_rl.c if_sf.c if_sis.c if_sk.c if_ste.c if_ti.c if_tl.c if_vr.c if_wb.c if_xl.c

John Baldwin jhb at FreeBSD.org
Mon Mar 31 11:26:28 PST 2003


On 31-Mar-2003 Nate Lawson wrote:
> On Mon, 31 Mar 2003, Nate Lawson wrote:
>>   Modified files:
>>     sys/pci              if_dc.c if_pcn.c if_rl.c if_sf.c if_sis.c 
>>                          if_sk.c if_ste.c if_ti.c if_tl.c if_vr.c 
>>                          if_wb.c if_xl.c 
>>   Log:
>>   Clean up locking and resource management for pci/if_*
> 
> This is a rather large patch so if you begin to experience problems
> attaching or detaching (say on module load/unload) a previously-working
> card, please let me know.

Already found a bogon in tl(4) when it conflicted with some local
changes.  Might want to double check that you don't call detach()
for very early failures when you have no resources to teardown or
release but just do a direct return in the other drivers.

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


More information about the cvs-src mailing list