diff options
author | Peter Edwards <peadar@FreeBSD.org> | 2004-03-13 16:06:32 +0000 |
---|---|---|
committer | Peter Edwards <peadar@FreeBSD.org> | 2004-03-13 16:06:32 +0000 |
commit | ad50c14e4dfcf39708df21d9259968ede3fdf42d (patch) | |
tree | 340593a2842af3b782200b30913c1d58746b98a5 /sys/pci | |
parent | 2f00651dae5470cd7c77ec8203e3d37591fb9522 (diff) | |
download | src-ad50c14e4dfcf39708df21d9259968ede3fdf42d.tar.gz src-ad50c14e4dfcf39708df21d9259968ede3fdf42d.zip |
Recognise the 82845G AGP bridge, and poke it appropriately at
attach/detach time.
Assigning the default behaviour to this particular device is
incorrect, corrupting the video BIOS aperture, and breaking
VESA support in the kernel and XFree86.
Reviewed By: dfr
MFC after: 1 week
PR: kern/62906
Notes
Notes:
svn path=/head/; revision=126922
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/agp_intel.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/pci/agp_intel.c b/sys/pci/agp_intel.c index 047ed570ab9f..684866192e25 100644 --- a/sys/pci/agp_intel.c +++ b/sys/pci/agp_intel.c @@ -111,6 +111,9 @@ agp_intel_match(device_t dev) case 0x25788086: return ("Intel 82875P host to AGP bridge"); + + case 0x25608086: /* i845G */ + return ("Intel 82845G host to AGP bridge"); }; if (pci_get_vendor(dev) == 0x8086) @@ -236,6 +239,7 @@ agp_intel_attach(device_t dev) case 0x25318086: /* i860 */ case 0x25708086: /* i865 */ case 0x25788086: /* i875P */ + case 0x25608086: /* i845G */ pci_write_config(dev, AGP_INTEL_I8XX_ERRSTS, 0x00ff, 2); break; @@ -278,6 +282,7 @@ agp_intel_detach(device_t dev) & ~(1 << 1)), 1); case 0x1a308086: /* i845 */ + case 0x25608086: /* i845G */ case 0x33408086: /* i855 */ case 0x25708086: /* i865 */ case 0x25788086: /* i875P */ |