Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/conf Add agp files (enabled only on i386, but ...



details:   https://anonhg.NetBSD.org/src/rev/c1a3798abf94
branches:  trunk
changeset: 514757:c1a3798abf94
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Mon Sep 10 10:08:10 2001 +0000

description:
Add agp files (enabled only on i386, but the main code itself should not
be MD, so could be enabled on other platforms).

diffstat:

 sys/arch/i386/conf/files.i386 |  24 +++++++++++++++++++++---
 1 files changed, 21 insertions(+), 3 deletions(-)

diffs (62 lines):

diff -r 92ea5c67a2e3 -r c1a3798abf94 sys/arch/i386/conf/files.i386
--- a/sys/arch/i386/conf/files.i386     Mon Sep 10 10:06:54 2001 +0000
+++ b/sys/arch/i386/conf/files.i386     Mon Sep 10 10:08:10 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.i386,v 1.193 2001/09/09 18:36:36 perry Exp $
+#      $NetBSD: files.i386,v 1.194 2001/09/10 10:08:10 fvdl Exp $
 #
 # new style config file for i386 architecture
 #
@@ -35,6 +35,9 @@
 # Performance counter support
 defopt PERFCTRS
 
+# MTRR support
+defopt MTRR
+
 # X server support in console drivers
 defopt opt_xserver.h   XSERVER XSERVER_DDB
 
@@ -71,6 +74,7 @@
 file   arch/i386/i386/math_emulate.c   math_emulate
 file   arch/i386/i386/mem.c
 file   arch/i386/i386/microtime.s
+file   arch/i386/i386/mtrr_i686.c      mtrr
 file   netns/ns_cksum.c                ns
 file   arch/i386/i386/pmap.c
 file   arch/i386/i386/process_machdep.c
@@ -139,6 +143,8 @@
 attach mainbus at root
 file   arch/i386/i386/mainbus.c        mainbus
 
+define agpbus { }
+
 #
 # PCI-only drivers
 # XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches
@@ -163,11 +169,23 @@
 file   arch/i386/pci/pcic_pci_machdep.c        pcic_pci
 
 # PCI-Host bridge chipsets
-device pchb: pcibus
+device pchb: pcibus, agpbus
 attach pchb at pci
-file   arch/i386/pci/pchb.c            pchb
+file   arch/i386/pci/pchb.c            pchb                    needs-flag
 file   arch/i386/pci/pchb_rnd.c        pchb & rnd
 
+# AGP control devices inside PCI-Host bridges
+device         agp
+attach         agp at agpbus
+file   dev/pci/agp.c                   agp                     needs-flag
+file   dev/pci/agp_ali.c               agp
+file   dev/pci/agp_amd.c               agp
+file   dev/pci/agp_intel.c             agp
+file   dev/pci/agp_sis.c               agp
+file   dev/pci/agp_via.c               agp
+file   dev/pci/agp_i810.c              agp
+file   arch/i386/pci/agp_machdep.c     agp
+
 # PCI-EISA bridges
 device pceb: eisabus, isabus
 attach pceb at pci



Home | Main Index | Thread Index | Old Index