summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-06-25 14:51:20 +0000
committersam <sam@FreeBSD.org>2003-06-25 14:51:20 +0000
commit238cc0309208f9a374c1f6910af8f3e6396b7535 (patch)
tree812420525ae973f81a7147ad13ad104064152db1 /sys
parent11d0a3004d55a830821dee366eea031ffb353eae (diff)
downloadFreeBSD-src-238cc0309208f9a374c1f6910af8f3e6396b7535.zip
FreeBSD-src-238cc0309208f9a374c1f6910af8f3e6396b7535.tar.gz
config+build glue for Atheros support
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/files4
-rw-r--r--sys/conf/files.i3866
-rw-r--r--sys/conf/kern.pre.mk3
-rw-r--r--sys/conf/options8
4 files changed, 21 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 7fcc74f..a679097 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -190,6 +190,7 @@ contrib/dev/acpica/utmath.c optional acpi
contrib/dev/acpica/utmisc.c optional acpi
contrib/dev/acpica/utobject.c optional acpi
contrib/dev/acpica/utxface.c optional acpi
+contrib/dev/ath/freebsd/ah_osdep.c optional ath_hal
contrib/ipfilter/netinet/fil.c optional ipfilter inet
contrib/ipfilter/netinet/ip_auth.c optional ipfilter inet
contrib/ipfilter/netinet/ip_fil.c optional ipfilter inet
@@ -316,6 +317,9 @@ dev/ata/atapi-cd.c optional atapicd
dev/ata/atapi-fd.c optional atapifd
dev/ata/atapi-tape.c optional atapist
dev/ata/atapi-cam.c optional atapicam
+dev/ath/if_ath.c optional ath
+dev/ath/if_ath_pci.c optional ath pci
+dev/ath/if_ath_pci.c optional ath card
dev/awi/am79c930.c optional awi
dev/awi/awi.c optional awi
dev/awi/awi_wep.c optional awi
diff --git a/sys/conf/files.i386 b/sys/conf/files.i386
index ca3f95d..ca1ca7d 100644
--- a/sys/conf/files.i386
+++ b/sys/conf/files.i386
@@ -56,6 +56,12 @@ trlld.o optional oltr \
compile-with "uudecode < $S/contrib/dev/oltr/i386-elf.trlld.o.uu" \
no-implicit-rule
#
+hal.o optional ath_hal \
+ dependency "$S/contrib/dev/ath/freebsd/i386-elf.hal.o.uu" \
+ compile-with "uudecode < $S/contrib/dev/ath/freebsd/i386-elf.hal.o.uu" \
+ no-implicit-rule
+#
+#
compat/linux/linux_file.c optional compat_linux
compat/linux/linux_getcwd.c optional compat_linux
compat/linux/linux_ioctl.c optional compat_linux
diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk
index 355fbef..66c2908 100644
--- a/sys/conf/kern.pre.mk
+++ b/sys/conf/kern.pre.mk
@@ -32,6 +32,9 @@ INCLUDES+= -I$S/contrib/dev/acpica
# ... and the same for ipfilter
INCLUDES+= -I$S/contrib/ipfilter
+# ... and the same for Atheros HAL
+INCLUDES+= -I$S/contrib/dev/ath -I$S/contrib/dev/ath/freebsd
+
COPTS= ${INCLUDES} -D_KERNEL -include opt_global.h
CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS} -fno-common
diff --git a/sys/conf/options b/sys/conf/options
index 5f6b713..cf0f70d 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -644,3 +644,11 @@ KBD_MAXRETRY opt_kbd.h
KBD_MAXWAIT opt_kbd.h
KBD_RESETDELAY opt_kbd.h
KBDIO_DEBUG opt_kbd.h
+
+# options for the Atheros HAL (only useful with source code)
+AH_SUPPORT_AR5210 opt_ah.h
+AH_SUPPORT_AR5211 opt_ah.h
+AH_SUPPORT_AR5212 opt_ah.h
+AH_DEBUG opt_ah.h
+AH_DEBUG_ALQ opt_ah.h
+AH_ASSERT opt_ah.h
OpenPOWER on IntegriCloud