Is there a way to disable PCI devices before a driver attaches to them?

Polytropon freebsd at edvax.de
Tue Jun 19 18:33:17 UTC 2018


On Tue, 19 Jun 2018 20:00:54 +0200, Polytropon wrote:
> On Tue, 19 Jun 2018 10:36:43 -0700, Eric Joyner wrote:
> > ^ See subject ^
> > 
> > The only method I know of atm is to load vmm via loader.conf and use the
> > pptdev variable to make the devices that I want to disable just "ppt"
> > devices.
> 
> Maybe you can use /boot/device.hints to disable the device
> you don't want a driver to attach to? Example:
> 
> 	hint.ppt.0.disable="YES"

Which is of course wrong. The correct notation is:

	hint.ppt.0.disable="1"

The manpage contains a similar example. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list