kern/68545: Proper AGPv3/AGP 8x support for VIA KT400/400a/600

Ariff Abdullah skywizard at
Thu Jul 1 02:01:20 PDT 2004

>Number:         68545
>Category:       kern
>Synopsis:       Proper AGPv3/AGP 8x support for VIA KT400/400a/600
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 01 09:00:39 GMT 2004
>Originator:     Ariff Abdullah
>Release:        FreeBSD 5.2-CURRENT
System: FreeBSD 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sat Jun 26 00:01:41 MYT 2004     root at  i386

	Trying to enable dri/drm support on VIA KT400/400a/600 based
	chipset will lock up the machine, since the agp driver use
	the wrong hardware register (AGPv2, instead of AGPv3).
	Load drm module for your card, enable dri in XF86Config, run X.
	If you're using AGP 8X card (Radeon 9200 for example), either
	your machine will come to abrupt halt, or suddenly become
	Apply this patch. Rebuild kernel/modules.

--- sys/pci/agp_via.c.orig	Sun Jun  6 09:20:53 2004
+++ sys/pci/agp_via.c	Sun Jun  6 09:27:57 2004
@@ -89,6 +89,8 @@
 		return ("VIA 82C691 (Apollo Pro) host to PCI bridge");
 	case 0x31881106:
 		return ("VIA 8385 host to PCI bridge");
+	case 0x31891106:
+		return ("VIA 8377 (Apollo KT400/KT400A/KT600) host to PCI bridge");
 	if (pci_get_vendor(dev) == 0x1106)
@@ -123,6 +125,7 @@
 	switch (pci_get_devid(dev)) {
 	case 0x31881106:
+	case 0x31891106:
 		sc->regs = via_v3_regs;

More information about the freebsd-bugs mailing list