summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-11-28 00:16:30 +0000
committersam <sam@FreeBSD.org>2008-11-28 00:16:30 +0000
commit5771d5a17cc7a16b1c69c4834b4b89f8506a0b1b (patch)
tree195babb1a23622b28246f729add06be50a399f23
parente0752b627b8facba40d9f4daae09c6833bb1daec (diff)
downloadFreeBSD-src-5771d5a17cc7a16b1c69c4834b4b89f8506a0b1b.zip
FreeBSD-src-5771d5a17cc7a16b1c69c4834b4b89f8506a0b1b.tar.gz
remove unneeded stuff
-rw-r--r--COPYRIGHT18
-rw-r--r--README47
-rw-r--r--linux/Makefile373
-rw-r--r--linux/Makefile.inc604
-rw-r--r--linux/ah_osdep.c566
-rw-r--r--linux/ah_osdep.h205
-rw-r--r--public/alpha-elf.inc57
-rw-r--r--public/ap30.inc50
-rw-r--r--public/ap43.inc50
-rw-r--r--public/ap51.inc50
-rw-r--r--public/ap61.inc50
-rw-r--r--public/arm9-le-thumb-elf.inc59
-rw-r--r--public/armv4-be-elf.inc55
-rw-r--r--public/armv4-le-elf.inc55
-rw-r--r--public/i386-elf.inc39
-rw-r--r--public/mips-be-elf.inc56
-rw-r--r--public/mips-le-elf.inc53
-rw-r--r--public/mips1-be-elf.inc53
-rw-r--r--public/mips1-le-elf.inc53
-rw-r--r--public/mipsisa32-be-elf.inc57
-rw-r--r--public/mipsisa32-le-elf.inc55
-rw-r--r--public/powerpc-be-eabi.inc57
-rw-r--r--public/powerpc-be-elf.inc53
-rw-r--r--public/powerpc-le-eabi.inc56
-rw-r--r--public/sh4-le-elf.inc43
-rw-r--r--public/sparc-be-elf.inc53
-rw-r--r--public/sparc64-be-elf.inc64
-rw-r--r--public/wackelf.c103
-rw-r--r--public/wisoc.inc50
-rw-r--r--public/x86_64-elf.inc44
-rw-r--r--public/xscale-be-elf.inc62
-rw-r--r--public/xscale-le-elf.inc63
32 files changed, 0 insertions, 3253 deletions
diff --git a/COPYRIGHT b/COPYRIGHT
deleted file mode 100644
index 58bf05c..0000000
--- a/COPYRIGHT
+++ /dev/null
@@ -1,18 +0,0 @@
-All files are under this license where not stated.
-
-/*
- * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
- * Copyright (c) 2002-2008 Atheros Communications, Inc.
- *
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
diff --git a/README b/README
deleted file mode 100644
index f6d03d1..0000000
--- a/README
+++ /dev/null
@@ -1,47 +0,0 @@
-$Id: README,v 1.1.1.1 2008/08/20 04:41:19 sam Exp $
-
-Atheros Hardware Access Layer (HAL)
-===================================
-
-Read the file COPYRIGHT for the complete copyright.
-
-This code manages much of the chip-specific operation of the Atheros
-driver.
-
-Atheros Hardware
-================
-There are many generations of Atheros 802.11 wireless devices that
-are typically referred to by their programming model:
-
-5210 supports 11a only
-5211 supports both 11a and 11b
-5212 supports 11a, 11b, and 11g
-
-These parts have been incorporated in a variety of retail products
-including cardbus cards and mini-pci cards. In addition many laptop
-vendors use Atheros mini-pci cards for their builtin wireless
-support.
-
-The Atheros PCI vendor id is 0x168c. The file ah_devid.h lists most
-known PCI device id's but is not exhaustive. Some vendors program
-their own vendor and/or device id's to aid in BIOS-locking mini-pci
-cards in laptops.
-
-Atheros SoC Hardware
-====================
-In addition to the cardbus/pci devices Atheros makes System on Chip
-(SoC) parts that integrate a MIPS cpu core and one or more MAC and
-radio parts. Support for these parts is necessarily built
-for the embedded MIPS processor where the code is to be run.
-
-Caveats
-=======
-The binary hal builds provided here include no floating point and
-are operating system-independent. However due to toolchain
-peculiarities the .o files may be wrongly rejected by development
-tools. If that happens it may be possible to patch the file header
-so that the native toolchain will accept the files. In particular
-this has been observed for various Linux MIPS installations for the
-SoC parts. If you have issues consult the associated .inc file in
-the public directory; it explains exactly how the binary file was
-created (e.g. toolchain and compilation options).
diff --git a/linux/Makefile b/linux/Makefile
deleted file mode 100644
index b2b4a02..0000000
--- a/linux/Makefile
+++ /dev/null
@@ -1,373 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: Makefile,v 1.3 2008/11/10 03:37:38 sam Exp $
-#
-DEPTH= ..
-
-#
-# Makefile for building the Atheros/MADWIFI HAL from source code with gmake
-#
-HAL= ${DEPTH}
-PUBLIC= ${HAL}/public
-DEBUG_OPTS=AH_DEBUG=1 AH_ASSERT=1
-
-#
-ifdef TARGET
-ALL= ${TARGET}
-else
-ALL= i386-elf \
- x86_64-elf \
- alpha-elf \
- arm-elf \
- mipsisa32-be-elf mips3-elf mips2-elf mips1-elf \
- powerpc-eabi powerpc-elf \
- sh4-elf sparc-elf soc
-endif
-#
-
-all: ${ALL}
-
-release:
- for i in ${ALL}; do \
- ${MAKE} $$i-release; \
- done
-
-debug:
- for i in ${ALL}; do \
- ${MAKE} $$i-debug; \
- done
-
-clean:
- for i in ${ALL}; do \
- ${MAKE} $$i-clean; \
- done
-
-#
-# XXX someone with some gmake foo should be able to do this right...
-#
-i386-elf: ${PUBLIC}/i386-elf.inc
- ${MAKE} -f Makefile.inc TARGET=i386-elf
-i386-elf-release:
- ${MAKE} -f Makefile.inc TARGET=i386-elf release
-i386-elf-debug:
- ${MAKE} -f Makefile.inc TARGET=i386-elf ${DEBUG_OPTS} debug
-i386-elf-clean:
- ${MAKE} -f Makefile.inc TARGET=i386-elf clean
-
-x86_64-elf: ${PUBLIC}/x86_64-elf.inc
- ${MAKE} -f Makefile.inc TARGET=x86_64-elf
-x86_64-elf-release:
- ${MAKE} -f Makefile.inc TARGET=x86_64-elf release
-x86_64-elf-debug:
- ${MAKE} -f Makefile.inc TARGET=x86_64-elf ${DEBUG_OPTS} debug
-x86_64-elf-clean:
- ${MAKE} -f Makefile.inc TARGET=x86_64-elf clean
-
-alpha-elf: ${PUBLIC}/alpha-elf.inc
- ${MAKE} -f Makefile.inc TARGET=alpha-elf
-alpha-elf-release:
- ${MAKE} -f Makefile.inc TARGET=alpha-elf release
-alpha-elf-debug:
- ${MAKE} -f Makefile.inc TARGET=alpha-elf ${DEBUG_OPTS} debug
-alpha-elf-clean:
- ${MAKE} -f Makefile.inc TARGET=alpha-elf clean
-
-arm-elf: armv4-be-elf armv4-le-elf arm9-le-thumb-elf xscale-elf
-arm-elf-release: armv4-be-elf-release armv4-le-elf-release \
- arm9-le-thumb-elf-release xscale-elf-release
-arm-elf-debug: armv4-be-elf-debug armv4-le-elf-debug \
- arm9-le-thumb-elf-debug xscale-elf-debug
-arm-elf-clean: armv4-be-elf-clean armv4-le-elf-clean \
- arm9-le-thumb-elf-clean xscale-elf-clean
-
-armv4-be-elf: ${PUBLIC}/armv4-be-elf.inc
- ${MAKE} -f Makefile.inc TARGET=armv4-be-elf
-armv4-be-elf-release:
- ${MAKE} -f Makefile.inc TARGET=armv4-be-elf release
-armv4-be-elf-debug:
- ${MAKE} -f Makefile.inc TARGET=armv4-be-elf ${DEBUG_OPTS} debug
-armv4-be-elf-clean:
- ${MAKE} -f Makefile.inc TARGET=armv4-be-elf clean
-armv4-le-elf: ${PUBLIC}/armv4-le-elf.inc
- ${MAKE} -f Makefile.inc TARGET=armv4-le-elf
-armv4-le-elf-release:
- ${MAKE} -f Makefile.inc TARGET=armv4-le-elf release
-armv4-le-elf-debug:
- ${MAKE} -f Makefile.inc TARGET=armv4-le-elf ${DEBUG_OPTS} debug
-armv4-le-elf-clean:
- ${MAKE} -f Makefile.inc TARGET=armv4-le-elf clean
-arm9-le-thumb-elf: ${PUBLIC}/arm9-le-thumb-elf.inc
- ${MAKE} -f Makefile.inc TARGET=arm9-le-thumb-elf
-arm9-le-thumb-elf-release:
- ${MAKE} -f Makefile.inc TARGET=arm9-le-thumb-elf release
-arm9-le-thumb-elf-debug:
- ${MAKE} -f Makefile.inc TARGET=arm9-le-thumb-elf ${DEBUG_OPTS} debug
-arm9-le-thumb-elf-clean:
- ${MAKE} -f Makefile.inc TARGET=arm9-le-thumb-elf clean
-
-xscale-elf: xscale-be-elf xscale-le-elf
-xscale-elf-release: xscale-be-elf-release xscale-le-elf-release
-xscale-elf-debug: xscale-be-elf-debug xscale-le-elf-debug
-xscale-elf-clean: xscale-be-elf-clean xscale-le-elf-clean
-
-xscale-be-elf: ${PUBLIC}/xscale-be-elf.inc
- ${MAKE} -f Makefile.inc TARGET=xscale-be-elf
-xscale-be-elf-release:
- ${MAKE} -f Makefile.inc TARGET=xscale-be-elf release
-xscale-be-elf-debug:
- ${MAKE} -f Makefile.inc TARGET=xscale-be-elf ${DEBUG_OPTS} debug
-xscale-be-elf-clean:
- ${MAKE} -f Makefile.inc TARGET=xscale-be-elf clean
-xscale-le-elf: ${PUBLIC}/xscale-le-elf.inc
- ${MAKE} -f Makefile.inc TARGET=xscale-le-elf
-xscale-le-elf-release:
- ${MAKE} -f Makefile.inc TARGET=xscale-le-elf release
-xscale-le-elf-debug:
- ${MAKE} -f Makefile.inc TARGET=xscale-le-elf ${DEBUG_OPTS} debug
-xscale-le-elf-clean:
- ${MAKE} -f Makefile.inc TARGET=xscale-le-elf clean
-
-mipsisa32-be-elf: mips3-be-elf
-mipsisa32-be-elf-release: mips3-be-elf-release
-mipsisa32-be-elf-debug: mips3-be-elf-debug
-mipsisa32-be-elf-clean: mips3-be-elf-clean
-
-mips3-elf: mips3-be-elf mips3-le-elf
-mips3-elf-release: mips3-be-elf-release mips3-le-elf-release
-mips3-elf-debug: mips3-be-elf-debug mips3-le-elf-debug
-mips3-elf-clean: mips3-be-elf-clean mips3-le-elf-clean
-
-# NB: the .inc file naming is historical and needs changing
-mips3-be-elf: ${PUBLIC}/mipsisa32-be-elf.inc
- ${MAKE} -f Makefile.inc TARGET=mipsisa32-be-elf
-mips3-be-elf-release:
- ${MAKE} -f Makefile.inc TARGET=mipsisa32-be-elf release
-mips3-be-elf-debug:
- ${MAKE} -f Makefile.inc TARGET=mipsisa32-be-elf ${DEBUG_OPTS} debug
-mips3-be-elf-clean:
- ${MAKE} -f Makefile.inc TARGET=mipsisa32-be-elf clean
-
-mips3-le-elf: ${PUBLIC}/mipsisa32-le-elf.inc
- ${MAKE} -f Makefile.inc TARGET=mipsisa32-le-elf
-mips3-le-elf-release:
- ${MAKE} -f Makefile.inc TARGET=mipsisa32-le-elf release
-mips3-le-elf-debug:
- ${MAKE} -f Makefile.inc TARGET=mipsisa32-le-elf ${DEBUG_OPTS} debug
-mips3-le-elf-clean:
- ${MAKE} -f Makefile.inc TARGET=mipsisa32-le-elf clean
-
-# NB: the .inc file naming is historical and needs changing
-mips2-elf: mips2-be-elf mips2-le-elf
-mips2-elf-release: mips2-be-elf-release mips2-le-elf-release
-mips2-elf-debug: mips2-be-elf-debug mips2-le-elf-debug
-mips2-elf-clean: mips2-be-elf-clean mips2-le-elf-clean
-
-mips2-be-elf: ${PUBLIC}/mips-be-elf.inc
- ${MAKE} -f Makefile.inc TARGET=mips-be-elf
-mips2-be-elf-release:
- ${MAKE} -f Makefile.inc TARGET=mips-be-elf release
-mips2-be-elf-debug:
- ${MAKE} -f Makefile.inc TARGET=mips-be-elf ${DEBUG_OPTS} debug
-mips2-be-elf-clean:
- ${MAKE} -f Makefile.inc TARGET=mips-be-elf clean
-
-mips2-le-elf: ${PUBLIC}/mips-le-elf.inc
- ${MAKE} -f Makefile.inc TARGET=mips-le-elf
-mips2-le-elf-release:
- ${MAKE} -f Makefile.inc TARGET=mips-le-elf release
-mips2-le-elf-debug:
- ${MAKE} -f Makefile.inc TARGET=mips-le-elf ${DEBUG_OPTS} debug
-mips2-le-elf-clean:
- ${MAKE} -f Makefile.inc TARGET=mips-le-elf clean
-
-mips1-elf: mips1-be-elf mips1-le-elf
-mips1-elf-release: mips1-be-elf-release mips1-le-elf-release
-mips1-elf-debug: mips1-be-elf-debug mips1-le-elf-debug
-mips1-elf-clean: mips1-be-elf-clean mips1-le-elf-clean
-
-mips1-be-elf: ${PUBLIC}/mips1-be-elf.inc
- ${MAKE} -f Makefile.inc TARGET=mips1-be-elf
-mips1-be-elf-release:
- ${MAKE} -f Makefile.inc TARGET=mips1-be-elf release
-mips1-be-elf-debug:
- ${MAKE} -f Makefile.inc TARGET=mips1-be-elf ${DEBUG_OPTS} debug
-mips1-be-elf-clean:
- ${MAKE} -f Makefile.inc TARGET=mips1-be-elf clean
-
-mips1-le-elf: ${PUBLIC}/mips1-le-elf.inc
- ${MAKE} -f Makefile.inc TARGET=mips1-le-elf
-mips1-le-elf-release:
- ${MAKE} -f Makefile.inc TARGET=mips1-le-elf release
-mips1-le-elf-debug:
- ${MAKE} -f Makefile.inc TARGET=mips1-le-elf ${DEBUG_OPTS} debug
-mips1-le-elf-clean:
- ${MAKE} -f Makefile.inc TARGET=mips1-le-elf clean
-
-powerpc-eabi: powerpc-be-eabi powerpc-le-eabi
-powerpc-eabi-release: powerpc-be-eabi-release powerpc-le-eabi-release
-powerpc-eabi-debug: powerpc-be-eabi-debug powerpc-le-eabi-debug
-powerpc-eabi-clean: powerpc-be-eabi-clean powerpc-le-eabi-clean
-
-powerpc-be-eabi: ${PUBLIC}/powerpc-be-eabi.inc
- ${MAKE} -f Makefile.inc TARGET=powerpc-be-eabi
-powerpc-be-eabi-release:
- ${MAKE} -f Makefile.inc TARGET=powerpc-be-eabi release
-powerpc-be-eabi-debug:
- ${MAKE} -f Makefile.inc TARGET=powerpc-be-eabi ${DEBUG_OPTS} debug
-powerpc-be-eabi-clean:
- ${MAKE} -f Makefile.inc TARGET=powerpc-be-eabi clean
-powerpc-le-eabi: ${PUBLIC}/powerpc-le-eabi.inc
- ${MAKE} -f Makefile.inc TARGET=powerpc-le-eabi
-powerpc-le-eabi-release:
- ${MAKE} -f Makefile.inc TARGET=powerpc-le-eabi release
-powerpc-le-eabi-debug:
- ${MAKE} -f Makefile.inc TARGET=powerpc-le-eabi ${DEBUG_OPTS} debug
-powerpc-le-eabi-clean:
- ${MAKE} -f Makefile.inc TARGET=powerpc-le-eabi clean
-
-powerpc-elf: powerpc-be-elf
-powerpc-elf-release: powerpc-be-elf-release
-powerpc-elf-debug: powerpc-be-elf-debug
-powerpc-elf-clean: powerpc-be-elf-clean
-
-powerpc-be-elf: ${PUBLIC}/powerpc-be-elf.inc
- ${MAKE} -f Makefile.inc TARGET=powerpc-be-elf
-powerpc-be-elf-release:
- ${MAKE} -f Makefile.inc TARGET=powerpc-be-elf release
-powerpc-be-elf-debug:
- ${MAKE} -f Makefile.inc TARGET=powerpc-be-elf ${DEBUG_OPTS} debug
-powerpc-be-elf-clean:
- ${MAKE} -f Makefile.inc TARGET=powerpc-be-elf clean
-
-sh4-elf: sh4-le-elf
-sh4-elf-release: sh4-le-elf-release
-sh4-elf-debug: sh4-le-elf-debug
-sh4-elf-clean: sh4-le-elf-clean
-
-sh4-le-elf: ${PUBLIC}/sh4-le-elf.inc
- ${MAKE} -f Makefile.inc TARGET=sh4-le-elf
-sh4-le-elf-release:
- ${MAKE} -f Makefile.inc TARGET=sh4-le-elf release
-sh4-le-elf-debug:
- ${MAKE} -f Makefile.inc TARGET=sh4-le-elf ${DEBUG_OPTS} debug
-sh4-le-elf-clean:
- ${MAKE} -f Makefile.inc TARGET=sh4-le-elf clean
-
-sparc-elf: sparc64-be-elf sparc-be-elf
-sparc-elf-release: sparc64-be-elf-release sparc-be-elf-release
-sparc-elf-debug: sparc64-be-elf-debug sparc-be-elf-debug
-sparc-elf-clean: sparc64-be-elf-clean sparc-be-elf-clean
-
-sparc64-be-elf: ${PUBLIC}/sparc64-be-elf.inc
- ${MAKE} -f Makefile.inc TARGET=sparc64-be-elf
-sparc64-be-elf-release:
- ${MAKE} -f Makefile.inc TARGET=sparc64-be-elf release
-sparc64-be-elf-debug:
- ${MAKE} -f Makefile.inc TARGET=sparc64-be-elf ${DEBUG_OPTS} debug
-sparc64-be-elf-clean:
- ${MAKE} -f Makefile.inc TARGET=sparc64-be-elf clean
-
-sparc-be-elf: ${PUBLIC}/sparc-be-elf.inc
- ${MAKE} -f Makefile.inc TARGET=sparc-be-elf
-sparc-be-elf-release:
- ${MAKE} -f Makefile.inc TARGET=sparc-be-elf release
-sparc-be-elf-debug:
- ${MAKE} -f Makefile.inc TARGET=sparc-be-elf ${DEBUG_OPTS} debug
-sparc-be-elf-clean:
- ${MAKE} -f Makefile.inc TARGET=sparc-be-elf clean
-
-#
-# SoC builds
-#
-# Use the ap43 build for an ap48 board
-#
-soc: ap30 ap43 ap51 ap61 wisoc
-soc-release: ap30-release ap43-release ap51-release ap61-release wisoc-release
-soc-debug: ap30-debug ap43-debug ap51-debug ap61-debug wisoc-debug
-soc-clean: ap30-clean ap43-clean ap51-clean ap61-clean wisoc-clean
-
-ap30: ${PUBLIC}/ap30.inc
- ${MAKE} -f Makefile.inc TARGET=ap30 \
- AH_SUPPORT_AR5312=1 AH_NEED_DESC_SWAP=1
-ap30-release: ${PUBLIC}/ap30.inc
- ${MAKE} -f Makefile.inc TARGET=ap30 \
- AH_SUPPORT_AR5312=1 AH_NEED_DESC_SWAP=1 release
-ap30-debug: ${PUBLIC}/ap30.inc
- ${MAKE} -f Makefile.inc TARGET=ap30 \
- AH_SUPPORT_AR5312=1 AH_NEED_DESC_SWAP=1 ${DEBUG_OPTS} debug
-ap30-clean:
- ${MAKE} -f Makefile.inc TARGET=ap30 clean
-
-ap43: ${PUBLIC}/ap43.inc
- ${MAKE} -f Makefile.inc TARGET=ap43 AH_SUPPORT_AR5312=1
-ap43-release: ${PUBLIC}/ap43.inc
- ${MAKE} -f Makefile.inc TARGET=ap43 AH_SUPPORT_AR5312=1 release
-ap43-debug: ${PUBLIC}/ap43.inc
- ${MAKE} -f Makefile.inc TARGET=ap43 AH_SUPPORT_AR5312=1 ${DEBUG_OPTS} debug
-ap43-clean:
- ${MAKE} -f Makefile.inc TARGET=ap43 clean
-
-ap51: ${PUBLIC}/ap51.inc
- ${MAKE} -f Makefile.inc TARGET=ap51 \
- AH_SUPPORT_2316=1 AH_SUPPORT_5111=0 AH_SUPPORT_5112=0 \
- AH_SUPPORT_AR5312=1 AH_NEED_DESC_SWAP=1
-ap51-release: ${PUBLIC}/ap51.inc
- ${MAKE} -f Makefile.inc TARGET=ap51 \
- AH_SUPPORT_2316=1 AH_SUPPORT_5111=0 AH_SUPPORT_5112=0 \
- AH_SUPPORT_AR5312=1 AH_NEED_DESC_SWAP=1 release
-ap51-debug: ${PUBLIC}/ap51.inc
- ${MAKE} -f Makefile.inc TARGET=ap51 \
- AH_SUPPORT_2316=1 AH_SUPPORT_5111=0 AH_SUPPORT_5112=0 \
- AH_SUPPORT_AR5312=1 AH_NEED_DESC_SWAP=1 ${DEBUG_OPTS} debug
-ap51-clean:
- ${MAKE} -f Makefile.inc TARGET=ap51 clean
-
-ap61: ${PUBLIC}/ap61.inc
- ${MAKE} -f Makefile.inc TARGET=ap61 \
- AH_SUPPORT_2317=1 AH_SUPPORT_5111=0 AH_SUPPORT_5112=0 \
- AH_SUPPORT_AR5312=1
-ap61-release: ${PUBLIC}/ap61.inc
- ${MAKE} -f Makefile.inc TARGET=ap61 \
- AH_SUPPORT_2317=1 AH_SUPPORT_5111=0 AH_SUPPORT_5112=0 \
- AH_SUPPORT_AR5312=1 release
-ap61-debug: ${PUBLIC}/ap61.inc
- ${MAKE} -f Makefile.inc TARGET=ap61 \
- AH_SUPPORT_2317=1 AH_SUPPORT_5111=0 AH_SUPPORT_5112=0 \
- AH_SUPPORT_AR5312=1 ${DEBUG_OPTS} debug
-ap61-clean:
- ${MAKE} -f Makefile.inc TARGET=ap61 clean
-
-wisoc: ${PUBLIC}/wisoc.inc
- ${MAKE} -f Makefile.inc TARGET=wisoc \
- AH_SUPPORT_2316=1 \
- AH_SUPPORT_2317=1 \
- AH_NEED_DESC_SWAP=1 \
- AH_SUPPORT_AR5312=1
-wisoc-release: ${PUBLIC}/wisoc.inc
- ${MAKE} -f Makefile.inc TARGET=wisoc \
- AH_SUPPORT_2316=1 \
- AH_SUPPORT_2317=1 \
- AH_NEED_DESC_SWAP=1 \
- AH_SUPPORT_AR5312=1 release
-wisoc-debug: ${PUBLIC}/wisoc.inc
- ${MAKE} -f Makefile.inc TARGET=wisoc \
- AH_SUPPORT_2316=1 \
- AH_SUPPORT_2317=1 \
- AH_NEED_DESC_SWAP=1 \
- AH_SUPPORT_AR5312=1 ${DEBUG_OPTS} debug
-wisoc-clean:
- ${MAKE} -f Makefile.inc TARGET=wisoc clean
diff --git a/linux/Makefile.inc b/linux/Makefile.inc
deleted file mode 100644
index 3078959..0000000
--- a/linux/Makefile.inc
+++ /dev/null
@@ -1,604 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: Makefile.inc,v 1.9 2008/11/10 03:37:38 sam Exp $
-#
-HAL= ..
-PUBLIC= ${HAL}/public
-DEBUG= ${HAL}/debug
-#
-# Makefile for building the Atheros/MADWIFI HAL from source code on Linux.
-#
-# This file is intended to be called by the Makefile in the hal
-# directory with TARGET set to the desired target platform.
-#
-# There is support for multiple "generations" of Atheros hardware devices:
-#
-# AH_SUPPORT_AR5210 802.11a only MAC
-# AH_SUPPORT_AR5211 802.11a+802.11b MAC (also pure g, but not yet supported)
-# AH_SUPPORT_AR5212 802.11a+802.11b+802.11g MAC
-# AH_SUPPORT_AR5312 5212 MAC WiSoC (requires AH_SUPPORT_AR5212)
-# AH_SUPPORT_AR5416 802.11a+802.11g+802.11n MAC (requires AH_SUPPORT_5212)
-# AH_SUPPORT_AR9160 802.11a+802.11g+802.11n MAC (requires AH_SUPPORT_5416)
-#
-# AH_SUPPORT_2133 2133 RF support for 5416
-# AH_SUPPORT_2316 2316 RF (Cobra) support for 5212 et. al.
-# AH_SUPPORT_2317 2317 RF (Spyder) support for 5212 et. al.
-# AH_SUPPORT_2413 2413 RF support for 5212 et. al.
-# AH_SUPPORT_2417 2425 RF (Nala) support for 5212 et. al.
-# AH_SUPPORT_2425 2425 RF (Swan) support for 5212 et. al.
-# AH_SUPPORT_5111 5111 RF support for 5212 et. al.
-# AH_SUPPORT_5112 5112 RF support for 5212 et. al.
-# AH_SUPPORT_5413 5413 RF support for 5212 et. al.
-#
-# and numerous optional debugging facilities (typically named AH_DEBUG_*):
-#
-# AH_DEBUG enables debugging stuff that's controlled by the sysctl:
-# hw.ath.hal.debug
-# AH_ASSERT enables assertions that panic or trap into the debugger.
-# AH_DEBUG_ALQ enables support for tracing register reads+writes
-# via alq
-# AH_DEBUG_COUNTRY accept the CTR_DEBUG country code (for debugging
-# the regulatory domain support)
-# AH_REGOPS_FUNC arrange for OS_REG_READ and OS_REG_WRITE to be function
-# calls and not inline expanded to memory references
-# AH_ENABLE_AP_SUPPORT enables AP-specific support not publicly available
-# (e.g. don't cap turbo power limits)
-# AH_DISABLE_WME disable HAL_TXQ_USE_LOCKOUT_BKOFF_DIS support
-#
-# AH_PRIVATE_DIAG enable private diagnostic support
-# AH_WRITE_EEPROM permit EEPROM writes (use with AH_PRIVATE_DIAG)
-# AH_WRITE_REGDOMAIN permit EEPROM writes of the regulatory domain through
-# ah_setRegulatoryDomain (implies AH_WRITE_EEPROM)
-#
-
-#
-# Default settings...
-#
-AH_SUPPORT_AR5210?=1 # 5210 support
-AH_SUPPORT_AR5211?=1 # 5211 support
-AH_SUPPORT_AR5212?=1 # 5212 support
-AH_SUPPORT_AR5312?=0 # 5312 support
-AH_SUPPORT_AR5416?=1 # 5416 support
-AH_SUPPORT_AR9160?=0 # 9160 support
-AH_SUPPORT_2316?=0 # 2316 RF support
-AH_SUPPORT_2317?=0 # 2317 RF support
-AH_SUPPORT_2133?=0 # 2133 RF support
-AH_SUPPORT_2413?=1 # 2413 RF support
-AH_SUPPORT_2417?=1 # 2417 RF support
-AH_SUPPORT_2425?=1 # 2425 RF support
-AH_SUPPORT_5111?=1 # 5111 RF support
-AH_SUPPORT_5112?=1 # 5112 RF support
-AH_SUPPORT_5413?=1 # 5413 RF support
-
-AH_EEPROM_V3?=0 # v3+ EEPROM support
-AH_EEPROM_V14?=0 # v14+ EEPROM support
-
-AH_DEBUG?=0 # debugging (e.g. hw.ath.hal.debug)
-AH_ASSERT?=0 # assertions (pretty lame)
-AH_DEBUG_ALQ?=0 # ALQ register tracing support
-AH_REGOPS_FUNC?=0 # use inline memory references
-AH_WRITE_REGDOMAIN?=0 # support EEPROM writes of the regulatory domain
-AH_DEBUG_COUNTRY?=0 # accept CTR_DEBUG country code
-AH_DISABLE_WME?=0 # disable HAL_TXQ_USE_LOCKOUT_BKOFF_DIS
-AH_ENABLE_AP_SUPPORT?=0 # enable AP-specific support
-AH_WRITE_EEPROM?=0 # support EEPROM writes
-AH_PRIVATE_DIAG?=0 # non-public diagnostic support
-AH_NEED_DESC_SWAP?=0 # Need to swap TX descriptor
-AH_ENABLE_FORCEBIAS?=0 # 2133 orientation sensitivity
-
-#
-# If 5312 support is enabled it's certain we're not going
-# to use the 5210, 5211, or 5416 support so disable them.
-#
-ifeq ($(strip ${AH_SUPPORT_AR5312}),1)
-AH_SUPPORT_AR5210=0
-AH_SUPPORT_AR5211=0
-AH_SUPPORT_AR5416=0
-AH_SUPPORT_2133=0
-AH_SUPPORT_2413=0
-AH_SUPPORT_2417=0
-AH_SUPPORT_2425=0
-AH_SUPPORT_5413=0
-AH_SUPPORT_AR5212=1 # force 5212 support
-endif
-
-#
-# 5211 and 5212 require v3 EEPROM support; do it here
-# before we enable 5212 to support 5416 (this way we don't
-# pull in v3 support as a side effect).
-#
-ifeq ($(strip ${AH_SUPPORT_AR5212}),1)
-AH_EEPROM_V3=1
-endif
-ifeq ($(strip ${AH_SUPPORT_AR5211}),1)
-AH_EEPROM_V3=1
-endif
-
-#
-# If 9160 support is enabled force 5416 on also.
-#
-ifeq ($(strip ${AH_SUPPORT_AR9160}),1)
-AH_SUPPORT_AR5416=1
-endif
-
-#
-# If 5416 support is enabled force 5212 on also.
-#
-ifeq ($(strip ${AH_SUPPORT_AR5416}),1)
-AH_SUPPORT_AR5212=1
-endif
-
-#
-# 5416 support presently =>'s 2133 and force bias support;
-# do those automatically (but separately from 5212 for now).
-#
-ifeq ($(strip ${AH_SUPPORT_AR5416}),1)
-AH_SUPPORT_2133=1
-AH_ENABLE_FORCEBIAS=1
-AH_EEPROM_V14=1
-endif
-
-#
-# 2417 support presently requires 2425 support
-#
-ifeq ($(strip ${AH_SUPPORT_2417}),1)
-AH_SUPPORT_2425=1
-endif
-
-#
-# Basic build components.
-#
-OBJDIR= obj/${TARGET}
-
-WARNFLAGS=-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
- -Wmissing-prototypes -Winline -Wcast-qual -std=c99
-# NB: can't do this until we fix register r/w macros
-WARNFLAGS_NOTYET=-Wpointer-arith
-COPTS= -Werror -g -O ${WARNFLAGS}
-INCS= -I${OBJDIR} -I. -I..
-CLEANFILES= ${OBJDIR}/.depend
-
-include ${PUBLIC}/${TARGET}.inc
-
-CFLAGS= ${INCS} ${COPTS}
-
-HAL_SRCS=${HAL}/ah.c ${HAL}/ah_regdomain.c
-HAL_OBJS=${OBJDIR}/ah.o ${OBJDIR}/ah_regdomain.o
-
-ifeq ($(strip ${AH_EEPROM_V3}),1)
-HAL_SRCS+=${HAL}/ah_eeprom_v3.c
-HAL_OBJS+=${OBJDIR}/ah_eeprom_v3.o
-endif
-
-ifeq ($(strip ${AH_EEPROM_V14}),1)
-HAL_SRCS+=${HAL}/ah_eeprom_v14.c
-HAL_OBJS+=${OBJDIR}/ah_eeprom_v14.o
-endif
-
-ifeq ($(strip ${AH_SUPPORT_AR5210}),1)
-AR5210= ${HAL}/ar5210
-HAL_SRCS+=${AR5210}/ar5210_attach.c ${AR5210}/ar5210_beacon.c \
- ${AR5210}/ar5210_interrupts.c ${AR5210}/ar5210_keycache.c \
- ${AR5210}/ar5210_misc.c ${AR5210}/ar5210_power.c \
- ${AR5210}/ar5210_phy.c ${AR5210}/ar5210_recv.c \
- ${AR5210}/ar5210_reset.c ${AR5210}/ar5210_xmit.c
-HAL_OBJS+=${OBJDIR}/ar5210_attach.o ${OBJDIR}/ar5210_beacon.o \
- ${OBJDIR}/ar5210_interrupts.o ${OBJDIR}/ar5210_keycache.o \
- ${OBJDIR}/ar5210_misc.o ${OBJDIR}/ar5210_power.o \
- ${OBJDIR}/ar5210_phy.o ${OBJDIR}/ar5210_recv.o \
- ${OBJDIR}/ar5210_reset.o ${OBJDIR}/ar5210_xmit.o
-endif
-
-ifeq ($(strip ${AH_SUPPORT_AR5211}),1)
-AR5211= ${HAL}/ar5211
-HAL_SRCS+=${AR5211}/ar5211_attach.c ${AR5211}/ar5211_beacon.c \
- ${AR5211}/ar5211_interrupts.c ${AR5211}/ar5211_keycache.c \
- ${AR5211}/ar5211_misc.c ${AR5211}/ar5211_power.c \
- ${AR5211}/ar5211_phy.c ${AR5211}/ar5211_recv.c \
- ${AR5211}/ar5211_reset.c ${AR5211}/ar5211_xmit.c
-HAL_OBJS+=${OBJDIR}/ar5211_attach.o ${OBJDIR}/ar5211_beacon.o \
- ${OBJDIR}/ar5211_interrupts.o ${OBJDIR}/ar5211_keycache.o \
- ${OBJDIR}/ar5211_misc.o ${OBJDIR}/ar5211_power.o \
- ${OBJDIR}/ar5211_phy.o ${OBJDIR}/ar5211_recv.o \
- ${OBJDIR}/ar5211_reset.o ${OBJDIR}/ar5211_xmit.o
-endif
-
-ifeq ($(strip ${AH_SUPPORT_AR5212}),1)
-AR5212= ${HAL}/ar5212
-HAL_SRCS+=${AR5212}/ar5212_attach.c ${AR5212}/ar5212_beacon.c \
- ${AR5212}/ar5212_eeprom.c ${AR5212}/ar5212_gpio.c \
- ${AR5212}/ar5212_interrupts.c ${AR5212}/ar5212_keycache.c \
- ${AR5212}/ar5212_misc.c ${AR5212}/ar5212_power.c \
- ${AR5212}/ar5212_phy.c ${AR5212}/ar5212_recv.c \
- ${AR5212}/ar5212_reset.c ${AR5212}/ar5212_xmit.c \
- ${AR5212}/ar5212_ani.c
-HAL_OBJS+=${OBJDIR}/ar5212_attach.o ${OBJDIR}/ar5212_beacon.o \
- ${OBJDIR}/ar5212_eeprom.o ${OBJDIR}/ar5212_gpio.o \
- ${OBJDIR}/ar5212_interrupts.o ${OBJDIR}/ar5212_keycache.o \
- ${OBJDIR}/ar5212_misc.o ${OBJDIR}/ar5212_power.o \
- ${OBJDIR}/ar5212_phy.o ${OBJDIR}/ar5212_recv.o \
- ${OBJDIR}/ar5212_reset.o ${OBJDIR}/ar5212_xmit.o \
- ${OBJDIR}/ar5212_ani.o
-endif
-
-ifeq ($(strip ${AH_SUPPORT_AR5312}),1)
-AR5312= ${HAL}/ar5312
-HAL_SRCS+=${AR5312}/ar5312_attach.c ${AR5312}/ar5312_interrupts.c \
- ${AR5312}/ar5312_eeprom.c \
- ${AR5312}/ar5312_gpio.c ${AR5312}/ar5315_gpio.c \
- ${AR5312}/ar5312_misc.c ${AR5312}/ar5312_power.c \
- ${AR5312}/ar5312_reset.c
-HAL_OBJS+=${OBJDIR}/ar5312_attach.o ${OBJDIR}/ar5312_interrupts.o \
- ${OBJDIR}/ar5312_eeprom.o \
- ${OBJDIR}/ar5312_gpio.o ${OBJDIR}/ar5315_gpio.o \
- ${OBJDIR}/ar5312_misc.o ${OBJDIR}/ar5312_power.o \
- ${OBJDIR}/ar5312_reset.o
-endif
-
-ifeq ($(strip ${AH_SUPPORT_AR5416}),1)
-AR5416= ${HAL}/ar5416
-HAL_SRCS+=${AR5416}/ar5416_attach.c ${AR5416}/ar5416_beacon.c \
- ${AR5416}/ar5416_eeprom.c ${AR5416}/ar5416_gpio.c \
- ${AR5416}/ar5416_interrupts.c ${AR5416}/ar5416_keycache.c \
- ${AR5416}/ar5416_misc.c ${AR5416}/ar5416_power.c \
- ${AR5416}/ar5416_phy.c ${AR5416}/ar5416_recv.c \
- ${AR5416}/ar5416_reset.c ${AR5416}/ar5416_xmit.c
-HAL_OBJS+=${OBJDIR}/ar5416_attach.o ${OBJDIR}/ar5416_beacon.o \
- ${OBJDIR}/ar5416_eeprom.o ${OBJDIR}/ar5416_gpio.o \
- ${OBJDIR}/ar5416_interrupts.o ${OBJDIR}/ar5416_keycache.o \
- ${OBJDIR}/ar5416_misc.o ${OBJDIR}/ar5416_power.o \
- ${OBJDIR}/ar5416_phy.o ${OBJDIR}/ar5416_recv.o \
- ${OBJDIR}/ar5416_reset.o ${OBJDIR}/ar5416_xmit.o
-endif
-
-ifeq ($(strip ${AH_SUPPORT_AR9160}),1)
-HAL_SRCS+=${AR5416}/ar9160_attach.c
-HAL_OBJS+=${OBJDIR}/ar9160_attach.o
-endif
-
-ifeq ($(strip ${AH_SUPPORT_2316}),1)
-HAL_SRCS+=${AR5212}/ar2316.c
-HAL_OBJS+=${OBJDIR}/ar2316.o
-endif
-
-ifeq ($(strip ${AH_SUPPORT_2317}),1)
-HAL_SRCS+=${AR5212}/ar2317.c
-HAL_OBJS+=${OBJDIR}/ar2317.o
-endif
-
-ifeq ($(strip ${AH_SUPPORT_2133}),1)
-HAL_SRCS+=${AR5416}/ar2133.c
-HAL_OBJS+=${OBJDIR}/ar2133.o
-endif
-
-ifeq ($(strip ${AH_SUPPORT_2413}),1)
-HAL_SRCS+=${AR5212}/ar2413.c
-HAL_OBJS+=${OBJDIR}/ar2413.o
-endif
-
-ifeq ($(strip ${AH_SUPPORT_2425}),1)
-HAL_SRCS+=${AR5212}/ar2425.c
-HAL_OBJS+=${OBJDIR}/ar2425.o
-endif
-
-ifeq ($(strip ${AH_SUPPORT_5111}),1)
-HAL_SRCS+=${AR5212}/ar5111.c
-HAL_OBJS+=${OBJDIR}/ar5111.o
-endif
-
-ifeq ($(strip ${AH_SUPPORT_5112}),1)
-HAL_SRCS+=${AR5212}/ar5112.c
-HAL_OBJS+=${OBJDIR}/ar5112.o
-endif
-
-ifeq ($(strip ${AH_SUPPORT_5413}),1)
-HAL_SRCS+=${AR5212}/ar5413.c
-HAL_OBJS+=${OBJDIR}/ar5413.o
-endif
-
-SRCS+= ${HAL_SRCS}
-CLEANFILES+= ${OBJDIR}/opt_ah.h ${HAL_OBJS}
-
-#
-# NB: These are typically overridden in the target-specific specification.
-#
-LD?= ld
-#
-# These are specific to the host doing the build.
-#
-SED?= sed
-UUENCODE?=uuencode
-
-ALL= ${OBJDIR}/hal.o
-
-all: ${ALL}
-
-#
-# ARM binaries need their ELF header patched so they are marked
-# as using "virtual floating point"; otherwise the resulting .o
-# files will generate linker errors because they are marked as
-# using hardware floating point.
-#
-ifneq (,$(findstring arm-elf,${TOOLPREFIX}))
-${OBJDIR}/hal.o: ${HAL_OBJS} Makefile wackelf
- ${LD} -o $@ -r ${LDOPTS} ${HAL_OBJS}
- ./wackelf $@
-
-# NB: use host tools; not cross-compilation tools
-wackelf: ${PUBLIC}/wackelf.c
- cc -o wackelf ${PUBLIC}/wackelf.c
-
-CLEANFILES+= wackelf
-else
-${OBJDIR}/hal.o: ${HAL_OBJS} Makefile
- ${LD} -o $@ -r ${LDOPTS} ${HAL_OBJS}
-endif
-
-release: ${OBJDIR}/hal.o
- rm -f ${PUBLIC}/${TARGET}.hal.o.uu
- (${SED} -e '1,/^$$/d' ${HAL}/COPYRIGHT; \
- ${SED} -n -e '/ATH_HAL_VERSION/p' ${HAL}/version.h; \
- ${UUENCODE} ${OBJDIR}/hal.o hal.o) > ${PUBLIC}/${TARGET}.hal.o.uu
- cmp -s ${OBJDIR}/opt_ah.h ${PUBLIC}/${TARGET}.opt_ah.h || \
- cp ${OBJDIR}/opt_ah.h ${PUBLIC}/${TARGET}.opt_ah.h
-
-debug: ${OBJDIR}/hal.o
- rm -f ${DEBUG}/${TARGET}.hal.o.uu
- (${SED} -e '1,/^$$/d' ${HAL}/COPYRIGHT; \
- ${SED} -n -e '/ATH_HAL_VERSION/p' ${HAL}/version.h; \
- ${UUENCODE} ${OBJDIR}/hal.o hal.o) > ${DEBUG}/${TARGET}.hal.o.uu
- cmp -s ${OBJDIR}/opt_ah.h ${DEBUG}/${TARGET}.opt_ah.h || \
- cp ${OBJDIR}/opt_ah.h ${DEBUG}/${TARGET}.opt_ah.h
-
-${OBJDIR}/ah.o: ${HAL}/ah.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ah_eeprom_v3.o: ${HAL}/ah_eeprom_v3.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ah_eeprom_v14.o: ${HAL}/ah_eeprom_v14.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ah_regdomain.o: ${HAL}/ah_regdomain.c
- ${CC} -c -o $@ ${CFLAGS} $<
-
-${OBJDIR}/ar5210_attach.o: ${AR5210}/ar5210_attach.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5210_beacon.o: ${AR5210}/ar5210_beacon.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5210_interrupts.o: ${AR5210}/ar5210_interrupts.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5210_keycache.o: ${AR5210}/ar5210_keycache.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5210_misc.o: ${AR5210}/ar5210_misc.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5210_power.o: ${AR5210}/ar5210_power.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5210_phy.o: ${AR5210}/ar5210_phy.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5210_recv.o: ${AR5210}/ar5210_recv.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5210_reset.o: ${AR5210}/ar5210_reset.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5210_xmit.o: ${AR5210}/ar5210_xmit.c
- ${CC} -c -o $@ ${CFLAGS} $<
-
-${OBJDIR}/ar5211_attach.o: ${AR5211}/ar5211_attach.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5211_beacon.o: ${AR5211}/ar5211_beacon.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5211_interrupts.o: ${AR5211}/ar5211_interrupts.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5211_keycache.o: ${AR5211}/ar5211_keycache.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5211_misc.o: ${AR5211}/ar5211_misc.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5211_power.o: ${AR5211}/ar5211_power.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5211_phy.o: ${AR5211}/ar5211_phy.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5211_recv.o: ${AR5211}/ar5211_recv.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5211_reset.o: ${AR5211}/ar5211_reset.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5211_xmit.o: ${AR5211}/ar5211_xmit.c
- ${CC} -c -o $@ ${CFLAGS} $<
-
-${OBJDIR}/ar5212_ani.o: ${AR5212}/ar5212_ani.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5212_attach.o: ${AR5212}/ar5212_attach.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5212_beacon.o: ${AR5212}/ar5212_beacon.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5212_eeprom.o: ${AR5212}/ar5212_eeprom.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5212_gpio.o: ${AR5212}/ar5212_gpio.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5212_interrupts.o: ${AR5212}/ar5212_interrupts.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5212_keycache.o: ${AR5212}/ar5212_keycache.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5212_misc.o: ${AR5212}/ar5212_misc.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5212_power.o: ${AR5212}/ar5212_power.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5212_phy.o: ${AR5212}/ar5212_phy.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5212_recv.o: ${AR5212}/ar5212_recv.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5212_reset.o: ${AR5212}/ar5212_reset.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5212_xmit.o: ${AR5212}/ar5212_xmit.c
- ${CC} -c -o $@ ${CFLAGS} $<
-
-${OBJDIR}/ar5312_attach.o: ${AR5312}/ar5312_attach.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5312_eeprom.o: ${AR5312}/ar5312_eeprom.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5312_gpio.o: ${AR5312}/ar5312_gpio.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5315_gpio.o: ${AR5312}/ar5315_gpio.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5312_interrupts.o: ${AR5312}/ar5312_interrupts.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5312_misc.o: ${AR5312}/ar5312_misc.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5312_power.o: ${AR5312}/ar5312_power.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5312_reset.o: ${AR5312}/ar5312_reset.c
- ${CC} -c -o $@ ${CFLAGS} $<
-
-${OBJDIR}/ar2316.o: ${AR5212}/ar2316.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar2317.o: ${AR5212}/ar2317.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar2413.o: ${AR5212}/ar2413.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar2425.o: ${AR5212}/ar2425.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5111.o: ${AR5212}/ar5111.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5112.o: ${AR5212}/ar5112.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5413.o: ${AR5212}/ar5413.c
- ${CC} -c -o $@ ${CFLAGS} $<
-
-${OBJDIR}/ar5416_attach.o: ${AR5416}/ar5416_attach.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5416_beacon.o: ${AR5416}/ar5416_beacon.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5416_eeprom.o: ${AR5416}/ar5416_eeprom.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5416_gpio.o: ${AR5416}/ar5416_gpio.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5416_interrupts.o: ${AR5416}/ar5416_interrupts.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5416_keycache.o: ${AR5416}/ar5416_keycache.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5416_misc.o: ${AR5416}/ar5416_misc.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5416_power.o: ${AR5416}/ar5416_power.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5416_phy.o: ${AR5416}/ar5416_phy.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5416_recv.o: ${AR5416}/ar5416_recv.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5416_reset.o: ${AR5416}/ar5416_reset.c
- ${CC} -c -o $@ ${CFLAGS} $<
-${OBJDIR}/ar5416_xmit.o: ${AR5416}/ar5416_xmit.c
- ${CC} -c -o $@ ${CFLAGS} $<
-
-${OBJDIR}/ar9160_attach.o: ${AR5416}/ar9160_attach.c
- ${CC} -c -o $@ ${CFLAGS} $<
-
-${OBJDIR}/ar2133.o: ${AR5416}/ar2133.c
- ${CC} -c -o $@ ${CFLAGS} $<
-
-${OBJDIR}/opt_ah.h:
- test -d ${OBJDIR} || mkdir -p ${OBJDIR}
-ifeq ($(strip ${AH_SUPPORT_AR5210}),1)
- echo "#define AH_SUPPORT_AR5210 1" >> ${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_SUPPORT_AR5211}),1)
- echo "#define AH_SUPPORT_AR5211 1" >> ${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_SUPPORT_AR5212}),1)
- echo "#define AH_SUPPORT_AR5212 1" >> ${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_SUPPORT_AR5312}),1)
- echo "#define AH_SUPPORT_AR5312 1" >> ${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_SUPPORT_AR5416}),1)
- echo "#define AH_SUPPORT_AR5416 1" >> ${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_SUPPORT_AR9160}),1)
- echo "#define AH_SUPPORT_AR9160 1" >> ${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_SUPPORT_2316}),1)
- echo "#define AH_SUPPORT_2316 1" >> ${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_SUPPORT_2317}),1)
- echo "#define AH_SUPPORT_2317 1" >> ${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_SUPPORT_2133}),1)
- echo "#define AH_SUPPORT_2133 1" >> ${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_SUPPORT_2413}),1)
- echo "#define AH_SUPPORT_2413 1" >> ${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_SUPPORT_2417}),1)
- echo "#define AH_SUPPORT_2417 1" >> ${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_SUPPORT_2425}),1)
- echo "#define AH_SUPPORT_2425 1" >> ${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_SUPPORT_5111}),1)
- echo "#define AH_SUPPORT_5111 1" >> ${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_SUPPORT_5112}),1)
- echo "#define AH_SUPPORT_5112 1" >> ${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_SUPPORT_5413}),1)
- echo "#define AH_SUPPORT_5413 1" >> ${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_ASSERT}),1)
- echo "#define AH_ASSERT 1" >> ${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_DEBUG_ALQ}),1)
- echo "#define AH_DEBUG_ALQ 1" >> ${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_DEBUG}),1)
- echo "#define AH_DEBUG 1" >> ${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_WRITE_REGDOMAIN}),1)
- echo "#define AH_SUPPORT_WRITE_REGDOMAIN 1" >>${OBJDIR}/opt_ah.h
- echo "#define AH_SUPPORT_WRITE_EEPROM 1">>${OBJDIR}/opt_ah.h
-else
-ifeq ($(strip ${AH_WRITE_EEPROM}),1)
- echo "#define AH_SUPPORT_WRITE_EEPROM 1">>${OBJDIR}/opt_ah.h
-endif
-endif
-ifeq ($(strip ${AH_DEBUG_COUNTRY}),1)
- echo "#define AH_DEBUG_COUNTRY 1" >>${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_REGOPS_FUNC}),1)
- echo "#define AH_REGOPS_FUNC 1" >>${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_DISABLE_WME}),1)
- echo "#define AH_DISABLE_WME 1" >>${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_ENABLE_AP_SUPPORT}),1)
- echo "#define AH_ENABLE_AP_SUPPORT 1" >>${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_PRIVATE_DIAG}),1)
- echo "#define AH_PRIVATE_DIAG 1" >>${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_NEED_DESC_SWAP}),1)
- echo "#define AH_NEED_DESC_SWAP 1" >>${OBJDIR}/opt_ah.h
-endif
-ifeq ($(strip ${AH_ENABLE_FORCEBIAS}),1)
- echo "#define AH_ENABLE_FORCEBIAS 1" >>${OBJDIR}/opt_ah.h
-endif
-
-clean:
- rm -f ${ALL} ${OBJS} ${CLEANFILES}
- -rmdir -p ${OBJDIR}
-
-depend: beforedepend .depend afterdepend
-${OBJDIR}/.depend: ${SRCS} ${OBJDIR}/opt_ah.h
- rm -f ${OBJDIR}/.depend
- ${CC} -M ${CFLAGS} ${SRCS} | \
- ${SED} 's,\(.*\)\.o:,${OBJDIR}/\1.o:,g' > ${OBJDIR}/.depend
-afterdepend:
--include ${OBJDIR}/.depend
diff --git a/linux/ah_osdep.c b/linux/ah_osdep.c
deleted file mode 100644
index 121eb8a..0000000
--- a/linux/ah_osdep.c
+++ /dev/null
@@ -1,566 +0,0 @@
-/*
- * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
- * Copyright (c) 2002-2008 Atheros Communications, Inc.
- *
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- *
- * $Id: ah_osdep.c,v 1.3 2008/11/10 04:08:05 sam Exp $
- */
-#include "opt_ah.h"
-
-#ifndef EXPORT_SYMTAB
-#define EXPORT_SYMTAB
-#endif
-
-#include <linux/config.h>
-#include <linux/version.h>
-#include <linux/module.h>
-#include <linux/init.h>
-
-#include <linux/kernel.h>
-#include <linux/slab.h>
-#include <linux/delay.h>
-
-#include <linux/sysctl.h>
-#include <linux/proc_fs.h>
-
-#include <asm/io.h>
-
-#include "ah.h"
-
-#ifndef __MOD_INC_USE_COUNT
-#define AH_MOD_INC_USE_COUNT(_m) \
- if (!try_module_get(_m)) { \
- printk(KERN_WARNING "try_module_get failed\n"); \
- return NULL; \
- }
-#define AH_MOD_DEC_USE_COUNT(_m) module_put(_m)
-#else
-#define AH_MOD_INC_USE_COUNT(_m) MOD_INC_USE_COUNT
-#define AH_MOD_DEC_USE_COUNT(_m) MOD_DEC_USE_COUNT
-#endif
-
-#ifdef AH_DEBUG
-static int ath_hal_debug = 0;
-#endif
-
-int ath_hal_dma_beacon_response_time = 2; /* in TU's */
-int ath_hal_sw_beacon_response_time = 10; /* in TU's */
-int ath_hal_additional_swba_backoff = 0; /* in TU's */
-
-struct ath_hal *
-_ath_hal_attach(uint16_t devid, HAL_SOFTC sc,
- HAL_BUS_TAG t, HAL_BUS_HANDLE h, void* s)
-{
- HAL_STATUS status;
- struct ath_hal *ah = ath_hal_attach(devid, sc, t, h, &status);
-
- *(HAL_STATUS *)s = status;
- if (ah)
- AH_MOD_INC_USE_COUNT(THIS_MODULE);
- return ah;
-}
-
-void
-ath_hal_detach(struct ath_hal *ah)
-{
- (*ah->ah_detach)(ah);
- AH_MOD_DEC_USE_COUNT(THIS_MODULE);
-}
-
-/*
- * Print/log message support.
- */
-
-void __ahdecl
-ath_hal_vprintf(struct ath_hal *ah, const char* fmt, va_list ap)
-{
- char buf[1024]; /* XXX */
- vsnprintf(buf, sizeof(buf), fmt, ap);
- printk("%s", buf);
-}
-
-void __ahdecl
-ath_hal_printf(struct ath_hal *ah, const char* fmt, ...)
-{
- va_list ap;
- va_start(ap, fmt);
- ath_hal_vprintf(ah, fmt, ap);
- va_end(ap);
-}
-EXPORT_SYMBOL(ath_hal_printf);
-
-/*
- * Format an Ethernet MAC for printing.
- */
-const char* __ahdecl
-ath_hal_ether_sprintf(const uint8_t *mac)
-{
- static char etherbuf[18];
- snprintf(etherbuf, sizeof(etherbuf), "%02x:%02x:%02x:%02x:%02x:%02x",
- mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
- return etherbuf;
-}
-
-#ifdef AH_ASSERT
-void __ahdecl
-ath_hal_assert_failed(const char* filename, int lineno, const char *msg)
-{
- printk("Atheros HAL assertion failure: %s: line %u: %s\n",
- filename, lineno, msg);
- panic("ath_hal_assert");
-}
-#endif /* AH_ASSERT */
-
-#ifdef AH_DEBUG_ALQ
-/*
- * ALQ register tracing support.
- *
- * Setting hw.ath.hal.alq=1 enables tracing of all register reads and
- * writes to the file /tmp/ath_hal.log. The file format is a simple
- * fixed-size array of records. When done logging set hw.ath.hal.alq=0
- * and then decode the file with the ardecode program (that is part of the
- * HAL). If you start+stop tracing the data will be appended to an
- * existing file.
- *
- * NB: doesn't handle multiple devices properly; only one DEVICE record
- * is emitted and the different devices are not identified.
- */
-#include "alq/alq.h"
-#include "ah_decode.h"
-
-static struct alq *ath_hal_alq;
-static int ath_hal_alq_emitdev; /* need to emit DEVICE record */
-static u_int ath_hal_alq_lost; /* count of lost records */
-static const char *ath_hal_logfile = "/tmp/ath_hal.log";
-static u_int ath_hal_alq_qsize = 8*1024;
-
-static int
-ath_hal_setlogging(int enable)
-{
- int error;
-
- if (enable) {
- if (!capable(CAP_NET_ADMIN))
- return -EPERM;
- error = alq_open(&ath_hal_alq, ath_hal_logfile,
- sizeof (struct athregrec), ath_hal_alq_qsize);
- ath_hal_alq_lost = 0;
- ath_hal_alq_emitdev = 1;
- printk("ath_hal: logging to %s %s\n", ath_hal_logfile,
- error == 0 ? "enabled" : "could not be setup");
- } else {
- if (ath_hal_alq)
- alq_close(ath_hal_alq);
- ath_hal_alq = NULL;
- printk("ath_hal: logging disabled\n");
- error = 0;
- }
- return error;
-}
-
-/*
- * Deal with the sysctl handler api changing.
- */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,8)
-#define AH_SYSCTL_ARGS_DECL \
- ctl_table *ctl, int write, struct file *filp, void *buffer, \
- size_t *lenp
-#define AH_SYSCTL_ARGS ctl, write, filp, buffer, lenp
-#else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,8) */
-#define AH_SYSCTL_ARGS_DECL \
- ctl_table *ctl, int write, struct file *filp, void *buffer,\
- size_t *lenp, loff_t *ppos
-#define AH_SYSCTL_ARGS ctl, write, filp, buffer, lenp, ppos
-#endif
-
-static int
-sysctl_hw_ath_hal_log(AH_SYSCTL_ARGS_DECL)
-{
- int error, enable;
-
- ctl->data = &enable;
- ctl->maxlen = sizeof(enable);
- enable = (ath_hal_alq != NULL);
- error = proc_dointvec(AH_SYSCTL_ARGS);
- if (error || !write)
- return error;
- else
- return ath_hal_setlogging(enable);
-}
-
-static struct ale *
-ath_hal_alq_get(struct ath_hal *ah)
-{
- struct ale *ale;
-
- if (ath_hal_alq_emitdev) {
- ale = alq_get(ath_hal_alq, ALQ_NOWAIT);
- if (ale) {
- struct athregrec *r =
- (struct athregrec *) ale->ae_data;
- r->op = OP_DEVICE;
- r->reg = 0;
- r->val = ah->ah_devid;
- alq_post(ath_hal_alq, ale);
- ath_hal_alq_emitdev = 0;
- } else
- ath_hal_alq_lost++;
- }
- ale = alq_get(ath_hal_alq, ALQ_NOWAIT);
- if (!ale)
- ath_hal_alq_lost++;
- return ale;
-}
-
-void __ahdecl
-ath_hal_reg_write(struct ath_hal *ah, uint32_t reg, uint32_t val)
-{
- if (ath_hal_alq) {
- unsigned long flags;
- struct ale *ale;
-
- local_irq_save(flags);
- ale = ath_hal_alq_get(ah);
- if (ale) {
- struct athregrec *r = (struct athregrec *) ale->ae_data;
- r->op = OP_WRITE;
- r->reg = reg;
- r->val = val;
- alq_post(ath_hal_alq, ale);
- }
- local_irq_restore(flags);
- }
- _OS_REG_WRITE(ah, reg, val);
-}
-EXPORT_SYMBOL(ath_hal_reg_write);
-
-uint32_t __ahdecl
-ath_hal_reg_read(struct ath_hal *ah, uint32_t reg)
-{
- uint32_t val;
-
- val = _OS_REG_READ(ah, reg);
- if (ath_hal_alq) {
- unsigned long flags;
- struct ale *ale;
-
- local_irq_save(flags);
- ale = ath_hal_alq_get(ah);
- if (ale) {
- struct athregrec *r = (struct athregrec *) ale->ae_data;
- r->op = OP_READ;
- r->reg = reg;
- r->val = val;
- alq_post(ath_hal_alq, ale);
- }
- local_irq_restore(flags);
- }
- return val;
-}
-EXPORT_SYMBOL(ath_hal_reg_read);
-
-void __ahdecl
-OS_MARK(struct ath_hal *ah, u_int id, uint32_t v)
-{
- if (ath_hal_alq) {
- unsigned long flags;
- struct ale *ale;
-
- local_irq_save(flags);
- ale = ath_hal_alq_get(ah);
- if (ale) {
- struct athregrec *r = (struct athregrec *) ale->ae_data;
- r->op = OP_MARK;
- r->reg = id;
- r->val = v;
- alq_post(ath_hal_alq, ale);
- }
- local_irq_restore(flags);
- }
-}
-EXPORT_SYMBOL(OS_MARK);
-#elif defined(AH_DEBUG) || defined(AH_REGOPS_FUNC)
-/*
- * Memory-mapped device register read/write. These are here
- * as routines when debugging support is enabled and/or when
- * explicitly configured to use function calls. The latter is
- * for architectures that might need to do something before
- * referencing memory (e.g. remap an i/o window).
- *
- * NB: see the comments in ah_osdep.h about byte-swapping register
- * reads and writes to understand what's going on below.
- */
-void __ahdecl
-ath_hal_reg_write(struct ath_hal *ah, u_int reg, uint32_t val)
-{
-#ifdef AH_DEBUG
- if (ath_hal_debug > 1)
- ath_hal_printf(ah, "WRITE 0x%x <= 0x%x\n", reg, val);
-#endif
- _OS_REG_WRITE(ah, reg, val);
-}
-EXPORT_SYMBOL(ath_hal_reg_write);
-
-uint32_t __ahdecl
-ath_hal_reg_read(struct ath_hal *ah, u_int reg)
-{
- uint32_t val;
-
- val = _OS_REG_READ(ah, reg);
-#ifdef AH_DEBUG
- if (ath_hal_debug > 1)
- ath_hal_printf(ah, "READ 0x%x => 0x%x\n", reg, val);
-#endif
- return val;
-}
-EXPORT_SYMBOL(ath_hal_reg_read);
-#endif /* AH_DEBUG || AH_REGOPS_FUNC */
-
-#ifdef AH_DEBUG
-void __ahdecl
-HALDEBUG(struct ath_hal *ah, const char* fmt, ...)
-{
- if (ath_hal_debug) {
- __va_list ap;
- va_start(ap, fmt);
- ath_hal_vprintf(ah, fmt, ap);
- va_end(ap);
- }
-}
-
-
-void __ahdecl
-HALDEBUGn(struct ath_hal *ah, u_int level, const char* fmt, ...)
-{
- if (ath_hal_debug >= level) {
- __va_list ap;
- va_start(ap, fmt);
- ath_hal_vprintf(ah, fmt, ap);
- va_end(ap);
- }
-}
-#endif /* AH_DEBUG */
-
-/*
- * Delay n microseconds.
- */
-void __ahdecl
-ath_hal_delay(int n)
-{
- udelay(n);
-}
-
-uint32_t __ahdecl
-ath_hal_getuptime(struct ath_hal *ah)
-{
- return ((jiffies / HZ) * 1000) + (jiffies % HZ) * (1000 / HZ);
-}
-EXPORT_SYMBOL(ath_hal_getuptime);
-
-/*
- * Allocate/free memory.
- */
-
-void * __ahdecl
-ath_hal_malloc(size_t size)
-{
- void *p;
- p = kmalloc(size, GFP_KERNEL);
- if (p)
- OS_MEMZERO(p, size);
- return p;
-
-}
-
-void __ahdecl
-ath_hal_free(void* p)
-{
- kfree(p);
-}
-
-void __ahdecl
-ath_hal_memzero(void *dst, size_t n)
-{
- memset(dst, 0, n);
-}
-EXPORT_SYMBOL(ath_hal_memzero);
-
-void * __ahdecl
-ath_hal_memcpy(void *dst, const void *src, size_t n)
-{
- return memcpy(dst, src, n);
-}
-EXPORT_SYMBOL(ath_hal_memcpy);
-
-int __ahdecl
-ath_hal_memcmp(const void *a, const void *b, size_t n)
-{
- return memcmp(a, b, n);
-}
-EXPORT_SYMBOL(ath_hal_memcmp);
-
-#ifdef CONFIG_SYSCTL
-enum {
- DEV_ATH = 9, /* XXX must match driver */
-};
-
-#define CTL_AUTO -2 /* cannot be CTL_ANY or CTL_NONE */
-
-static ctl_table ath_hal_sysctls[] = {
-#ifdef AH_DEBUG
- { .ctl_name = CTL_AUTO,
- .procname = "debug",
- .mode = 0644,
- .data = &ath_hal_debug,
- .maxlen = sizeof(ath_hal_debug),
- .proc_handler = proc_dointvec
- },
-#endif
- { .ctl_name = CTL_AUTO,
- .procname = "dma_beacon_response_time",
- .data = &ath_hal_dma_beacon_response_time,
- .maxlen = sizeof(ath_hal_dma_beacon_response_time),
- .mode = 0644,
- .proc_handler = proc_dointvec
- },
- { .ctl_name = CTL_AUTO,
- .procname = "sw_beacon_response_time",
- .mode = 0644,
- .data = &ath_hal_sw_beacon_response_time,
- .maxlen = sizeof(ath_hal_sw_beacon_response_time),
- .proc_handler = proc_dointvec
- },
- { .ctl_name = CTL_AUTO,
- .procname = "swba_backoff",
- .mode = 0644,
- .data = &ath_hal_additional_swba_backoff,
- .maxlen = sizeof(ath_hal_additional_swba_backoff),
- .proc_handler = proc_dointvec
- },
-#ifdef AH_DEBUG_ALQ
- { .ctl_name = CTL_AUTO,
- .procname = "alq",
- .mode = 0644,
- .proc_handler = sysctl_hw_ath_hal_log
- },
- { .ctl_name = CTL_AUTO,
- .procname = "alq_size",
- .mode = 0644,
- .data = &ath_hal_alq_qsize,
- .maxlen = sizeof(ath_hal_alq_qsize),
- .proc_handler = proc_dointvec
- },
- { .ctl_name = CTL_AUTO,
- .procname = "alq_lost",
- .mode = 0644,
- .data = &ath_hal_alq_lost,
- .maxlen = sizeof(ath_hal_alq_lost),
- .proc_handler = proc_dointvec
- },
-#endif
- { 0 }
-};
-static ctl_table ath_hal_table[] = {
- { .ctl_name = CTL_AUTO,
- .procname = "hal",
- .mode = 0555,
- .child = ath_hal_sysctls
- }, { 0 }
-};
-static ctl_table ath_ath_table[] = {
- { .ctl_name = DEV_ATH,
- .procname = "ath",
- .mode = 0555,
- .child = ath_hal_table
- }, { 0 }
-};
-static ctl_table ath_root_table[] = {
- { .ctl_name = CTL_DEV,
- .procname = "dev",
- .mode = 0555,
- .child = ath_ath_table
- }, { 0 }
-};
-static struct ctl_table_header *ath_hal_sysctl_header;
-
-void
-ath_hal_sysctl_register(void)
-{
- static int initialized = 0;
-
- if (!initialized) {
- ath_hal_sysctl_header =
- register_sysctl_table(ath_root_table, 1);
- initialized = 1;
- }
-}
-
-void
-ath_hal_sysctl_unregister(void)
-{
- if (ath_hal_sysctl_header)
- unregister_sysctl_table(ath_hal_sysctl_header);
-}
-#endif /* CONFIG_SYSCTL */
-
-/*
- * Module glue.
- */
-static char *dev_info = "ath_hal";
-
-MODULE_AUTHOR("Errno Consulting, Sam Leffler");
-MODULE_DESCRIPTION("Atheros Hardware Access Layer (HAL)");
-MODULE_SUPPORTED_DEVICE("Atheros WLAN devices");
-#ifdef MODULE_LICENSE
-MODULE_LICENSE("Proprietary");
-#endif
-
-EXPORT_SYMBOL(ath_hal_probe);
-EXPORT_SYMBOL(_ath_hal_attach);
-EXPORT_SYMBOL(ath_hal_detach);
-EXPORT_SYMBOL(ath_hal_init_channels);
-EXPORT_SYMBOL(ath_hal_getwirelessmodes);
-EXPORT_SYMBOL(ath_hal_computetxtime);
-EXPORT_SYMBOL(ath_hal_mhz2ieee);
-EXPORT_SYMBOL(ath_hal_process_noisefloor);
-
-static int __init
-init_ath_hal(void)
-{
- const char *sep;
- int i;
-
- printk(KERN_INFO "%s: %s (", dev_info, ath_hal_version);
- sep = "";
- for (i = 0; ath_hal_buildopts[i] != NULL; i++) {
- printk("%s%s", sep, ath_hal_buildopts[i]);
- sep = ", ";
- }
- printk(")\n");
-#ifdef CONFIG_SYSCTL
- ath_hal_sysctl_register();
-#endif
- return (0);
-}
-module_init(init_ath_hal);
-
-static void __exit
-exit_ath_hal(void)
-{
-#ifdef CONFIG_SYSCTL
- ath_hal_sysctl_unregister();
-#endif
- printk(KERN_INFO "%s: driver unloaded\n", dev_info);
-}
-module_exit(exit_ath_hal);
diff --git a/linux/ah_osdep.h b/linux/ah_osdep.h
deleted file mode 100644
index 123c230..0000000
--- a/linux/ah_osdep.h
+++ /dev/null
@@ -1,205 +0,0 @@
-/*
- * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
- * Copyright (c) 2002-2008 Atheros Communications, Inc.
- *
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- *
- * $Id: ah_osdep.h,v 1.3 2008/11/10 04:08:05 sam Exp $
- */
-#ifndef _ATH_AH_OSDEP_H_
-#define _ATH_AH_OSDEP_H_
-/*
- * Atheros Hardware Access Layer (HAL) OS Dependent Definitions.
- */
-
-/*
- * Starting with 2.6.4 the kernel supports a configuration option
- * to pass parameters in registers. If this is enabled we must
- * mark all function interfaces in+out of the HAL to pass parameters
- * on the stack as this is the convention used internally (for
- * maximum portability).
- */
-#ifdef CONFIG_REGPARM
-#define __ahdecl __attribute__((regparm(0)))
-#else
-#define __ahdecl
-#endif
-#ifndef __packed
-#define __packed __attribute__((__packed__))
-#endif
-
-/*
- * Beware of these being mismatched against the contents of <linux/types.h>
- */
-#ifndef _LINUX_TYPES_H
-/* NB: arm defaults to unsigned so be explicit */
-typedef signed char int8_t;
-typedef short int16_t;
-typedef int int32_t;
-typedef long long int64_t;
-
-typedef unsigned char uint8_t;
-typedef unsigned short uint16_t;
-typedef unsigned int uint32_t;
-typedef unsigned long long uint64_t;
-
-typedef unsigned int size_t;
-typedef unsigned int u_int;
-typedef void *va_list;
-#endif
-
-/*
- * Linux/BSD gcc compatibility shims.
- */
-#define __printflike(_a,_b) \
- __attribute__ ((__format__ (__printf__, _a, _b)))
-#define __va_list va_list
-#define OS_INLINE __inline
-
-/*
- * Delay n microseconds.
- */
-extern void __ahdecl ath_hal_delay(int);
-#define OS_DELAY(_n) ath_hal_delay(_n)
-
-#define OS_MEMZERO(_a, _n) ath_hal_memzero((_a), (_n))
-extern void __ahdecl ath_hal_memzero(void *, size_t);
-#define OS_MEMCPY(_d, _s, _n) ath_hal_memcpy(_d,_s,_n)
-extern void * __ahdecl ath_hal_memcpy(void *, const void *, size_t);
-
-#ifndef abs
-#define abs(_a) __builtin_abs(_a)
-#endif
-
-struct ath_hal;
-extern uint32_t __ahdecl ath_hal_getuptime(struct ath_hal *);
-#define OS_GETUPTIME(_ah) ath_hal_getuptime(_ah)
-
-/*
- * Byte order/swapping support.
- */
-#define AH_LITTLE_ENDIAN 1234
-#define AH_BIG_ENDIAN 4321
-
-#ifndef AH_BYTE_ORDER
-/*
- * When the .inc file is not available (e.g. when building
- * in a kernel source tree); look for some other way to
- * setup the host byte order.
- */
-#ifdef __LITTLE_ENDIAN
-#define AH_BYTE_ORDER AH_LITTLE_ENDIAN
-#endif
-#ifdef __BIG_ENDIAN
-#define AH_BYTE_ORDER AH_BIG_ENDIAN
-#endif
-#ifndef AH_BYTE_ORDER
-#error "Do not know host byte order"
-#endif
-#endif /* AH_BYTE_ORDER */
-
-#if AH_BYTE_ORDER == AH_BIG_ENDIAN
-/*
- * This could be optimized but since we only use it for
- * a few registers there's little reason to do so.
- */
-static __inline__ uint32_t
-__bswap32(uint32_t _x)
-{
- return ((uint32_t)(
- (((const uint8_t *)(&_x))[0] ) |
- (((const uint8_t *)(&_x))[1]<< 8) |
- (((const uint8_t *)(&_x))[2]<<16) |
- (((const uint8_t *)(&_x))[3]<<24))
- );
-}
-#else
-#define __bswap32(_x) (_x)
-#endif
-
-/*
- * Register read/write; we assume the registers will always
- * be memory-mapped. Note that register accesses are done
- * using target-specific functions when debugging is enabled
- * (AH_DEBUG) or we are explicitly configured this way. The
- * latter is used on some platforms where the full i/o space
- * cannot be directly mapped.
- *
- * The hardware registers are native little-endian byte order.
- * Big-endian hosts are handled by enabling hardware byte-swap
- * of register reads and writes at reset. But the PCI clock
- * domain registers are not byte swapped! Thus, on big-endian
- * platforms we have to byte-swap thoese registers specifically.
- * Most of this code is collapsed at compile time because the
- * register values are constants.
- */
-#if AH_BYTE_ORDER == AH_BIG_ENDIAN
-#define OS_REG_UNSWAPPED(_reg) \
- (((_reg) >= 0x4000 && (_reg) < 0x5000) || \
- ((_reg) >= 0x7000 && (_reg) < 0x8000))
-#define _OS_REG_WRITE(_ah, _reg, _val) do { \
- if (OS_REG_UNSWAPPED(_reg)) \
- *((volatile uint32_t *)((_ah)->ah_sh + (_reg))) = \
- __bswap32((_val)); \
- else \
- *((volatile uint32_t *)((_ah)->ah_sh + (_reg))) = (_val); \
-} while (0)
-#define _OS_REG_READ(_ah, _reg) \
- (OS_REG_UNSWAPPED(_reg) ? \
- __bswap32(*((volatile uint32_t *)((_ah)->ah_sh + (_reg)))) : \
- *((volatile uint32_t *)((_ah)->ah_sh + (_reg))))
-#else /* AH_LITTLE_ENDIAN */
-#define OS_REG_UNSWAPPED(_reg) (0)
-#define _OS_REG_WRITE(_ah, _reg, _val) do { \
- *((volatile uint32_t *)((_ah)->ah_sh + (_reg))) = (_val); \
-} while (0)
-#define _OS_REG_READ(_ah, _reg) \
- *((volatile uint32_t *)((_ah)->ah_sh + (_reg)))
-#endif /* AH_BYTE_ORDER */
-
-#if defined(AH_DEBUG) || defined(AH_REGOPS_FUNC) || defined(AH_DEBUG_ALQ)
-/* use functions to do register operations */
-#define OS_REG_WRITE(_ah, _reg, _val) ath_hal_reg_write(_ah, _reg, _val)
-#define OS_REG_READ(_ah, _reg) ath_hal_reg_read(_ah, _reg)
-
-extern void __ahdecl ath_hal_reg_write(struct ath_hal *ah,
- u_int reg, uint32_t val);
-extern uint32_t __ahdecl ath_hal_reg_read(struct ath_hal *ah, u_int reg);
-#else
-/* inline register operations */
-#define OS_REG_WRITE(_ah, _reg, _val) _OS_REG_WRITE(_ah, _reg, _val)
-#define OS_REG_READ(_ah, _reg) _OS_REG_READ(_ah, _reg)
-#endif /* AH_DEBUG || AH_REGFUNC || AH_DEBUG_ALQ */
-
-#ifdef AH_DEBUG_ALQ
-extern void __ahdecl OS_MARK(struct ath_hal *, u_int id, uint32_t value);
-#else
-#define OS_MARK(_ah, _id, _v)
-#endif
-
-/*
- * Linux-specific attach/detach methods needed for module reference counting.
- *
- * XXX We can't use HAL_STATUS because the type isn't defined at this
- * point (circular dependency); we wack the type and patch things
- * up in the function.
- *
- * NB: These are intentionally not marked __ahdecl since they are
- * compiled with the default calling convetion and are not called
- * from within the HAL.
- */
-extern struct ath_hal *_ath_hal_attach(uint16_t devid, HAL_SOFTC,
- HAL_BUS_TAG, HAL_BUS_HANDLE, void* status);
-extern void ath_hal_detach(struct ath_hal *);
-
-#endif /* _ATH_AH_OSDEP_H_ */
diff --git a/public/alpha-elf.inc b/public/alpha-elf.inc
deleted file mode 100644
index 0205f6a..0000000
--- a/public/alpha-elf.inc
+++ /dev/null
@@ -1,57 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: alpha-elf.inc,v 1.2 2008/11/10 03:43:26 sam Exp $
-#
-
-#
-# Compilation configuration for building big-endian Alpha w/ elf.
-#
-# Built with GNU cross-devel tools:
-#
-# PREFIX=/pub/gnu
-# BINUTILS=binutils-2.14
-# GCC=gcc-3.3.2
-# target=alpha-elf-linux
-#
-# ${BINUTILS}/configure --target=$target --prefix=${PREFIX}
-# ${GCC}/configure --target=$target --prefix=${PREFIX} \
-# --enable-languages=c --with-gnu-as --with-gnu-ld \
-# --with-newlib --with-gxx-include-dir=${PREFIX}/$target/include
-#
-
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/alpha-elf-linux-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-#
-# Force register read/write operations to go through a function.
-#
-AH_REGOPS_FUNC=1
-
-COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
-#
-# NB: this should come from inttypes.h but can't until we cleanp
-# the definition of va_list on linux
-#
-COPTS+= -DAH_WORDSIZE=64
diff --git a/public/ap30.inc b/public/ap30.inc
deleted file mode 100644
index 96e9653..0000000
--- a/public/ap30.inc
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: ap30.inc,v 1.2 2008/11/10 03:43:27 sam Exp $
-#
-
-#
-# Configuration for building big-endian MIPS2 for the AP30 SoC
-# using the 5.01 linux-mips.org toolchain (manually moved to
-# /pub/gnu from /pub/gnu/local where rpm --prefix=/pub/gnu
-# bogusly installs them).
-#
-
-#
-# http://www.linux-mips.org/toolchain.html
-#
-# /pub/gnu/bin/mips-linux-gcc -v
-# Reading specs from /pub/gnu/bin/../lib/gcc-lib/mips-linux/2.96-mips3264-000710/specs
-# gcc version 2.96-mips3264-000710
-# /pub/gnu/bin/mips-linux-as -v
-# GNU assembler version 2.12.90.0.7 (mips-linux) using BFD version 2.12.90.0.7 20020423
-
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/mips-linux-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-LDOPTS= -EB
-COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
-COPTS+= -G 0 -EB -mno-abicalls -fno-pic -mips32 -Wa,--trap \
- -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
diff --git a/public/ap43.inc b/public/ap43.inc
deleted file mode 100644
index 3eb3067..0000000
--- a/public/ap43.inc
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: ap43.inc,v 1.2 2008/11/10 03:43:29 sam Exp $
-#
-
-#
-# Configuration for building big-endian MIPS2 for the AP43/AP48 SoC
-# using the 5.01 linux-mips.org toolchain (manually moved to
-# /pub/gnu from /pub/gnu/local where rpm --prefix=/pub/gnu
-# bogusly installs them).
-#
-
-#
-# http://www.linux-mips.org/toolchain.html
-#
-# /pub/gnu/bin/mips-linux-gcc -v
-# Reading specs from /pub/gnu/bin/../lib/gcc-lib/mips-linux/2.96-mips3264-000710/specs
-# gcc version 2.96-mips3264-000710
-# /pub/gnu/bin/mips-linux-as -v
-# GNU assembler version 2.12.90.0.7 (mips-linux) using BFD version 2.12.90.0.7 20020423
-
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/mips-linux-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-LDOPTS= -EB
-COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
-COPTS+= -G 0 -EB -mno-abicalls -fno-pic -mips32 -Wa,--trap \
- -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
diff --git a/public/ap51.inc b/public/ap51.inc
deleted file mode 100644
index 9de6673..0000000
--- a/public/ap51.inc
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: ap51.inc,v 1.2 2008/11/10 03:43:31 sam Exp $
-#
-
-#
-# Configuration for building big-endian MIPS2 for the AP51 SoC
-# using the 5.01 linux-mips.org toolchain (manually moved to
-# /pub/gnu from /pub/gnu/local where rpm --prefix=/pub/gnu
-# bogusly installs them).
-#
-
-#
-# http://www.linux-mips.org/toolchain.html
-#
-# /pub/gnu/bin/mips-linux-gcc -v
-# Reading specs from /pub/gnu/bin/../lib/gcc-lib/mips-linux/2.96-mips3264-000710/specs
-# gcc version 2.96-mips3264-000710
-# /pub/gnu/bin/mips-linux-as -v
-# GNU assembler version 2.12.90.0.7 (mips-linux) using BFD version 2.12.90.0.7 20020423
-
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/mips-linux-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-LDOPTS= -EB
-COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
-COPTS+= -G 0 -EB -mno-abicalls -fno-pic -mips32 -Wa,--trap \
- -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
diff --git a/public/ap61.inc b/public/ap61.inc
deleted file mode 100644
index c1c193d..0000000
--- a/public/ap61.inc
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: ap61.inc,v 1.2 2008/11/10 03:43:32 sam Exp $
-#
-
-#
-# Configuration for building big-endian MIPS2 for the AP61 SoC
-# using the 5.01 linux-mips.org toolchain (manually moved to
-# /pub/gnu from /pub/gnu/local where rpm --prefix=/pub/gnu
-# bogusly installs them).
-#
-
-#
-# http://www.linux-mips.org/toolchain.html
-#
-# /pub/gnu/bin/mips-linux-gcc -v
-# Reading specs from /pub/gnu/bin/../lib/gcc-lib/mips-linux/2.96-mips3264-000710/specs
-# gcc version 2.96-mips3264-000710
-# /pub/gnu/bin/mips-linux-as -v
-# GNU assembler version 2.12.90.0.7 (mips-linux) using BFD version 2.12.90.0.7 20020423
-
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/mips-linux-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-LDOPTS= -EB
-COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
-COPTS+= -G 0 -EB -mno-abicalls -fno-pic -mips32 -Wa,--trap \
- -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
diff --git a/public/arm9-le-thumb-elf.inc b/public/arm9-le-thumb-elf.inc
deleted file mode 100644
index 66cb0a3..0000000
--- a/public/arm9-le-thumb-elf.inc
+++ /dev/null
@@ -1,59 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: arm9-le-thumb-elf.inc,v 1.2 2008/11/10 03:43:36 sam Exp $
-#
-
-#
-# Compilation configuration for building little-endian ARM9/arm-elf.
-#
-# Known to work on:
-# Arm940T
-
-#
-# Force register read/write operations to go through a function so
-# ARM users can implement a windowing scheme to access registers in
-# the PCI address space.
-#
-AH_REGOPS_FUNC=1
-
-#
-# Built with GNU cross-devel tools:
-#
-# PREFIX=/pub/gnu
-# BINUTILS=binutils-2.14
-# GCC=gcc-3.3.2
-# target=arm-elf
-#
-# ${BINUTILS}/configure --target=$target --prefix=${PREFIX}
-# ${GCC}/configure --target=$target --prefix=${PREFIX} \
-# --enable-languages=c --with-gnu-as --with-gnu-ld \
-# --with-newlib --with-gxx-include-dir=${PREFIX}/$target/include
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/arm-elf-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-LDOPTS= -EL
-COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
-COPTS+= -mthumb -mlittle-endian -mcpu=arm9 \
- -ffunction-sections -fdata-sections
diff --git a/public/armv4-be-elf.inc b/public/armv4-be-elf.inc
deleted file mode 100644
index a24f42b..0000000
--- a/public/armv4-be-elf.inc
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: armv4-be-elf.inc,v 1.2 2008/11/10 03:43:40 sam Exp $
-#
-
-#
-# Compilation configuration for building big-endian ARMv4.
-#
-
-#
-# Built with GNU cross-devel tools:
-#
-# PREFIX=/pub/gnu
-# BINUTILS=binutils-2.14
-# GCC=gcc-3.3.2
-# target=arm-elf
-#
-# ${BINUTILS}/configure --target=$target --prefix=${PREFIX}
-# ${GCC}/configure --target=$target --prefix=${PREFIX} \
-# --enable-languages=c --with-gnu-as --with-gnu-ld \
-# --with-newlib --with-gxx-include-dir=${PREFIX}/$target/include
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/arm-elf-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-#
-# Force register read/write operations to go through a function.
-#
-AH_REGOPS_FUNC=1
-
-LDOPTS= -EB
-COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
-COPTS+= -march=armv4 -mbig-endian \
- -fno-strict-aliasing -fno-common
diff --git a/public/armv4-le-elf.inc b/public/armv4-le-elf.inc
deleted file mode 100644
index 0d059aa..0000000
--- a/public/armv4-le-elf.inc
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: armv4-le-elf.inc,v 1.2 2008/11/10 03:43:48 sam Exp $
-#
-
-#
-# Compilation configuration for building little-endian ARMv4.
-#
-
-#
-# Built with GNU cross-devel tools:
-#
-# PREFIX=/pub/gnu
-# BINUTILS=binutils-2.14
-# GCC=gcc-3.3.2
-# target=arm-elf
-#
-# ${BINUTILS}/configure --target=$target --prefix=${PREFIX}
-# ${GCC}/configure --target=$target --prefix=${PREFIX} \
-# --enable-languages=c --with-gnu-as --with-gnu-ld \
-# --with-newlib --with-gxx-include-dir=${PREFIX}/$target/include
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/arm-elf-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-#
-# Force register read/write operations to go through a function.
-#
-AH_REGOPS_FUNC=1
-
-LDOPTS= -EL
-COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
-COPTS+= -march=armv4 -mlittle-endian \
- -fno-strict-aliasing -fno-common
diff --git a/public/i386-elf.inc b/public/i386-elf.inc
deleted file mode 100644
index 0c7c39d..0000000
--- a/public/i386-elf.inc
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: i386-elf.inc,v 1.2 2008/11/10 03:43:53 sam Exp $
-#
-
-#
-# Compilation configuration for building i386-elf.
-# This assumes the build platform is also i386-elf.
-#
-
-#
-ifndef TOOLPREFIX
-TOOLPREFIX=
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
-ifndef CONFIG_FRAME_POINTER
-COPTS+= -fomit-frame-pointer
-endif
diff --git a/public/mips-be-elf.inc b/public/mips-be-elf.inc
deleted file mode 100644
index 4a242bc..0000000
--- a/public/mips-be-elf.inc
+++ /dev/null
@@ -1,56 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: mips-be-elf.inc,v 1.2 2008/11/10 03:44:02 sam Exp $
-#
-
-#
-# Configuration for building big-endian MIPS2 using the 5.01
-# linux-mips.org toolchain (manually moved to /pub/gnu from
-# /pub/gnu/local where rpm --prefix=/pub/gnu bogusly installs them).
-#
-# Known to work on:
-# AMD Au1500
-
-#
-# http://www.linux-mips.org/toolchain.html
-#
-# /pub/gnu/bin/mips-linux-gcc -v
-# Reading specs from /pub/gnu/bin/../lib/gcc-lib/mips-linux/2.96-mips3264-000710/specs
-# gcc version 2.96-mips3264-000710
-# /pub/gnu/bin/mips-linux-as -v
-# GNU assembler version 2.12.90.0.7 (mips-linux) using BFD version 2.12.90.0.7 20020423
-
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/mips-linux-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-#
-# Force register read/write operations to go through a function.
-#
-AH_REGOPS_FUNC=1
-
-LDOPTS= -EB
-COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
-COPTS+= -G 0 -EB -mno-abicalls -fno-pic -mips2 -Wa,--trap \
- -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
diff --git a/public/mips-le-elf.inc b/public/mips-le-elf.inc
deleted file mode 100644
index 9f8dd38..0000000
--- a/public/mips-le-elf.inc
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: mips-le-elf.inc,v 1.2 2008/11/10 03:44:05 sam Exp $
-#
-
-#
-# Configuration for building little-endian MIPS2 using the 5.01
-# linux-mips.org toolchain (manually moved to /pub/gnu from
-# /pub/gnu/local where rpm --prefix=/pub/gnu bogusly installs them).
-
-#
-# http://www.linux-mips.org/toolchain.html
-#
-# /pub/gnu/bin/mips-linux-gcc -v
-# Reading specs from /pub/gnu/bin/../lib/gcc-lib/mips-linux/2.96-mips3264-000710/specs
-# gcc version 2.96-mips3264-000710
-# /pub/gnu/bin/mips-linux-as -v
-# GNU assembler version 2.12.90.0.7 (mips-linux) using BFD version 2.12.90.0.7 20020423
-
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/mips-linux-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-#
-# Force register read/write operations to go through a function.
-#
-AH_REGOPS_FUNC=1
-
-LDOPTS= -EL
-COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
-COPTS+= -G 0 -EL -mno-abicalls -fno-pic -mips2 -Wa,--trap \
- -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
diff --git a/public/mips1-be-elf.inc b/public/mips1-be-elf.inc
deleted file mode 100644
index a4c1c1b..0000000
--- a/public/mips1-be-elf.inc
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: mips1-be-elf.inc,v 1.2 2008/11/10 03:44:09 sam Exp $
-#
-
-#
-# Configuration for building big-endian MIPS1 using the 5.01
-# linux-mips.org toolchain (manually moved to /pub/gnu from
-# /pub/gnu/local where rpm --prefix=/pub/gnu bogusly installs them).
-
-#
-# http://www.linux-mips.org/toolchain.html
-#
-# /pub/gnu/bin/mips-linux-gcc -v
-# Reading specs from /pub/gnu/bin/../lib/gcc-lib/mips-linux/2.96-mips3264-000710/specs
-# gcc version 2.96-mips3264-000710
-# /pub/gnu/bin/mips-linux-as -v
-# GNU assembler version 2.12.90.0.7 (mips-linux) using BFD version 2.12.90.0.7 20020423
-
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/mips-linux-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-#
-# Force register read/write operations to go through a function.
-#
-AH_REGOPS_FUNC=1
-
-LDOPTS= -EB
-COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
-COPTS+= -G 0 -EB -mno-abicalls -fno-pic -mips1 -Wa,--trap \
- -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
diff --git a/public/mips1-le-elf.inc b/public/mips1-le-elf.inc
deleted file mode 100644
index 5854589..0000000
--- a/public/mips1-le-elf.inc
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: mips1-le-elf.inc,v 1.2 2008/11/10 03:44:14 sam Exp $
-#
-
-#
-# Configuration for building little-endian MIPS1 using the 5.01
-# linux-mips.org toolchain (manually moved to /pub/gnu from
-# /pub/gnu/local where rpm --prefix=/pub/gnu bogusly installs them).
-
-#
-# http://www.linux-mips.org/toolchain.html
-#
-# /pub/gnu/bin/mips-linux-gcc -v
-# Reading specs from /pub/gnu/bin/../lib/gcc-lib/mips-linux/2.96-mips3264-000710/specs
-# gcc version 2.96-mips3264-000710
-# /pub/gnu/bin/mips-linux-as -v
-# GNU assembler version 2.12.90.0.7 (mips-linux) using BFD version 2.12.90.0.7 20020423
-
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/mips-linux-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-#
-# Force register read/write operations to go through a function.
-#
-AH_REGOPS_FUNC=1
-
-LDOPTS= -EL
-COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
-COPTS+= -G 0 -EL -mno-abicalls -fno-pic -mips1 -Wa,--trap \
- -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
diff --git a/public/mipsisa32-be-elf.inc b/public/mipsisa32-be-elf.inc
deleted file mode 100644
index 9a0b4c5..0000000
--- a/public/mipsisa32-be-elf.inc
+++ /dev/null
@@ -1,57 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: mipsisa32-be-elf.inc,v 1.2 2008/11/10 03:44:18 sam Exp $
-#
-
-#
-# Compilation configuration for building big-endian mipsisa32-elf.
-#
-
-#
-# Built with GNU cross-devel tools:
-#
-# PREFIX=/pub/gnu
-# BINUTILS=binutils-2.14
-# GCC=gcc-3.3.2
-# target=mipsisa32-elf
-#
-# ${BINUTILS}/configure --target=$target --prefix=${PREFIX}
-# ${GCC}/configure --target=$target --prefix=${PREFIX} \
-# --enable-languages=c --with-gnu-as --with-gnu-ld \
-# --with-newlib --with-gxx-include-dir=${PREFIX}/$target/include
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/mipsisa32-elf-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-#
-# Force register read/write operations to go through a function.
-#
-AH_REGOPS_FUNC=1
-
-LDOPTS+= -EB
-COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
-COPTS+= -G 0 -mno-abicalls -fno-pic -march=r4600 -Wa,--trap \
- -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls \
- -isystem ${KERNELPATH}/include
-
diff --git a/public/mipsisa32-le-elf.inc b/public/mipsisa32-le-elf.inc
deleted file mode 100644
index ef833fb9..0000000
--- a/public/mipsisa32-le-elf.inc
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: mipsisa32-le-elf.inc,v 1.2 2008/11/10 03:44:22 sam Exp $
-#
-
-#
-# Compilation configuration for building little-endian mipsisa32-elf.
-#
-
-#
-# Built with GNU cross-devel tools:
-#
-# PREFIX=/pub/gnu
-# BINUTILS=binutils-2.14
-# GCC=gcc-3.3.2
-# target=mipsisa32-elf
-#
-# ${BINUTILS}/configure --target=$target --prefix=${PREFIX}
-# ${GCC}/configure --target=$target --prefix=${PREFIX} \
-# --enable-languages=c --with-gnu-as --with-gnu-ld \
-# --with-newlib --with-gxx-include-dir=${PREFIX}/$target/include
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/mipsisa32-elf-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-#
-# Force register read/write operations to go through a function.
-#
-AH_REGOPS_FUNC=1
-
-LDOPTS= -EL
-COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
-COPTS+= -G 0 -EL -mno-abicalls -fno-pic -march=r4600 -Wa,--trap \
- -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
diff --git a/public/powerpc-be-eabi.inc b/public/powerpc-be-eabi.inc
deleted file mode 100644
index 411883e..0000000
--- a/public/powerpc-be-eabi.inc
+++ /dev/null
@@ -1,57 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: powerpc-be-eabi.inc,v 1.2 2008/11/10 03:44:27 sam Exp $
-#
-
-#
-# Compilation configuration for building big-endian PowerPC/powerpc-eabi.
-#
-# Known to work on:
-# IBM 450EP
-
-#
-# Built with GNU cross-devel tools:
-#
-# PREFIX=/pub/gnu
-# BINUTILS=binutils-2.14
-# GCC=gcc-3.3.2
-# target=powerpc-eabi
-#
-# ${BINUTILS}/configure --target=$target --prefix=${PREFIX}
-# ${GCC}/configure --target=$target --prefix=${PREFIX} \
-# --enable-languages=c --with-gnu-as --with-gnu-ld \
-# --with-newlib --with-gxx-include-dir=${PREFIX}/$target/include
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/powerpc-eabi-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-#
-# Force register read/write operations to go through a function.
-#
-AH_REGOPS_FUNC=1
-
-LDOPTS= -EB
-COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
-COPTS+= -mbig-endian
-COPTS+= -msoft-float -ffixed-r2
diff --git a/public/powerpc-be-elf.inc b/public/powerpc-be-elf.inc
deleted file mode 100644
index 13088a9..0000000
--- a/public/powerpc-be-elf.inc
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: powerpc-be-elf.inc,v 1.2 2008/11/10 03:44:32 sam Exp $
-#
-
-#
-# Compilation configuration for building big-endian PowerPC/powerpc-elf.
-#
-# Built with GNU cross-devel tools:
-#
-# PREFIX=/pub/gnu
-# BINUTILS=binutils-2.14
-# GCC=gcc-3.3.2
-# target=powerpc-elf
-#
-# ${BINUTILS}/configure --target=$target --prefix=${PREFIX}
-# ${GCC}/configure --target=$target --prefix=${PREFIX} \
-# --enable-languages=c --with-gnu-as --with-gnu-ld \
-# --with-newlib --with-gxx-include-dir=${PREFIX}/$target/include
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/powerpc-elf-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-#
-# Force register read/write operations to go through a function.
-#
-AH_REGOPS_FUNC=1
-
-LDOPTS= -EB
-COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
-COPTS+= -mbig-endian
-COPTS+= -msoft-float -ffixed-r2
diff --git a/public/powerpc-le-eabi.inc b/public/powerpc-le-eabi.inc
deleted file mode 100644
index fb92c1f..0000000
--- a/public/powerpc-le-eabi.inc
+++ /dev/null
@@ -1,56 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: powerpc-le-eabi.inc,v 1.2 2008/11/10 03:44:36 sam Exp $
-#
-
-#
-# Compilation configuration for building little-endian PowerPC/powerpc-eabi.
-#
-
-#
-# Built with GNU cross-devel tools:
-#
-# PREFIX=/pub/gnu
-# BINUTILS=binutils-2.14
-# GCC=gcc-3.3.2
-# target=powerpc-eabi
-#
-# ${BINUTILS}/configure --target=$target --prefix=${PREFIX}
-# ${GCC}/configure --target=$target --prefix=${PREFIX} \
-# --enable-languages=c --with-gnu-as --with-gnu-ld \
-# --with-newlib --with-gxx-include-dir=${PREFIX}/$target/include
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/powerpc-eabi-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-#
-# Force register read/write operations to go through a function.
-#
-AH_REGOPS_FUNC=1
-
-LDOPTS= -EL
-COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
-COPTS+= -mlittle-endian
-# NB: explicitly disable multiple and string instructions for little-endian
-COPTS+= -msoft-float -ffixed-r2 -mno-multiple -mno-string
diff --git a/public/sh4-le-elf.inc b/public/sh4-le-elf.inc
deleted file mode 100644
index 465b5e6..0000000
--- a/public/sh4-le-elf.inc
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: sh4-le-elf.inc,v 1.2 2008/11/10 03:44:44 sam Exp $
-#
-
-#
-# Compilation configuration for building little-endian SuperH/ELF.
-#
-
-#
-# Built with pre-packaged tools for RedHat 7.3:
-#
-# http://mirror.sh-linux.org/rpm-index-2003/i386/ByName.html`
-# binutils-sh-linux-2.13.90.0.18-1
-# gcc-sh-linux-3.2.3-3
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/sh-linux-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-LDOPTS= -EL
-COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
-COPTS+= -ml -m4 -mno-implicit-fp
diff --git a/public/sparc-be-elf.inc b/public/sparc-be-elf.inc
deleted file mode 100644
index 8c581a4..0000000
--- a/public/sparc-be-elf.inc
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: sparc-be-elf.inc,v 1.2 2008/11/10 03:44:45 sam Exp $
-#
-
-#
-# Compilation configuration for building big-endian Sparc for 32-bit.
-#
-# Built with GNU cross-devel tools:
-#
-# PREFIX=/pub/gnu
-# BINUTILS=binutils-2.14
-# GCC=gcc-3.3.2
-# target=sparc-elf
-#
-# ${BINUTILS}/configure --target=$target --prefix=${PREFIX}
-# ${GCC}/configure --target=$target --prefix=${PREFIX} \
-# --enable-languages=c --with-gnu-as --with-gnu-ld \
-# --with-newlib --with-gxx-include-dir=${PREFIX}/$target/include
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/sparc-elf-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-#
-# Force register read/write operations to go through a function.
-#
-AH_REGOPS_FUNC=1
-
-LDOPTS= -EB
-COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
-COPTS+= -m32
-COPTS+= -mno-fpu
diff --git a/public/sparc64-be-elf.inc b/public/sparc64-be-elf.inc
deleted file mode 100644
index b00160f..0000000
--- a/public/sparc64-be-elf.inc
+++ /dev/null
@@ -1,64 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: sparc64-be-elf.inc,v 1.2 2008/11/10 03:44:51 sam Exp $
-#
-
-#
-# Compilation configuration for building big-endian Sparc64 w/ elf.
-#
-# Built with GNU cross-devel tools:
-#
-# PREFIX=/pub/gnu
-# BINUTILS=binutils-2.14
-# GCC=gcc-3.3.2
-# target=sparc64-elf
-#
-# ${BINUTILS}/configure --target=$target --prefix=${PREFIX}
-# ${GCC}/configure --target=$target --prefix=${PREFIX} \
-# --enable-languages=c --with-gnu-as --with-gnu-ld \
-# --with-newlib --with-gxx-include-dir=${PREFIX}/$target/include
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/sparc64-elf-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-#
-# Force register read/write operations to go through a function.
-#
-AH_REGOPS_FUNC=1
-
-LDOPTS= -EB
-COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
-#
-# NB: this should come from inttypes.h but can't until we cleanp
-# the definition of va_list on linux
-#
-COPTS+= -DAH_WORDSIZE=64
-COPTS+= -mcmodel=medlow
-COPTS+= -mno-fpu
-#
-# Suppress TLS register usage; haven't figured out to do this
-# when we build the toolchain (so unfortunately we pollute the
-# build options).
-#
-COPTS+= -ffixed-g2 -ffixed-g3
diff --git a/public/wackelf.c b/public/wackelf.c
deleted file mode 100644
index 7200b69..0000000
--- a/public/wackelf.c
+++ /dev/null
@@ -1,103 +0,0 @@
-/*
- * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
- * Copyright (c) 2002-2008 Atheros Communications, Inc.
- *
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- *
- * $Id: wackelf.c,v 1.2 2008/11/10 03:44:51 sam Exp $
- */
-
-/*
- * Program to zap flags field in the ELF header of an object
- * file so that it appears to use VFP soft floating point.
- * This is done because there is no standard way to specify
- * this on the command line to gcc/binutils.
- *
- * Derived from code by Olivier Houchard <cognet@freebsd.org>
- */
-#include <stdio.h>
-#include <stdlib.h>
-#include <elf.h>
-#include <fcntl.h>
-#include <err.h>
-
-#ifdef __linux__
-#include <endian.h>
-#include <byteswap.h>
-#define _LITTLE_ENDIAN __LITTLE_ENDIAN
-#define _BIG_ENDIAN __BIG_ENDIAN
-#if __BYTE_ORDER == __LITTLE_ENDIAN
-#define htobe16(x) __bswap_16((x))
-#define htobe32(x) __bswap_32((x))
-#define htole16(x) ((uint16_t)(x))
-#define htole32(x) ((uint32_t)(x))
-#else /* _BYTE_ORDER != _LITTLE_ENDIAN */
-#define htobe16(x) ((uint16_t)(x))
-#define htobe32(x) ((uint32_t)(x))
-#define htole16(x) __bswap_16((x))
-#define htole32(x) __bswap_32((x))
-#endif /* _BYTE_ORDER == _LITTLE_ENDIAN */
-#else
-#include <sys/endian.h>
-#endif
-
-int
-main(int argc, char *argv[])
-{
- int fd, endian, oflags;
- int format = 0x400; /* default to VFP */
- Elf32_Ehdr ehdr;
-
- if (argc > 2) {
- if (strcmp(argv[1], "-fpa") == 0) {
- format = 0x200;
- argc--, argv++;
- } else if (strcmp(argv[1], "-vfp") == 0) {
- format = 0x400;
- argc--, argv++;
- } else if (strcmp(argv[1], "-none") == 0) {
- format = 0;
- argc--, argv++;
- }
- }
- if (argc != 2) {
- fprintf(stderr, "usage: %s [-fpa|-vfp|-none] file\n", argv[0]);
- exit(-1);
- }
- fd = open(argv[1], O_RDWR);
- if (fd < 0)
- err(1, "could not open %s", argv[1]);
- if (read(fd, &ehdr, sizeof(ehdr)) != sizeof(ehdr))
- err(1, "could not read the ELF header");
- if (ehdr.e_machine == htole16(EM_ARM))
- endian = _LITTLE_ENDIAN;
- else if (ehdr.e_machine == htobe16(EM_ARM))
- endian = _BIG_ENDIAN;
- else
- errx(1, "not an ARM ELF object (machine 0x%x)", ehdr.e_machine);
- oflags = ehdr.e_flags;
- if (endian == _BIG_ENDIAN) {
- ehdr.e_flags &= ~htobe32(0x600); /* Remove FPA Soft float */
- ehdr.e_flags |= htobe32(format); /* VFP Soft Float */
- } else {
- ehdr.e_flags &= ~htole32(0x600); /* Remove FPA Soft float */
- ehdr.e_flags |= htole32(format); /* VFP Soft Float */
- }
- printf("%s: e_flags 0x%x => 0x%x\n", argv[1], oflags, ehdr.e_flags);
- if (lseek(fd, (off_t) 0, SEEK_SET) != 0)
- err(1, "lseek");
- if (write(fd, &ehdr, sizeof(ehdr)) != sizeof(ehdr))
- err(1, "yow, elf header write failed");
- close(fd);
- return 0;
-}
diff --git a/public/wisoc.inc b/public/wisoc.inc
deleted file mode 100644
index 1ad8a00..0000000
--- a/public/wisoc.inc
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: wisoc.inc,v 1.2 2008/11/10 03:44:53 sam Exp $
-#
-
-#
-# Configuration for building big-endian MIPS2 for the APxx SoC
-# using the 5.01 linux-mips.org toolchain (manually moved to
-# /pub/gnu from /pub/gnu/local where rpm --prefix=/pub/gnu
-# bogusly installs them).
-#
-
-#
-# http://www.linux-mips.org/toolchain.html
-#
-# /pub/gnu/bin/mips-linux-gcc -v
-# Reading specs from /pub/gnu/bin/../lib/gcc-lib/mips-linux/2.96-mips3264-000710/specs
-# gcc version 2.96-mips3264-000710
-# /pub/gnu/bin/mips-linux-as -v
-# GNU assembler version 2.12.90.0.7 (mips-linux) using BFD version 2.12.90.0.7 20020423
-
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/mips-linux-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-LDOPTS= -EB
-COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
-COPTS+= -G 0 -EB -mno-abicalls -fno-pic -mips32 -Wa,--trap \
- -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
diff --git a/public/x86_64-elf.inc b/public/x86_64-elf.inc
deleted file mode 100644
index cea2389..0000000
--- a/public/x86_64-elf.inc
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: x86_64-elf.inc,v 1.2 2008/11/10 03:44:59 sam Exp $
-#
-
-#
-# Compilation configuration for building x86-64-elf.
-#
-
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/x86_64-linux-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
-#
-# NB: this should come from inttypes.h but can't until we cleanp
-# the definition of va_list on linux
-#
-COPTS+= -DAH_WORDSIZE=64
-COPTS+= -mcmodel=kernel -mno-red-zone
-ifndef CONFIG_FRAME_POINTER
-COPTS+= -fomit-frame-pointer
-endif
diff --git a/public/xscale-be-elf.inc b/public/xscale-be-elf.inc
deleted file mode 100644
index bb42dfb..0000000
--- a/public/xscale-be-elf.inc
+++ /dev/null
@@ -1,62 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: xscale-be-elf.inc,v 1.2 2008/11/10 03:45:03 sam Exp $
-#
-
-#
-# Compilation configuration for building big-endian XScale/arm-elf.
-#
-# NB: built with AH_REGOPS_FUNC to so that register accesses
-# can be done using the Linux readl/writel functions on
-# systems that need it.
-#
-# Reported to work on:
-# IXP425
-#
-
-#
-# Built with GNU cross-devel tools:
-#
-# PREFIX=/pub/gnu
-# BINUTILS=binutils-2.14
-# GCC=gcc-3.3.2
-# target=arm-elf
-#
-# ${BINUTILS}/configure --target=$target --prefix=${PREFIX}
-# ${GCC}/configure --target=$target --prefix=${PREFIX} \
-# --enable-languages=c --with-gnu-as --with-gnu-ld \
-# --with-newlib --with-gxx-include-dir=${PREFIX}/$target/include
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/arm-elf-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-#
-# Force register read/write operations to go through a function.
-#
-AH_REGOPS_FUNC=1
-
-LDOPTS= -EB
-COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
-COPTS+= -march=armv4 -mbig-endian -fno-strict-aliasing -fno-common -mapcs-32 \
- -mtune=xscale -mshort-load-bytes
diff --git a/public/xscale-le-elf.inc b/public/xscale-le-elf.inc
deleted file mode 100644
index f34f9fa..0000000
--- a/public/xscale-le-elf.inc
+++ /dev/null
@@ -1,63 +0,0 @@
-#
-# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
-# Copyright (c) 2002-2008 Atheros Communications, Inc.
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# $Id: xscale-le-elf.inc,v 1.2 2008/11/10 03:45:07 sam Exp $
-#
-
-#
-# Compilation configuration for building little-endian XScale/arm-elf.
-#
-# NB: built with AH_REGOPS_FUNC to so that register accesses
-# can be done using the Linux readl/writel functions on
-# systems that need it.
-#
-# Reported to work on:
-# Compulab's ARMBASE using ARMCORE GX
-# (http://www.compulab.co.il/armbase.htm)
-#
-
-#
-# Built with GNU cross-devel tools:
-#
-# PREFIX=/pub/gnu
-# BINUTILS=binutils-2.14
-# GCC=gcc-3.3.2
-# target=arm-elf
-#
-# ${BINUTILS}/configure --target=$target --prefix=${PREFIX}
-# ${GCC}/configure --target=$target --prefix=${PREFIX} \
-# --enable-languages=c --with-gnu-as --with-gnu-ld \
-# --with-newlib --with-gxx-include-dir=${PREFIX}/$target/include
-#
-ifndef TOOLPREFIX
-TOOLPREFIX= /pub/gnu/bin/arm-elf-
-endif
-#
-CC= ${TOOLPREFIX}gcc
-LD= ${TOOLPREFIX}ld
-STRIP= ${TOOLPREFIX}strip
-OBJCOPY=${TOOLPREFIX}objcopy
-NM= ${TOOLPREFIX}nm
-
-#
-# Force register read/write operations to go through a function.
-#
-AH_REGOPS_FUNC=1
-
-LDOPTS= -EL
-COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
-COPTS+= -march=armv4 -mlittle-endian -fno-strict-aliasing -fno-common \
- -mapcs-32 -mtune=xscale -mshort-load-bytes
OpenPOWER on IntegriCloud