Some machines include VID devices for hardware that doesn't exist. Avoid
authorkettenis <kettenis@openbsd.org>
Mon, 26 Jul 2010 17:46:29 +0000 (17:46 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 26 Jul 2010 17:46:29 +0000 (17:46 +0000)
commit43d0b534624ea591377a06fb9da9a1b79d01abcf
treeb3d3e4f9d028d3839458c91dfec30522baa82827
parent85b1a3ecd6b5a0b46ddda46feb3e748f722c45bc
Some machines include VID devices for hardware that doesn't exist.  Avoid
attaching those devices by checking whether the PCI bus on which they are
supposed to sit exists.  Fixes issues with brightness controls on my Dell
laptop.

ok marco@, pirofti@
sys/dev/acpi/acpivideo.c