1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-12 14:29:28 +00:00

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
This commit is contained in:
Konstantin Belousov 2014-11-11 12:52:45 +00:00
parent a41f4046f5
commit d6fe56e5d7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=274378

View File

@ -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);