Add (non-IGP) AGP port support for Intel 82855GM.
agp_intel tested with radeondrm(4). agp_i810 tested with i915drm(4).
This commit is contained in:
parent
f1b28409da
commit
058c4e6e3b
|
@ -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 @@ agp_i810_attach(device_t parent, device_t self, void *aux)
|
|||
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
|
||||
|
|
|
@ -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 @@ static int
|
|||
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 @@ agp_intel_attach(device_t parent, device_t self, void *aux)
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue