FreeBSD Bugzilla – Attachment 70682 Details for
Bug 103079
[agp] Add support to 945GM and fix how recognize agp
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
agp_i810.c.current-patch
agp_i810.c.current-patch (text/plain), 1.16 KB, created by
Marcus Alves Grando
on 2006-09-09 20:30:18 UTC
(
hide
)
Description:
agp_i810.c.current-patch
Filename:
MIME Type:
Creator:
Marcus Alves Grando
Created:
2006-09-09 20:30:18 UTC
Size:
1.16 KB
patch
obsolete
>Index: agp_i810.c >=================================================================== >RCS file: /home/ncvs/src/sys/pci/agp_i810.c,v >retrieving revision 1.38 >diff -u -r1.38 agp_i810.c >--- agp_i810.c 27 Jun 2006 14:05:11 -0000 1.38 >+++ agp_i810.c 9 Sep 2006 19:19:50 -0000 >@@ -121,14 +121,14 @@ > "Intel 82915G (915G GMCH) SVGA controller"}, > {0x25928086, CHIP_I915, 0x00020000, > "Intel 82915GM (915GM GMCH) SVGA controller"}, >+ {0x27A28086, CHIP_I915, 0x00020000, >+ "Intel 82945GM (945GM GMCH) SVGA controller"}, > /* XXX: I believe these chipsets should work, but they haven't been > * tested yet. > */ > /* > {0x27728086, CHIP_I915, 0x00020000, > "Intel 82945G (945G GMCH) SVGA controller"}, >- {0x27A28086, CHIP_I915, 0x00020000, >- "Intel 82945GM (945GM GMCH) SVGA controller"}, > */ > {0, 0, 0, NULL} > }; >@@ -510,9 +510,8 @@ > case CHIP_I855: > return 128 * 1024 * 1024; > case CHIP_I915: >- temp = pci_read_config(dev, AGP_I915_MSAC, 1); >- if ((temp & AGP_I915_MSAC_GMASIZE) == >- AGP_I915_MSAC_GMASIZE_128) { >+ temp = pci_read_config(dev, AGP_I915_GMADR, 1); >+ if (temp & 1<<27) { > return 128 * 1024 * 1024; > } else { > return 256 * 1024 * 1024;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 103079
: 70682