Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2005 10:27:47 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        jhb@freebsd.org
Cc:        frank@pinky.sax.de, freebsd-hackers@freebsd.org
Subject:   Re: How disable attachment of sio(4) driver to device?
Message-ID:  <20051024.102747.89800306.imp@bsdimp.com>
In-Reply-To: <200510241120.31203.jhb@freebsd.org>
References:  <200510221516.j9MFGnqT026691@pinky.frank-behrens.de> <20051022.103242.98606517.imp@bsdimp.com> <200510241120.31203.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200510241120.31203.jhb@freebsd.org>
            John Baldwin <jhb@freebsd.org> writes:
: Only if you make sure that sio(4) doesn't try to pass data between probe() and 
: attach() via the softc since the softc is preserved from probe to attach if 
: you return 0 from probe.

sio's probe routine, now that you mention this, I believe leaves
things in a state that sioattach knows abou.

However, it looks like the probe routine will get called twice when
you return < 0, so maybe this is OK.

Warner



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