Date: Tue, 19 Jun 2018 20:28:03 +0200 From: Polytropon <freebsd@edvax.de> To: Eric Joyner <ricera10@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: Is there a way to disable PCI devices before a driver attaches to them? Message-ID: <20180619202803.7c7fdd7d.freebsd@edvax.de> In-Reply-To: <20180619200054.1232602d.freebsd@edvax.de> References: <CA%2Bb0zg_9q86XE=4gT68cfqmD7%2BgdEN8F0_2veTYDDtwHeAN%2BUw@mail.gmail.com> <20180619200054.1232602d.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180619202803.7c7fdd7d.freebsd>