Date: Fri, 3 Apr 2009 10:38:24 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern subr_bus.c Message-ID: <200904031038.n33Acgk1024873@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mav 2009-04-03 10:38:24 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/kern subr_bus.c
Log:
SVN rev 190669 on 2009-04-03 10:38:24Z by mav
MFC rev. 188464.
Check for device_set_devclass() errors and skip driver probe/attach if any.
Attach called without devclass set crashes the system.
On attach/resume some ATA drivers sometimes trying to create duplicate adX
device. It is surely their own problem, but it is not a reason to crash here.
Approved by: re (kib)
Revision Changes Path
1.201.2.6 +12 -4 src/sys/kern/subr_bus.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904031038.n33Acgk1024873>
