Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Add (non-IGP) AGP port support for Intel 82855GM.



details:   https://anonhg.NetBSD.org/src/rev/dd8fb7a2f3f9
branches:  trunk
changeset: 753623:dd8fb7a2f3f9
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sun Apr 04 14:40:05 2010 +0000

description:
Add (non-IGP) AGP port support for Intel 82855GM.
agp_intel tested with radeondrm(4).  agp_i810 tested with i915drm(4).

diffstat:

 sys/dev/pci/agp_i810.c  |  5 +++--
 sys/dev/pci/agp_intel.c |  6 ++++--
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (60 lines):

diff -r 134bd40afd2b -r dd8fb7a2f3f9 sys/dev/pci/agp_i810.c
--- a/sys/dev/pci/agp_i810.c    Sun Apr 04 01:36:03 2010 +0000
+++ b/sys/dev/pci/agp_i810.c    Sun Apr 04 14:40:05 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: agp_i810.c,v 1.66 2010/02/24 22:37:59 dyoung Exp $     */
+/*     $NetBSD: agp_i810.c,v 1.67 2010/04/04 14:40:05 jakllsch Exp $   */
 
 /*-
  * Copyright (c) 2000 Doug Rabson
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.66 2010/02/24 22:37:59 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.67 2010/04/04 14:40:05 jakllsch Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -241,6 +241,7 @@
                case PCI_PRODUCT_INTEL_82865_HB:
                case PCI_PRODUCT_INTEL_82845G_DRAM:
                case PCI_PRODUCT_INTEL_82815_FULL_HUB:
+               case PCI_PRODUCT_INTEL_82855GM_MCH:
                        return agp_intel_attach(parent, self, aux);
                }
 #endif
diff -r 134bd40afd2b -r dd8fb7a2f3f9 sys/dev/pci/agp_intel.c
--- a/sys/dev/pci/agp_intel.c   Sun Apr 04 01:36:03 2010 +0000
+++ b/sys/dev/pci/agp_intel.c   Sun Apr 04 14:40:05 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: agp_intel.c,v 1.34 2010/02/24 22:37:59 dyoung Exp $    */
+/*     $NetBSD: agp_intel.c,v 1.35 2010/04/04 14:40:05 jakllsch Exp $  */
 
 /*-
  * Copyright (c) 2000 Doug Rabson
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agp_intel.c,v 1.34 2010/02/24 22:37:59 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agp_intel.c,v 1.35 2010/04/04 14:40:05 jakllsch Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -90,6 +90,7 @@
 agp_intel_vgamatch(struct pci_attach_args *pa)
 {
        switch (PCI_PRODUCT(pa->pa_id)) {
+       case PCI_PRODUCT_INTEL_82855GM_AGP:
        case PCI_PRODUCT_INTEL_82855PM_AGP:
        case PCI_PRODUCT_INTEL_82443LX_AGP:
        case PCI_PRODUCT_INTEL_82443BX_AGP:
@@ -148,6 +149,7 @@
        case PCI_PRODUCT_INTEL_82840_AGP:
                isc->chiptype = CHIP_I840;
                break;
+       case PCI_PRODUCT_INTEL_82855GM_AGP:
        case PCI_PRODUCT_INTEL_82855PM_AGP:
        case PCI_PRODUCT_INTEL_82845_AGP:
                isc->chiptype = CHIP_I845;



Home | Main Index | Thread Index | Old Index