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

Polytropon freebsd at
Tue Jun 19 18:00:57 UTC 2018

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:


You should also be able to add such a statement to /boot/loader.conf
because device.hints might get replaced during updates (and it
is a system-provided file, while loader.conf usually is a
user-spplued file),

See "man device.hints", or:

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

More information about the freebsd-questions mailing list