summaryrefslogtreecommitdiffstats
path: root/sys/dev/agp/agp_i810.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2014-11-11 12:52:45 +0000
committerkib <kib@FreeBSD.org>2014-11-11 12:52:45 +0000
commit0a6e9e45e57772f472c714700ecb4182d99bf827 (patch)
tree851daef0765da3cb6394e7f37ae7b44f1d66773f /sys/dev/agp/agp_i810.c
parentfe89e07d5deae1403be239608c51128ef4a0a808 (diff)
downloadFreeBSD-src-0a6e9e45e57772f472c714700ecb4182d99bf827.zip
FreeBSD-src-0a6e9e45e57772f472c714700ecb4182d99bf827.tar.gz
Based on some BIOS configuration (GGC register in host bridge, bit 1),
IGP may declare subclass as either VGA-compatible, or non-VGA. The difference is that in the later case, IGP does not claim VGA cycles. Other than that, the device functions normally, and agp_i810 should attach to it. Sponsored by: The FreeBSD Foundation MFC after: 1 week
Diffstat (limited to 'sys/dev/agp/agp_i810.c')
-rw-r--r--sys/dev/agp/agp_i810.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/agp/agp_i810.c b/sys/dev/agp/agp_i810.c
index 6e06292..f6b8ab8 100644
--- a/sys/dev/agp/agp_i810.c
+++ b/sys/dev/agp/agp_i810.c
@@ -749,7 +749,8 @@ agp_i810_match(device_t dev)
int i, devid;
if (pci_get_class(dev) != PCIC_DISPLAY
- || pci_get_subclass(dev) != PCIS_DISPLAY_VGA)
+ || (pci_get_subclass(dev) != PCIS_DISPLAY_VGA &&
+ pci_get_subclass(dev) != PCIS_DISPLAY_OTHER))
return (NULL);
devid = pci_get_devid(dev);
OpenPOWER on IntegriCloud