- Add few VIA bridges to agp_via.c and connect it to amd64 build

as they support Intel Core/Core 2 and VIA Nano processors.
- Align "optional agp" in conf/files.* for consistency while I am here.
This commit is contained in:
Jung-uk Kim 2009-01-23 17:48:18 +00:00
parent e588eeb1dc
commit 129dec4245
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=187633
5 changed files with 28 additions and 18 deletions

View File

@ -132,9 +132,10 @@ crypto/via/padlock.c optional padlock
crypto/via/padlock_cipher.c optional padlock crypto/via/padlock_cipher.c optional padlock
crypto/via/padlock_hash.c optional padlock crypto/via/padlock_hash.c optional padlock
dev/acpica/acpi_if.m standard dev/acpica/acpi_if.m standard
dev/agp/agp_amd64.c optional agp dev/agp/agp_amd64.c optional agp
dev/agp/agp_i810.c optional agp dev/agp/agp_i810.c optional agp
dev/agp/agp_intel.c optional agp dev/agp/agp_intel.c optional agp
dev/agp/agp_via.c optional agp
dev/arcmsr/arcmsr.c optional arcmsr pci dev/arcmsr/arcmsr.c optional arcmsr pci
dev/asmc/asmc.c optional asmc isa dev/asmc/asmc.c optional asmc isa
dev/atkbdc/atkbd.c optional atkbd atkbdc dev/atkbdc/atkbd.c optional atkbd atkbdc

View File

@ -118,15 +118,15 @@ crypto/via/padlock.c optional padlock
crypto/via/padlock_cipher.c optional padlock crypto/via/padlock_cipher.c optional padlock
crypto/via/padlock_hash.c optional padlock crypto/via/padlock_hash.c optional padlock
dev/advansys/adv_isa.c optional adv isa dev/advansys/adv_isa.c optional adv isa
dev/agp/agp_ali.c optional agp dev/agp/agp_ali.c optional agp
dev/agp/agp_amd.c optional agp dev/agp/agp_amd.c optional agp
dev/agp/agp_amd64.c optional agp dev/agp/agp_amd64.c optional agp
dev/agp/agp_ati.c optional agp dev/agp/agp_ati.c optional agp
dev/agp/agp_i810.c optional agp dev/agp/agp_i810.c optional agp
dev/agp/agp_intel.c optional agp dev/agp/agp_intel.c optional agp
dev/agp/agp_nvidia.c optional agp dev/agp/agp_nvidia.c optional agp
dev/agp/agp_sis.c optional agp dev/agp/agp_sis.c optional agp
dev/agp/agp_via.c optional agp dev/agp/agp_via.c optional agp
dev/aic/aic_isa.c optional aic isa dev/aic/aic_isa.c optional aic isa
dev/arcmsr/arcmsr.c optional arcmsr pci dev/arcmsr/arcmsr.c optional arcmsr pci
dev/ar/if_ar.c optional ar dev/ar/if_ar.c optional ar

View File

@ -77,13 +77,13 @@ bf_enc.o optional crypto | ipsec \
compile-with "${CC} -c -I$S/crypto/blowfish/arch/i386 ${ASM_CFLAGS} ${WERROR} ${.IMPSRC}" \ compile-with "${CC} -c -I$S/crypto/blowfish/arch/i386 ${ASM_CFLAGS} ${WERROR} ${.IMPSRC}" \
no-implicit-rule no-implicit-rule
crypto/des/arch/i386/des_enc.S optional crypto | ipsec | netsmb crypto/des/arch/i386/des_enc.S optional crypto | ipsec | netsmb
dev/agp/agp_ali.c optional agp dev/agp/agp_ali.c optional agp
dev/agp/agp_amd.c optional agp dev/agp/agp_amd.c optional agp
dev/agp/agp_i810.c optional agp dev/agp/agp_i810.c optional agp
dev/agp/agp_intel.c optional agp dev/agp/agp_intel.c optional agp
dev/agp/agp_nvidia.c optional agp dev/agp/agp_nvidia.c optional agp
dev/agp/agp_sis.c optional agp dev/agp/agp_sis.c optional agp
dev/agp/agp_via.c optional agp dev/agp/agp_via.c optional agp
dev/aic/aic_cbus.c optional aic isa dev/aic/aic_cbus.c optional aic isa
dev/ar/if_ar.c optional ar dev/ar/if_ar.c optional ar
dev/ar/if_ar_pci.c optional ar pci dev/ar/if_ar_pci.c optional ar pci

View File

@ -85,8 +85,14 @@ agp_via_match(device_t dev)
return ("VIA 3296 (P4M800) host to PCI bridge"); return ("VIA 3296 (P4M800) host to PCI bridge");
case 0x03051106: case 0x03051106:
return ("VIA 82C8363 (Apollo KT133x/KM133) host to PCI bridge"); return ("VIA 82C8363 (Apollo KT133x/KM133) host to PCI bridge");
case 0x03141106:
return ("VIA 3314 (P4M800CE) host to PCI bridge");
case 0x03241106: case 0x03241106:
return ("VIA VT3324 (CX700) host to PCI bridge"); return ("VIA VT3324 (CX700) host to PCI bridge");
case 0x03271106:
return ("VIA 3327 (P4M890) host to PCI bridge");
case 0x03641106:
return ("VIA 3364 (P4M900) host to PCI bridge");
case 0x03911106: case 0x03911106:
return ("VIA 8371 (Apollo KX133) host to PCI bridge"); return ("VIA 8371 (Apollo KX133) host to PCI bridge");
case 0x05011106: case 0x05011106:
@ -168,7 +174,10 @@ agp_via_attach(device_t dev)
case 0x02591106: case 0x02591106:
case 0x02691106: case 0x02691106:
case 0x02961106: case 0x02961106:
case 0x03141106:
case 0x03241106: case 0x03241106:
case 0x03271106:
case 0x03641106:
case 0x31231106: case 0x31231106:
case 0x31681106: case 0x31681106:
case 0x31891106: case 0x31891106:

View File

@ -12,7 +12,7 @@ SRCS+= agp_i810.c agp_intel.c agp_via.c agp_sis.c agp_ali.c agp_amd.c \
SRCS+= agp_amd64.c SRCS+= agp_amd64.c
.endif .endif
.if ${MACHINE_ARCH} == "amd64" .if ${MACHINE_ARCH} == "amd64"
SRCS+= agp_amd64.c agp_i810.c SRCS+= agp_amd64.c agp_i810.c agp_via.c
.endif .endif
SRCS+= device_if.h bus_if.h agp_if.h pci_if.h SRCS+= device_if.h bus_if.h agp_if.h pci_if.h
SRCS+= opt_bus.h SRCS+= opt_bus.h