How to disable devices in -current / 5.2-BETA?

Mathew Kanner mat at cnd.mcgill.ca
Wed Dec 3 11:50:24 PST 2003


On Dec 02, M. Warner Losh wrote:
> In message: <20031202102446.S57336 at pooker.samsco.home>
>             Scott Long <scottl at freebsd.org> writes:
> : However, having a general mechanism for disabling newbus devices would be
> : really nice.
> 
> Agreed.  But today and 5.2 you lose.  However, it isn't easy.  What
> does disabled mean?  Don't attach?  Don't even probe?  If you don't
> probe, then how do you know that the device is aac.0?  If you do
> probe, then you get ISA probe routines called that can be
> 'destructive'.

	2 cents from a newbie.  Have a pci_null driver that uses a
tunable to probe and match at a higher priority.  You would have to
know what you are looking for to avoid it, but for someone who knows
what they are doing, it would work.

	Please don't shoot me for being stupid :)

	--mat

-- 
	The state has no business in the bedrooms of the
	nation.
			- Pierre Elliott Trudeau


More information about the freebsd-current mailing list