Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Nov 2005 14:42:10 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        damien.bergamini@free.fr
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, nate@root.org
Subject:   Re: cvs commit: src/sys/modules/iwi Makefile src/sys/dev/iwi if_iwi.c if_iwireg.h if_iwivar.h
Message-ID:  <20051119.144210.122123926.imp@bsdimp.com>
In-Reply-To: <00ca01c5ed4a$86b0e570$0300a8c0@COMETE>
References:  <20051119165547.0A4BD16A43D@hub.freebsd.org> <437F82A1.6080504@root.org> <00ca01c5ed4a$86b0e570$0300a8c0@COMETE>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <00ca01c5ed4a$86b0e570$0300a8c0@COMETE>
            "Damien Bergamini" <damien.bergamini@free.fr> writes:
: | I'm a little concerned about this change.  The notes claim the firmware 
: | is loaded after a resume from the filesystem as well as at 
: | initialization time.  So your driver is then assuming the ATA driver is 
: | fully reinitialized before your driver's resume method can be called. 
: | You can't assume that since it's not a child device of ATA.
: 
: Wouldn't the call to VOP_READ block until "/" is recovered in that case ?

If it blocks until "/" is recovered, then the system will block.  We
presently restore single threaded, and if anything in there blocks, we
wait until it unblocks.  Interrupts are runnable, so some things would
still work...

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051119.144210.122123926.imp>