Date: Tue, 14 Jan 2003 11:31:28 -0800 (PST) From: Nate Lawson <njl@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_dc.c Message-ID: <200301141931.h0EJVSNH023599@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2003/01/14 11:31:28 PST
Modified files:
sys/pci if_dc.c
Log:
Remove bogus locking from dc(4). Instead, move interrupt allocation
and ether_ifattach() to end. This fixes a "could sleep" case and
simplifies error exit cases as well. Also be sure to set errno
and clean up resources in !mac error case.
Tested by: Ryan Beasley
Revision Changes Path
1.88 +34 -42 src/sys/pci/if_dc.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301141931.h0EJVSNH023599>
