Date: Mon, 21 Apr 2003 11:34:05 -0700 (PDT) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 Message-ID: <200304211834.h3LIY5ev094078@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2003/04/21 11:34:05 PDT FreeBSD src repository 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: Use newly minted device_is_attached rather than device_is_alive to see if attach succeeded. device_is_alive just tells us that probe succeeded. Since we were using it to do things like detach net interfaces, this caused problems when there were errors in the attach routine. Symptoms of problem reported by: martin blapp Revision Changes Path 1.105 +1 -1 src/sys/pci/if_dc.c 1.45 +1 -1 src/sys/pci/if_pcn.c 1.98 +1 -1 src/sys/pci/if_rl.c 1.56 +1 -1 src/sys/pci/if_sf.c 1.74 +1 -1 src/sys/pci/if_sis.c 1.61 +1 -1 src/sys/pci/if_sk.c 1.52 +1 -1 src/sys/pci/if_ste.c 1.78 +1 -1 src/sys/pci/if_ti.c 1.83 +1 -1 src/sys/pci/if_tl.c 1.71 +1 -1 src/sys/pci/if_vr.c 1.60 +1 -1 src/sys/pci/if_wb.c 1.143 +1 -1 src/sys/pci/if_xl.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304211834.h3LIY5ev094078>