Import config(9) file and register HAL's files in the build machinery.

This commit is contained in:
alc 2008-12-11 05:42:18 +00:00
parent b297f5e6b5
commit 1c52cf4c6b
13 changed files with 51 additions and 15 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: std.amd64,v 1.6 2008/04/30 22:08:18 ad Exp $
# $NetBSD: std.amd64,v 1.7 2008/12/11 05:42:18 alc Exp $
#
# standard, required NetBSD/amd64 'options'
@ -15,3 +15,5 @@ mainbus0 at root
cpu* at mainbus?
ioapic* at mainbus? apid ?
# Atheros HAL options
include "external/isc/atheros_hal/conf/std.ath_hal"

View File

@ -1,4 +1,4 @@
# $NetBSD: std.xen,v 1.4 2008/11/13 01:45:48 cegger Exp $
# $NetBSD: std.xen,v 1.5 2008/12/11 05:42:18 alc Exp $
# NetBSD: std.i386,v 1.24 2003/02/26 21:33:36 fvdl Exp
#
# standard, required NetBSD/i386 'options'
@ -14,3 +14,6 @@ options CPU_IN_CKSUM
options EXEC_ELF64 # exec ELF binaries
options EXEC_SCRIPT # exec #! scripts
options MTRR
# Atheros HAL options
include "external/isc/atheros_hal/conf/std.ath_hal"

View File

@ -1,4 +1,4 @@
# $NetBSD: std.adm5120,v 1.1 2007/03/20 08:52:01 dyoung Exp $
# $NetBSD: std.adm5120,v 1.2 2008/12/11 05:42:18 alc Exp $
machine evbmips mips
include "conf/std" # MI standard options
@ -16,3 +16,6 @@ makeoptions BOARDTYPE="adm5120"
include "arch/evbmips/conf/files.adm5120"
include "arch/mips/conf/files.adm5120"
# Atheros HAL options
include "external/isc/atheros_hal/conf/std.ath_hal"

View File

@ -1,4 +1,4 @@
# $NetBSD: std.alchemy,v 1.3 2006/03/28 03:43:57 gdamore Exp $
# $NetBSD: std.alchemy,v 1.4 2008/12/11 05:42:18 alc Exp $
machine evbmips mips
include "conf/std" # MI standard options
@ -15,3 +15,6 @@ makeoptions BOARDTYPE="alchemy"
include "arch/evbmips/conf/files.alchemy"
include "arch/mips/conf/files.alchemy"
# Atheros HAL options
include "external/isc/atheros_hal/conf/std.ath_hal"

View File

@ -1,4 +1,4 @@
# $NetBSD: std.atheros,v 1.3 2006/09/26 06:37:32 gdamore Exp $
# $NetBSD: std.atheros,v 1.4 2008/12/11 05:42:18 alc Exp $
machine evbmips mips
include "conf/std" # MI standard options
@ -13,3 +13,6 @@ makeoptions BOARDTYPE="atheros"
include "arch/evbmips/conf/files.atheros"
include "arch/mips/conf/files.atheros"
# Atheros HAL options
include "external/isc/atheros_hal/conf/std.ath_hal"

View File

@ -1,4 +1,4 @@
# $NetBSD: std.malta,v 1.5 2005/12/11 12:17:11 christos Exp $
# $NetBSD: std.malta,v 1.6 2008/12/11 05:42:18 alc Exp $
machine evbmips mips
include "conf/std" # MI standard options
@ -15,3 +15,6 @@ makeoptions DEFTEXTADDR="0x80100000"
makeoptions BOARDTYPE="malta"
include "arch/evbmips/conf/files.malta"
# Atheros HAL options
include "external/isc/atheros_hal/conf/std.ath_hal"

View File

@ -1,4 +1,4 @@
# $NetBSD: std.meraki,v 1.1 2006/09/26 06:37:32 gdamore Exp $
# $NetBSD: std.meraki,v 1.2 2008/12/11 05:42:18 alc Exp $
machine evbmips mips
include "conf/std" # MI standard options
@ -13,3 +13,6 @@ makeoptions BOARDTYPE="atheros"
include "arch/evbmips/conf/files.atheros"
include "arch/mips/conf/files.atheros"
# Atheros HAL options
include "external/isc/atheros_hal/conf/std.ath_hal"

View File

@ -1,4 +1,4 @@
# $NetBSD: std.i386,v 1.28 2008/04/30 15:29:12 ad Exp $
# $NetBSD: std.i386,v 1.29 2008/12/11 05:42:18 alc Exp $
#
# standard, required NetBSD/i386 'options'
@ -19,3 +19,6 @@ options MPBIOS # configure CPUs and APICs using MPBIOS
mainbus0 at root
cpu* at mainbus?
ioapic* at mainbus?
# Atheros HAL options
include "external/isc/atheros_hal/conf/std.ath_hal"

View File

@ -1,4 +1,4 @@
# $NetBSD: std.macppc,v 1.22 2007/10/17 19:55:17 garbled Exp $
# $NetBSD: std.macppc,v 1.23 2008/12/11 05:42:18 alc Exp $
#
# Standard/required options for NetBSD/macppc.
@ -16,3 +16,6 @@ options EXEC_AOUT # (native) a.out binary support (deprecated)
options EXEC_SCRIPT # shell script support
options INTSTK=0x2000
# Atheros HAL options
include "external/isc/atheros_hal/conf/std.ath_hal"

View File

@ -15,3 +15,6 @@ options EXEC_AOUT # (native) a.out binary support (deprecated)
options EXEC_SCRIPT # shell script support
options INTSTK=0x2000
# Atheros HAL options
include "external/isc/atheros_hal/conf/std.ath_hal"

View File

@ -1,4 +1,4 @@
# $NetBSD: std.sparc64,v 1.17 2008/02/03 13:27:12 martin Exp $
# $NetBSD: std.sparc64,v 1.18 2008/12/11 05:42:18 alc Exp $
#
# Mandatory NetBSD/sparc64 kernel options when building either 32-bit or
@ -15,3 +15,6 @@ options EXEC_SCRIPT # execve(2) support for scripts
options EXEC_ELF64 # 64-bit NetBSD and SunOS 5 bins
options CPU_IN_CKSUM # use optimized checksum method
# Atheros HAL options
include "external/isc/atheros_hal/conf/std.ath_hal"

View File

@ -1,4 +1,4 @@
# $NetBSD: std.sparc64-32,v 1.1 2006/06/30 10:27:48 tsutsui Exp $
# $NetBSD: std.sparc64-32,v 1.2 2008/12/11 05:42:18 alc Exp $
#
# Unneeded NetBSD/sparc64 kernel options when building 32-bit kernels.
@ -10,3 +10,6 @@ no makeoptions LP64
makeoptions LP64="no"
no options EXEC_ELF64
# Atheros HAL options
include "external/isc/atheros_hal/conf/std.ath_hal"

View File

@ -1,4 +1,4 @@
# $NetBSD: files,v 1.929 2008/11/19 18:36:06 ad Exp $
# $NetBSD: files,v 1.930 2008/12/11 05:42:18 alc Exp $
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
@ -585,15 +585,16 @@ file dev/ic/am79c930.c awi
device wi: arp, wlan, ifnet
file dev/ic/wi.c wi
# Atheros HAL
#
include "external/isc/atheros_hal/conf/files.ath_hal"
# Atheros 5210/5211/5212 multi-mode 802.11
#
defflag opt_athhal.h ATHHAL_ASSERT ATHHAL_DEBUG ATHHAL_DEBUG_ALQ
device ath: arp, wlan, ifnet
file dev/ic/ath.c ath
file dev/ic/ath_netbsd.c ath
file dev/ic/athrate-sample.c ath
file contrib/dev/ath/netbsd/ah_osdep.c ath
object /athhal.o ath
# ADMtek ADM8211 802.11
#