svn commit: r274650 - stable/10/sys/dev/agp

Konstantin Belousov kib at FreeBSD.org
Tue Nov 18 13:03:19 UTC 2014


Author: kib
Date: Tue Nov 18 13:03:18 2014
New Revision: 274650
URL: https://svnweb.freebsd.org/changeset/base/274650

Log:
  MFC r274378:
  Attach agp_i810 to non-VGA display class.

Modified:
  stable/10/sys/dev/agp/agp_i810.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/agp/agp_i810.c
==============================================================================
--- stable/10/sys/dev/agp/agp_i810.c	Tue Nov 18 13:01:41 2014	(r274649)
+++ stable/10/sys/dev/agp/agp_i810.c	Tue Nov 18 13:03:18 2014	(r274650)
@@ -747,7 +747,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);


More information about the svn-src-all mailing list