i865 support for agp_i810

看板DFBSD_submit作者時間21年前 (2004/05/07 01:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
--nextPart2794134.1s43hILmM8 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8Bit Hi, the attached patch adds some pci ids to the agpgart, necessary for i865 based boards. works for me for quite a while now. patrick mauritz --nextPart2794134.1s43hILmM8 Content-Type: text/x-diff; name="df.agp_i865.patch" Content-Transfer-Encoding: 8Bit Content-Disposition: attachment; filename="df.agp_i865.patch" Index: sys/dev/agp/agp_i810.c =================================================================== RCS file: /home/dcvs/src/sys/dev/agp/agp_i810.c,v retrieving revision 1.6 diff -u -r1.6 agp_i810.c --- sys/dev/agp/agp_i810.c 24 Mar 2004 20:42:12 -0000 1.6 +++ sys/dev/agp/agp_i810.c 28 Apr 2004 10:11:19 -0000 @@ -104,6 +104,9 @@ case 0x25628086: return ("Intel 82845 (i845 GMCH) SVGA controller"); + + case 0x25728086: + return ("Intel 82865 (i865 GMCH) SVGA controller"); }; return NULL; @@ -133,6 +136,7 @@ case 0x11328086: case 0x35778086: case 0x25628086: + case 0x25728086: devid -= 0x20000; break; }; @@ -173,7 +177,8 @@ * checking whether internal graphics device has been activated. */ if ( (devid != 0x35778086 ) && - (devid != 0x25628086 ) ) { + (devid != 0x25628086 ) && + (devid != 0x25728086 ) ) { smram = pci_read_config(bdev, AGP_I810_SMRAM, 1); if ((smram & AGP_I810_SMRAM_GMS) == AGP_I810_SMRAM_GMS_DISABLED) { @@ -223,6 +228,7 @@ break; case 0x35778086: case 0x25628086: + case 0x25728086: sc->chiptype = CHIP_I830; break; }; --nextPart2794134.1s43hILmM8--
文章代碼(AID): #10cczJ00 (DFBSD_submit)
文章代碼(AID): #10cczJ00 (DFBSD_submit)