mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-09 04:15:52 +00:00
dde_bsd: make HDMI/DP HDA check stricter
Since QEMU might put the audio device at 00:03.0, also check if the vendor is Intel. Hopefully we do not render HDA on real machines useless with this changes (so far I have not encountered one). Fixes #3263.
This commit is contained in:
parent
3362216b66
commit
3c8714ed5a
@ -184,7 +184,8 @@ class Pci_driver : public Bsd::Bus_driver
|
||||
device.bus_address(&bus, &dev, &func);
|
||||
|
||||
if ((device.device_id() == PCI_PRODUCT_INTEL_CORE4G_HDA_2) ||
|
||||
(bus == 0 && dev == 3 && func == 0)) {
|
||||
(device.vendor_id() == PCI_VENDOR_INTEL &&
|
||||
bus == 0 && dev == 3 && func == 0)) {
|
||||
Genode::warning("ignore ", (unsigned)bus, ":", (unsigned)dev, ":",
|
||||
(unsigned)func, ", not supported HDMI/DP HDA device");
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user