This commit was generated by cvs2svn to compensate for changes in r159285,
which included commits to RCS files with non-trunk default branches.
This commit is contained in:
commit
a46aeff755
@ -38,5 +38,5 @@ redistribution with changes.
|
||||
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGES.
|
||||
*
|
||||
* $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/COPYRIGHT#5 $
|
||||
* $Id: //depot/sw/branches/sam_hal/COPYRIGHT#1 $
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
$Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/README#5 $
|
||||
$Id: //depot/sw/branches/sam_hal/README#2 $
|
||||
|
||||
|
||||
Atheros Hardware Access Layer (HAL)
|
||||
@ -52,3 +52,22 @@ The Atheors 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. Binary 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).
|
||||
|
@ -33,7 +33,7 @@
|
||||
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGES.
|
||||
*
|
||||
* $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/ah.h#134 $
|
||||
* $Id: //depot/sw/branches/sam_hal/ah.h#10 $
|
||||
*/
|
||||
|
||||
#ifndef _ATH_AH_H_
|
||||
@ -46,6 +46,19 @@
|
||||
* follow must call back into the HAL through interface, supplying the
|
||||
* reference as the first parameter.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Bus i/o type definitions. We define a platform-independent
|
||||
* set of types that are mapped to platform-dependent data for
|
||||
* register read/write operations. We use types that are large
|
||||
* enough to hold a pointer; smaller data should fit and only
|
||||
* require type coercion to work. Larger data can be stored
|
||||
* elsewhere and a reference passed for the bus tag and/or handle.
|
||||
*/
|
||||
typedef void* HAL_SOFTC; /* pointer to driver/OS state */
|
||||
typedef void* HAL_BUS_TAG; /* opaque bus i/o id tag */
|
||||
typedef void* HAL_BUS_HANDLE; /* opaque bus i/o handle */
|
||||
|
||||
#include "ah_osdep.h"
|
||||
|
||||
/*
|
||||
@ -117,6 +130,7 @@ typedef enum {
|
||||
HAL_CAP_TPC_ACK = 26, /* ack txpower with per-packet tpc */
|
||||
HAL_CAP_TPC_CTS = 27, /* cts txpower with per-packet tpc */
|
||||
HAL_CAP_11D = 28, /* 11d beacon support for changing cc */
|
||||
HAL_CAP_INTMIT = 29, /* interference mitigation */
|
||||
} HAL_CAPABILITY_TYPE;
|
||||
|
||||
/*
|
||||
@ -380,8 +394,8 @@ typedef struct {
|
||||
u_int16_t channelFlags; /* see below */
|
||||
u_int8_t privFlags;
|
||||
int8_t maxRegTxPower; /* max regulatory tx power in dBm */
|
||||
int8_t maxTxPower; /* max true tx power in 0.25 dBm */
|
||||
int8_t minTxPower; /* min true tx power in 0.25 dBm */
|
||||
int8_t maxTxPower; /* max true tx power in 0.5 dBm */
|
||||
int8_t minTxPower; /* min true tx power in 0.5 dBm */
|
||||
} HAL_CHANNEL;
|
||||
|
||||
/* channelFlags */
|
||||
@ -486,10 +500,16 @@ typedef struct {
|
||||
u_int8_t rs_rates[32]; /* rates */
|
||||
} HAL_RATE_SET;
|
||||
|
||||
/*
|
||||
* Antenna switch control. By default antenna selection
|
||||
* enables multiple (2) antenna use. To force use of the
|
||||
* A or B antenna only specify a fixed setting. Fixing
|
||||
* the antenna will also disable any diversity support.
|
||||
*/
|
||||
typedef enum {
|
||||
HAL_ANT_VARIABLE = 0, /* variable by programming */
|
||||
HAL_ANT_FIXED_A = 1, /* fixed to 11a frequencies */
|
||||
HAL_ANT_FIXED_B = 2, /* fixed to 11b frequencies */
|
||||
HAL_ANT_FIXED_A = 1, /* fixed antenna A */
|
||||
HAL_ANT_FIXED_B = 2, /* fixed antenna B */
|
||||
} HAL_ANT_SETTING;
|
||||
|
||||
typedef enum {
|
||||
@ -519,6 +539,7 @@ typedef enum {
|
||||
} HAL_CIPHER;
|
||||
|
||||
enum {
|
||||
HAL_SLOT_TIME_6 = 6, /* NB: for turbo mode */
|
||||
HAL_SLOT_TIME_9 = 9,
|
||||
HAL_SLOT_TIME_20 = 20,
|
||||
};
|
||||
@ -546,6 +567,18 @@ typedef struct {
|
||||
u_int32_t bs_sleepduration; /* max sleep duration */
|
||||
} HAL_BEACON_STATE;
|
||||
|
||||
/*
|
||||
* Like HAL_BEACON_STATE but for non-station mode setup.
|
||||
* NB: see above flag definitions
|
||||
*/
|
||||
typedef struct {
|
||||
u_int32_t bt_intval; /* beacon interval+flags */
|
||||
u_int32_t bt_nexttbtt; /* next beacon in TU */
|
||||
u_int32_t bt_nextatim; /* next ATIM in TU */
|
||||
u_int32_t bt_nextdba; /* next DBA in 1/8th TU */
|
||||
u_int32_t bt_nextswba; /* next SWBA in 1/8th TU */
|
||||
} HAL_BEACON_TIMERS;
|
||||
|
||||
/*
|
||||
* Per-node statistics maintained by the driver for use in
|
||||
* optimizing signal quality and other operational aspects.
|
||||
@ -573,7 +606,7 @@ struct ath_desc;
|
||||
struct ath_hal {
|
||||
u_int32_t ah_magic; /* consistency check magic number */
|
||||
u_int32_t ah_abi; /* HAL ABI version */
|
||||
#define HAL_ABI_VERSION 0x05122200 /* YYMMDDnn */
|
||||
#define HAL_ABI_VERSION 0x06052200 /* YYMMDDnn */
|
||||
u_int16_t ah_devid; /* PCI device ID */
|
||||
u_int16_t ah_subvendorid; /* PCI subvendor ID */
|
||||
HAL_SOFTC ah_sc; /* back pointer to driver/os state */
|
||||
@ -597,6 +630,7 @@ struct ath_hal {
|
||||
HAL_CHANNEL *, HAL_BOOL bChannelChange,
|
||||
HAL_STATUS *status);
|
||||
HAL_BOOL __ahdecl(*ah_phyDisable)(struct ath_hal *);
|
||||
HAL_BOOL __ahdecl(*ah_disable)(struct ath_hal *);
|
||||
void __ahdecl(*ah_setPCUConfig)(struct ath_hal *);
|
||||
HAL_BOOL __ahdecl(*ah_perCalibration)(struct ath_hal*, HAL_CHANNEL *, HAL_BOOL *);
|
||||
HAL_BOOL __ahdecl(*ah_setTxPowerLimit)(struct ath_hal *, u_int32_t);
|
||||
@ -703,16 +737,20 @@ struct ath_hal {
|
||||
HAL_RFGAIN __ahdecl(*ah_getRfGain)(struct ath_hal*);
|
||||
u_int __ahdecl(*ah_getDefAntenna)(struct ath_hal*);
|
||||
void __ahdecl(*ah_setDefAntenna)(struct ath_hal*, u_int);
|
||||
HAL_ANT_SETTING __ahdecl(*ah_getAntennaSwitch)(struct ath_hal*);
|
||||
HAL_BOOL __ahdecl(*ah_setAntennaSwitch)(struct ath_hal*,
|
||||
HAL_ANT_SETTING);
|
||||
HAL_BOOL __ahdecl(*ah_setSlotTime)(struct ath_hal*, u_int);
|
||||
u_int __ahdecl(*ah_getSlotTime)(struct ath_hal*);
|
||||
HAL_BOOL __ahdecl(*ah_setAckTimeout)(struct ath_hal*, u_int);
|
||||
u_int __ahdecl(*ah_getAckTimeout)(struct ath_hal*);
|
||||
HAL_BOOL __ahdecl(*ah_setAckCTSRate)(struct ath_hal*, u_int);
|
||||
u_int __ahdecl(*ah_getAckCTSRate)(struct ath_hal*);
|
||||
HAL_BOOL __ahdecl(*ah_setCTSTimeout)(struct ath_hal*, u_int);
|
||||
u_int __ahdecl(*ah_getCTSTimeout)(struct ath_hal*);
|
||||
HAL_BOOL __ahdecl(*ah_setDecompMask)(struct ath_hal*, u_int16_t, int);
|
||||
void __ahdecl(*ah_setCoverageClass)(struct ath_hal*, u_int8_t, int);
|
||||
|
||||
|
||||
/* Key Cache Functions */
|
||||
u_int32_t __ahdecl(*ah_getKeyCacheSize)(struct ath_hal*);
|
||||
HAL_BOOL __ahdecl(*ah_resetKeyCacheEntry)(struct ath_hal*, u_int16_t);
|
||||
@ -732,13 +770,14 @@ struct ath_hal {
|
||||
|
||||
|
||||
/* Beacon Management Functions */
|
||||
void __ahdecl(*ah_setBeaconTimers)(struct ath_hal*,
|
||||
const HAL_BEACON_TIMERS *);
|
||||
/* NB: deprecated, use ah_setBeaconTimers instead */
|
||||
void __ahdecl(*ah_beaconInit)(struct ath_hal *,
|
||||
u_int32_t nexttbtt, u_int32_t intval);
|
||||
void __ahdecl(*ah_setStationBeaconTimers)(struct ath_hal*,
|
||||
const HAL_BEACON_STATE *);
|
||||
void __ahdecl(*ah_resetStationBeaconTimers)(struct ath_hal*);
|
||||
HAL_BOOL __ahdecl(*ah_waitForBeaconDone)(struct ath_hal *,
|
||||
HAL_BUS_ADDR);
|
||||
|
||||
/* Interrupt functions */
|
||||
HAL_BOOL __ahdecl(*ah_isInterruptPending)(struct ath_hal*);
|
||||
|
@ -33,7 +33,7 @@
|
||||
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGES.
|
||||
*
|
||||
* $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/ah_desc.h#23 $
|
||||
* $Id: //depot/sw/branches/sam_hal/ah_desc.h#2 $
|
||||
*/
|
||||
|
||||
#ifndef _DEV_ATH_DESC_H
|
||||
@ -175,6 +175,8 @@ struct ath_desc {
|
||||
#define HAL_TXDESC_CTSENA 0x0008 /* enable CTS */
|
||||
#define HAL_TXDESC_INTREQ 0x0010 /* enable per-descriptor interrupt */
|
||||
#define HAL_TXDESC_VEOL 0x0020 /* mark virtual EOL */
|
||||
/* NB: this only affects frame, not any RTS/CTS */
|
||||
#define HAL_TXDESC_DURENA 0x0040 /* enable h/w write of duration field */
|
||||
|
||||
/* flags passed to rx descriptor setup methods */
|
||||
#define HAL_RXDESC_INTREQ 0x0020 /* enable per-descriptor interrupt */
|
||||
|
@ -33,7 +33,7 @@
|
||||
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGES.
|
||||
*
|
||||
* $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/ah_devid.h#19 $
|
||||
* $Id: //depot/sw/branches/sam_hal/ah_devid.h#1 $
|
||||
*/
|
||||
|
||||
#ifndef _DEV_ATH_DEVID_H_
|
||||
|
110
sys/contrib/dev/ath/ah_soc.h
Normal file
110
sys/contrib/dev/ath/ah_soc.h
Normal file
@ -0,0 +1,110 @@
|
||||
/*-
|
||||
* Copyright (c) 2006 Sam Leffler, Errno Consulting, Atheros
|
||||
* Communications, Inc. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
* provided that the following conditions are met:
|
||||
* 1. The materials contained herein are unmodified and are used
|
||||
* unmodified.
|
||||
* 2. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following NO
|
||||
* ''WARRANTY'' disclaimer below (''Disclaimer''), without
|
||||
* modification.
|
||||
* 3. Redistributions in binary form must reproduce at minimum a
|
||||
* disclaimer similar to the Disclaimer below and any redistribution
|
||||
* must be conditioned upon including a substantially similar
|
||||
* Disclaimer requirement for further binary redistribution.
|
||||
* 4. Neither the names of the above-listed copyright holders nor the
|
||||
* names of any contributors may be used to endorse or promote
|
||||
* product derived from this software without specific prior written
|
||||
* permission.
|
||||
*
|
||||
* NO WARRANTY
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT,
|
||||
* MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE
|
||||
* FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
|
||||
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
|
||||
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGES.
|
||||
*
|
||||
* $Id: //depot/sw/branches/sam_hal/ah_soc.h#3 $
|
||||
*/
|
||||
#ifndef _ATH_AH_SOC_H_
|
||||
#define _ATH_AH_SOC_H_
|
||||
/*
|
||||
* Atheros System on Chip (SoC) public definitions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* This is board-specific data that is stored in a "known"
|
||||
* location in flash. To find the start of this data search
|
||||
* back from the (aliased) end of flash by 0x1000 bytes at a
|
||||
* time until you find the string "5311", which marks the
|
||||
* start of Board Configuration. Typically one gives up if
|
||||
* more than 500KB is searched.
|
||||
*/
|
||||
struct ar531x_boarddata {
|
||||
u_int32_t magic; /* board data is valid */
|
||||
#define AR531X_BD_MAGIC 0x35333131 /* "5311", for all 531x platforms */
|
||||
u_int16_t cksum; /* checksum (starting with BD_REV 2) */
|
||||
u_int16_t rev; /* revision of this struct */
|
||||
#define BD_REV 4
|
||||
char boardName[64]; /* Name of board */
|
||||
u_int16_t major; /* Board major number */
|
||||
u_int16_t minor; /* Board minor number */
|
||||
u_int32_t config; /* Board configuration */
|
||||
#define BD_ENET0 0x00000001 /* ENET0 is stuffed */
|
||||
#define BD_ENET1 0x00000002 /* ENET1 is stuffed */
|
||||
#define BD_UART1 0x00000004 /* UART1 is stuffed */
|
||||
#define BD_UART0 0x00000008 /* UART0 is stuffed (dma) */
|
||||
#define BD_RSTFACTORY 0x00000010 /* Reset factory defaults stuffed */
|
||||
#define BD_SYSLED 0x00000020 /* System LED stuffed */
|
||||
#define BD_EXTUARTCLK 0x00000040 /* External UART clock */
|
||||
#define BD_CPUFREQ 0x00000080 /* cpu freq is valid in nvram */
|
||||
#define BD_SYSFREQ 0x00000100 /* sys freq is set in nvram */
|
||||
#define BD_WLAN0 0x00000200 /* Enable WLAN0 */
|
||||
#define BD_MEMCAP 0x00000400 /* CAP SDRAM @ memCap for testing */
|
||||
#define BD_DISWATCHDOG 0x00000800 /* disable system watchdog */
|
||||
#define BD_WLAN1 0x00001000 /* Enable WLAN1 (ar5212) */
|
||||
#define BD_ISCASPER 0x00002000 /* FLAG for AR2312 */
|
||||
#define BD_WLAN0_2G_EN 0x00004000 /* FLAG for radio0_2G */
|
||||
#define BD_WLAN0_5G_EN 0x00008000 /* FLAG for radio0_2G */
|
||||
#define BD_WLAN1_2G_EN 0x00020000 /* FLAG for radio0_2G */
|
||||
#define BD_WLAN1_5G_EN 0x00040000 /* FLAG for radio0_2G */
|
||||
u_int16_t resetConfigGpio; /* Reset factory GPIO pin */
|
||||
u_int16_t sysLedGpio; /* System LED GPIO pin */
|
||||
|
||||
u_int32_t cpuFreq; /* CPU core frequency in Hz */
|
||||
u_int32_t sysFreq; /* System frequency in Hz */
|
||||
u_int32_t cntFreq; /* Calculated C0_COUNT frequency */
|
||||
|
||||
u_int8_t wlan0Mac[6];
|
||||
u_int8_t enet0Mac[6];
|
||||
u_int8_t enet1Mac[6];
|
||||
|
||||
u_int16_t pciId; /* Pseudo PCIID for common code */
|
||||
u_int16_t memCap; /* cap bank1 in MB */
|
||||
|
||||
/* version 3 */
|
||||
u_int8_t wlan1Mac[6]; /* (ar5212) */
|
||||
};
|
||||
|
||||
/*
|
||||
* Board support data. The driver is required to locate
|
||||
* and fill-in this information before passing a reference to
|
||||
* this structure as the HAL_BUS_TAG parameter supplied to
|
||||
* ath_hal_attach.
|
||||
*/
|
||||
struct ar531x_config {
|
||||
const struct ar531x_boarddata *board; /* board config data */
|
||||
const char *radio; /* radio config data */
|
||||
int unit; /* unit number [0, 1] */
|
||||
void *tag; /* bus space tag */
|
||||
};
|
||||
#endif /* _ATH_AH_SOC_H_ */
|
@ -33,7 +33,7 @@
|
||||
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/freebsd/ah_if.m#6 $
|
||||
# $Id: //depot/sw/branches/sam_hal/freebsd/ah_if.m#1 $
|
||||
#
|
||||
|
||||
INTERFACE ath_hal;
|
||||
|
@ -33,7 +33,7 @@
|
||||
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGES.
|
||||
*
|
||||
* $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/freebsd/ah_osdep.h#17 $
|
||||
* $Id: //depot/sw/branches/sam_hal/freebsd/ah_osdep.h#2 $
|
||||
*/
|
||||
#ifndef _ATH_AH_OSDEP_H_
|
||||
#define _ATH_AH_OSDEP_H_
|
||||
@ -46,11 +46,6 @@
|
||||
|
||||
#include <machine/bus.h>
|
||||
|
||||
typedef void* HAL_SOFTC;
|
||||
typedef bus_space_tag_t HAL_BUS_TAG;
|
||||
typedef bus_space_handle_t HAL_BUS_HANDLE;
|
||||
typedef bus_addr_t HAL_BUS_ADDR;
|
||||
|
||||
/*
|
||||
* Delay n microseconds.
|
||||
*/
|
||||
@ -70,12 +65,14 @@ extern u_int32_t ath_hal_getuptime(struct ath_hal *);
|
||||
#define OS_GETUPTIME(_ah) ath_hal_getuptime(_ah)
|
||||
|
||||
/*
|
||||
* 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.
|
||||
* Register read/write operations are either handled through
|
||||
* platform-dependent routines (or when debugging is enabled
|
||||
* with AH_DEBUG); or they are inline expanded using the macros
|
||||
* defined below. For public builds we inline expand only for
|
||||
* platforms where it is certain what the requirements are to
|
||||
* read/write registers--typically they are memory-mapped and
|
||||
* no explicit synchronization or memory invalidation operations
|
||||
* are required (e.g. i386).
|
||||
*/
|
||||
#if defined(AH_DEBUG) || defined(AH_REGOPS_FUNC) || defined(AH_DEBUG_ALQ)
|
||||
#define OS_REG_WRITE(_ah, _reg, _val) ath_hal_reg_write(_ah, _reg, _val)
|
||||
@ -89,7 +86,7 @@ extern u_int32_t ath_hal_reg_read(struct ath_hal *ah, u_int reg);
|
||||
* 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.
|
||||
* platforms we have to explicitly byte-swap those registers.
|
||||
* Most of this code is collapsed at compile time because the
|
||||
* register values are constants.
|
||||
*/
|
||||
@ -99,22 +96,25 @@ extern u_int32_t ath_hal_reg_read(struct ath_hal *ah, u_int reg);
|
||||
#if _BYTE_ORDER == _BIG_ENDIAN
|
||||
#define OS_REG_WRITE(_ah, _reg, _val) do { \
|
||||
if ( (_reg) >= 0x4000 && (_reg) < 0x5000) \
|
||||
bus_space_write_4((_ah)->ah_st, (_ah)->ah_sh, \
|
||||
(_reg), htole32(_val)); \
|
||||
bus_space_write_4((bus_space_tag_t)(_ah)->ah_st, \
|
||||
(bus_space_handle_t)(_ah)->ah_sh, (_reg), (_val)); \
|
||||
else \
|
||||
bus_space_write_4((_ah)->ah_st, (_ah)->ah_sh, \
|
||||
(_reg), (_val)); \
|
||||
bus_space_write_stream_4((bus_space_tag_t)(_ah)->ah_st, \
|
||||
(bus_space_handle_t)(_ah)->ah_sh, (_reg), (_val)); \
|
||||
} while (0)
|
||||
#define OS_REG_READ(_ah, _reg) \
|
||||
(((_reg) >= 0x4000 && (_reg) < 0x5000) ? \
|
||||
le32toh(bus_space_read_4((_ah)->ah_st, (_ah)->ah_sh, \
|
||||
(_reg))) : \
|
||||
bus_space_read_4((_ah)->ah_st, (_ah)->ah_sh, (_reg)))
|
||||
bus_space_read_4((bus_space_tag_t)(_ah)->ah_st, \
|
||||
(bus_space_handle_t)(_ah)->ah_sh, (_reg)) : \
|
||||
bus_space_read_stream_4((bus_space_tag_t)(_ah)->ah_st, \
|
||||
(bus_space_handle_t)(_ah)->ah_sh, (_reg)))
|
||||
#else /* _BYTE_ORDER == _LITTLE_ENDIAN */
|
||||
#define OS_REG_WRITE(_ah, _reg, _val) \
|
||||
bus_space_write_4((_ah)->ah_st, (_ah)->ah_sh, (_reg), (_val))
|
||||
bus_space_write_4((bus_space_tag_t)(_ah)->ah_st, \
|
||||
(bus_space_handle_t)(_ah)->ah_sh, (_reg), (_val))
|
||||
#define OS_REG_READ(_ah, _reg) \
|
||||
((u_int32_t) bus_space_read_4((_ah)->ah_st, (_ah)->ah_sh, (_reg)))
|
||||
bus_space_read_4((bus_space_tag_t)(_ah)->ah_st, \
|
||||
(bus_space_handle_t)(_ah)->ah_sh, (_reg))
|
||||
#endif /* _BYTE_ORDER */
|
||||
#endif /* AH_DEBUG || AH_REGFUNC || AH_DEBUG_ALQ */
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
3846
sys/contrib/dev/ath/public/ap30.hal.o.uu
Normal file
3846
sys/contrib/dev/ath/public/ap30.hal.o.uu
Normal file
File diff suppressed because it is too large
Load Diff
69
sys/contrib/dev/ath/public/ap30.inc
Normal file
69
sys/contrib/dev/ath/public/ap30.inc
Normal file
@ -0,0 +1,69 @@
|
||||
#
|
||||
# Copyright (c) 2002-2006 Sam Leffler, Errno Consulting
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer,
|
||||
# without modification.
|
||||
# 2. Redistributions in binary form must reproduce at minimum a disclaimer
|
||||
# similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
|
||||
# redistribution must be conditioned upon including a substantially
|
||||
# similar Disclaimer requirement for further binary redistribution.
|
||||
# 3. Neither the names of the above-listed copyright holders nor the names
|
||||
# of any contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# Alternatively, this software may be distributed under the terms of the
|
||||
# GNU General Public License ("GPL") version 2 as published by the Free
|
||||
# Software Foundation.
|
||||
#
|
||||
# NO WARRANTY
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
|
||||
# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
|
||||
# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
||||
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/branches/sam_hal/public/mipsisa32-be-elf.inc#1 $
|
||||
#
|
||||
|
||||
#
|
||||
# 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
|
5
sys/contrib/dev/ath/public/ap30.opt_ah.h
Normal file
5
sys/contrib/dev/ath/public/ap30.opt_ah.h
Normal file
@ -0,0 +1,5 @@
|
||||
#define AH_SUPPORT_AR5212 1
|
||||
#define AH_SUPPORT_AR5312 1
|
||||
#define AH_SUPPORT_5111 1
|
||||
#define AH_SUPPORT_5112 1
|
||||
#define AH_NEED_DESC_SWAP 1
|
3830
sys/contrib/dev/ath/public/ap43.hal.o.uu
Normal file
3830
sys/contrib/dev/ath/public/ap43.hal.o.uu
Normal file
File diff suppressed because it is too large
Load Diff
69
sys/contrib/dev/ath/public/ap43.inc
Normal file
69
sys/contrib/dev/ath/public/ap43.inc
Normal file
@ -0,0 +1,69 @@
|
||||
#
|
||||
# Copyright (c) 2002-2006 Sam Leffler, Errno Consulting
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer,
|
||||
# without modification.
|
||||
# 2. Redistributions in binary form must reproduce at minimum a disclaimer
|
||||
# similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
|
||||
# redistribution must be conditioned upon including a substantially
|
||||
# similar Disclaimer requirement for further binary redistribution.
|
||||
# 3. Neither the names of the above-listed copyright holders nor the names
|
||||
# of any contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# Alternatively, this software may be distributed under the terms of the
|
||||
# GNU General Public License ("GPL") version 2 as published by the Free
|
||||
# Software Foundation.
|
||||
#
|
||||
# NO WARRANTY
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
|
||||
# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
|
||||
# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
||||
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/branches/sam_hal/public/mipsisa32-be-elf.inc#1 $
|
||||
#
|
||||
|
||||
#
|
||||
# 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
|
4
sys/contrib/dev/ath/public/ap43.opt_ah.h
Normal file
4
sys/contrib/dev/ath/public/ap43.opt_ah.h
Normal file
@ -0,0 +1,4 @@
|
||||
#define AH_SUPPORT_AR5212 1
|
||||
#define AH_SUPPORT_AR5312 1
|
||||
#define AH_SUPPORT_5111 1
|
||||
#define AH_SUPPORT_5112 1
|
3588
sys/contrib/dev/ath/public/ap51.hal.o.uu
Normal file
3588
sys/contrib/dev/ath/public/ap51.hal.o.uu
Normal file
File diff suppressed because it is too large
Load Diff
69
sys/contrib/dev/ath/public/ap51.inc
Normal file
69
sys/contrib/dev/ath/public/ap51.inc
Normal file
@ -0,0 +1,69 @@
|
||||
#
|
||||
# Copyright (c) 2002-2006 Sam Leffler, Errno Consulting
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer,
|
||||
# without modification.
|
||||
# 2. Redistributions in binary form must reproduce at minimum a disclaimer
|
||||
# similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
|
||||
# redistribution must be conditioned upon including a substantially
|
||||
# similar Disclaimer requirement for further binary redistribution.
|
||||
# 3. Neither the names of the above-listed copyright holders nor the names
|
||||
# of any contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# Alternatively, this software may be distributed under the terms of the
|
||||
# GNU General Public License ("GPL") version 2 as published by the Free
|
||||
# Software Foundation.
|
||||
#
|
||||
# NO WARRANTY
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
|
||||
# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
|
||||
# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
||||
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/branches/sam_hal/public/mipsisa32-be-elf.inc#1 $
|
||||
#
|
||||
|
||||
#
|
||||
# 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
|
4
sys/contrib/dev/ath/public/ap51.opt_ah.h
Normal file
4
sys/contrib/dev/ath/public/ap51.opt_ah.h
Normal file
@ -0,0 +1,4 @@
|
||||
#define AH_SUPPORT_AR5212 1
|
||||
#define AH_SUPPORT_AR5312 1
|
||||
#define AH_SUPPORT_2316 1
|
||||
#define AH_NEED_DESC_SWAP 1
|
3565
sys/contrib/dev/ath/public/ap61.hal.o.uu
Normal file
3565
sys/contrib/dev/ath/public/ap61.hal.o.uu
Normal file
File diff suppressed because it is too large
Load Diff
69
sys/contrib/dev/ath/public/ap61.inc
Normal file
69
sys/contrib/dev/ath/public/ap61.inc
Normal file
@ -0,0 +1,69 @@
|
||||
#
|
||||
# Copyright (c) 2002-2006 Sam Leffler, Errno Consulting
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer,
|
||||
# without modification.
|
||||
# 2. Redistributions in binary form must reproduce at minimum a disclaimer
|
||||
# similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
|
||||
# redistribution must be conditioned upon including a substantially
|
||||
# similar Disclaimer requirement for further binary redistribution.
|
||||
# 3. Neither the names of the above-listed copyright holders nor the names
|
||||
# of any contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# Alternatively, this software may be distributed under the terms of the
|
||||
# GNU General Public License ("GPL") version 2 as published by the Free
|
||||
# Software Foundation.
|
||||
#
|
||||
# NO WARRANTY
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
|
||||
# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
|
||||
# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
||||
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/branches/sam_hal/public/mipsisa32-be-elf.inc#1 $
|
||||
#
|
||||
|
||||
#
|
||||
# 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
|
3
sys/contrib/dev/ath/public/ap61.opt_ah.h
Normal file
3
sys/contrib/dev/ath/public/ap61.opt_ah.h
Normal file
@ -0,0 +1,3 @@
|
||||
#define AH_SUPPORT_AR5212 1
|
||||
#define AH_SUPPORT_AR5312 1
|
||||
#define AH_SUPPORT_2317 1
|
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/public/arm9-le-thumb-elf.inc#22 $
|
||||
# $Id: //depot/sw/branches/sam_hal/public/arm9-le-thumb-elf.inc#2 $
|
||||
#
|
||||
|
||||
#
|
||||
@ -74,4 +74,5 @@ NM= ${TOOLPREFIX}nm
|
||||
|
||||
LDOPTS= -EL
|
||||
COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
|
||||
COPTS+= -mthumb -mlittle-endian -mcpu=arm9 -ffunction-sections -fdata-sections
|
||||
COPTS+= -mthumb -mlittle-endian -mcpu=arm9 -msoft-float \
|
||||
-ffunction-sections -fdata-sections
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/public/armv4-be-elf.inc#22 $
|
||||
# $Id: //depot/sw/branches/sam_hal/public/armv4-be-elf.inc#3 $
|
||||
#
|
||||
|
||||
#
|
||||
@ -63,6 +63,12 @@ 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
|
||||
COPTS+= -march=armv4 -mbig-endian -msoft-float \
|
||||
-fno-strict-aliasing -fno-common
|
||||
|
@ -5,3 +5,4 @@
|
||||
#define AH_SUPPORT_5112 1
|
||||
#define AH_SUPPORT_2413 1
|
||||
#define AH_SUPPORT_5413 1
|
||||
#define AH_REGOPS_FUNC 1
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/public/armv4-le-elf.inc#22 $
|
||||
# $Id: //depot/sw/branches/sam_hal/public/armv4-le-elf.inc#3 $
|
||||
#
|
||||
|
||||
#
|
||||
@ -63,6 +63,12 @@ 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
|
||||
COPTS+= -march=armv4 -mlittle-endian -msoft-float \
|
||||
-fno-strict-aliasing -fno-common
|
||||
|
@ -5,3 +5,4 @@
|
||||
#define AH_SUPPORT_5112 1
|
||||
#define AH_SUPPORT_2413 1
|
||||
#define AH_SUPPORT_5413 1
|
||||
#define AH_REGOPS_FUNC 1
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/public/i386-elf.inc#21 $
|
||||
# $Id: //depot/sw/branches/sam_hal/public/i386-elf.inc#1 $
|
||||
#
|
||||
|
||||
#
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/public/mips-be-elf.inc#19 $
|
||||
# $Id: //depot/sw/branches/sam_hal/public/mips-be-elf.inc#2 $
|
||||
#
|
||||
|
||||
#
|
||||
@ -64,6 +64,11 @@ 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 \
|
||||
|
@ -5,3 +5,4 @@
|
||||
#define AH_SUPPORT_5112 1
|
||||
#define AH_SUPPORT_2413 1
|
||||
#define AH_SUPPORT_5413 1
|
||||
#define AH_REGOPS_FUNC 1
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/public/mips-le-elf.inc#18 $
|
||||
# $Id: //depot/sw/branches/sam_hal/public/mips-le-elf.inc#2 $
|
||||
#
|
||||
|
||||
#
|
||||
@ -61,6 +61,11 @@ 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 \
|
||||
|
@ -5,3 +5,4 @@
|
||||
#define AH_SUPPORT_5112 1
|
||||
#define AH_SUPPORT_2413 1
|
||||
#define AH_SUPPORT_5413 1
|
||||
#define AH_REGOPS_FUNC 1
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/public/mips1-be-elf.inc#18 $
|
||||
# $Id: //depot/sw/branches/sam_hal/public/mips1-be-elf.inc#2 $
|
||||
#
|
||||
|
||||
#
|
||||
@ -61,6 +61,11 @@ 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 \
|
||||
|
@ -5,3 +5,4 @@
|
||||
#define AH_SUPPORT_5112 1
|
||||
#define AH_SUPPORT_2413 1
|
||||
#define AH_SUPPORT_5413 1
|
||||
#define AH_REGOPS_FUNC 1
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/public/mips1-le-elf.inc#18 $
|
||||
# $Id: //depot/sw/branches/sam_hal/public/mips1-le-elf.inc#2 $
|
||||
#
|
||||
|
||||
#
|
||||
@ -61,6 +61,11 @@ 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 \
|
||||
|
@ -5,3 +5,4 @@
|
||||
#define AH_SUPPORT_5112 1
|
||||
#define AH_SUPPORT_2413 1
|
||||
#define AH_SUPPORT_5413 1
|
||||
#define AH_REGOPS_FUNC 1
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/public/mipsisa32-be-elf.inc#26 $
|
||||
# $Id: //depot/sw/branches/sam_hal/public/mipsisa32-be-elf.inc#2 $
|
||||
#
|
||||
|
||||
#
|
||||
@ -63,6 +63,11 @@ 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 \
|
||||
|
@ -5,3 +5,4 @@
|
||||
#define AH_SUPPORT_5112 1
|
||||
#define AH_SUPPORT_2413 1
|
||||
#define AH_SUPPORT_5413 1
|
||||
#define AH_REGOPS_FUNC 1
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/public/mipsisa32-le-elf.inc#21 $
|
||||
# $Id: //depot/sw/branches/sam_hal/public/mipsisa32-le-elf.inc#2 $
|
||||
#
|
||||
|
||||
#
|
||||
@ -63,6 +63,11 @@ 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 \
|
||||
|
@ -5,3 +5,4 @@
|
||||
#define AH_SUPPORT_5112 1
|
||||
#define AH_SUPPORT_2413 1
|
||||
#define AH_SUPPORT_5413 1
|
||||
#define AH_REGOPS_FUNC 1
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/public/powerpc-be-eabi.inc#26 $
|
||||
# $Id: //depot/sw/branches/sam_hal/public/powerpc-be-eabi.inc#2 $
|
||||
#
|
||||
|
||||
#
|
||||
@ -65,7 +65,12 @@ 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 -DAH_REGOPS_FUNC
|
||||
COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
|
||||
COPTS+= -mbig-endian
|
||||
COPTS+= -msoft-float -ffixed-r2
|
||||
|
@ -5,3 +5,4 @@
|
||||
#define AH_SUPPORT_5112 1
|
||||
#define AH_SUPPORT_2413 1
|
||||
#define AH_SUPPORT_5413 1
|
||||
#define AH_REGOPS_FUNC 1
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/public/powerpc-be-elf.inc#17 $
|
||||
# $Id: //depot/sw/branches/sam_hal/public/powerpc-be-elf.inc#2 $
|
||||
#
|
||||
|
||||
#
|
||||
@ -61,7 +61,12 @@ 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 -DAH_REGOPS_FUNC
|
||||
COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
|
||||
COPTS+= -mbig-endian
|
||||
COPTS+= -msoft-float -ffixed-r2
|
||||
|
@ -5,3 +5,4 @@
|
||||
#define AH_SUPPORT_5112 1
|
||||
#define AH_SUPPORT_2413 1
|
||||
#define AH_SUPPORT_5413 1
|
||||
#define AH_REGOPS_FUNC 1
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/public/powerpc-le-eabi.inc#25 $
|
||||
# $Id: //depot/sw/branches/sam_hal/public/powerpc-le-eabi.inc#2 $
|
||||
#
|
||||
|
||||
#
|
||||
@ -63,8 +63,13 @@ 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 -DAH_REGOPS_FUNC
|
||||
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
|
||||
|
@ -5,3 +5,4 @@
|
||||
#define AH_SUPPORT_5112 1
|
||||
#define AH_SUPPORT_2413 1
|
||||
#define AH_SUPPORT_5413 1
|
||||
#define AH_REGOPS_FUNC 1
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/public/sh4-le-elf.inc#21 $
|
||||
# $Id: //depot/sw/branches/sam_hal/public/sh4-le-elf.inc#1 $
|
||||
#
|
||||
|
||||
#
|
||||
|
5744
sys/contrib/dev/ath/public/sparc-be-elf.hal.o.uu
Normal file
5744
sys/contrib/dev/ath/public/sparc-be-elf.hal.o.uu
Normal file
File diff suppressed because it is too large
Load Diff
72
sys/contrib/dev/ath/public/sparc-be-elf.inc
Normal file
72
sys/contrib/dev/ath/public/sparc-be-elf.inc
Normal file
@ -0,0 +1,72 @@
|
||||
#
|
||||
# Copyright (c) 2002-2004 Sam Leffler, Errno Consulting
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer,
|
||||
# without modification.
|
||||
# 2. Redistributions in binary form must reproduce at minimum a disclaimer
|
||||
# similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
|
||||
# redistribution must be conditioned upon including a substantially
|
||||
# similar Disclaimer requirement for further binary redistribution.
|
||||
# 3. Neither the names of the above-listed copyright holders nor the names
|
||||
# of any contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# Alternatively, this software may be distributed under the terms of the
|
||||
# GNU General Public License ("GPL") version 2 as published by the Free
|
||||
# Software Foundation.
|
||||
#
|
||||
# NO WARRANTY
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
|
||||
# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
|
||||
# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
||||
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
#
|
||||
# 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
|
8
sys/contrib/dev/ath/public/sparc-be-elf.opt_ah.h
Normal file
8
sys/contrib/dev/ath/public/sparc-be-elf.opt_ah.h
Normal file
@ -0,0 +1,8 @@
|
||||
#define AH_SUPPORT_AR5210 1
|
||||
#define AH_SUPPORT_AR5211 1
|
||||
#define AH_SUPPORT_AR5212 1
|
||||
#define AH_SUPPORT_5111 1
|
||||
#define AH_SUPPORT_5112 1
|
||||
#define AH_SUPPORT_2413 1
|
||||
#define AH_SUPPORT_5413 1
|
||||
#define AH_REGOPS_FUNC 1
|
File diff suppressed because it is too large
Load Diff
@ -75,3 +75,9 @@ COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
|
||||
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
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/public/x86_64-elf.inc#20 $
|
||||
# $Id: //depot/sw/branches/sam_hal/public/x86_64-elf.inc#1 $
|
||||
#
|
||||
|
||||
#
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/public/xscale-be-elf.inc#24 $
|
||||
# $Id: //depot/sw/branches/sam_hal/public/xscale-be-elf.inc#2 $
|
||||
#
|
||||
|
||||
#
|
||||
@ -70,7 +70,12 @@ 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 -DAH_REGOPS_FUNC
|
||||
COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
|
||||
COPTS+= -march=armv4 -mbig-endian -fno-strict-aliasing -fno-common -mapcs-32 \
|
||||
-mtune=xscale -mshort-load-bytes -msoft-float -mfp=2
|
||||
|
@ -5,3 +5,4 @@
|
||||
#define AH_SUPPORT_5112 1
|
||||
#define AH_SUPPORT_2413 1
|
||||
#define AH_SUPPORT_5413 1
|
||||
#define AH_REGOPS_FUNC 1
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
# THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#
|
||||
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/public/xscale-le-elf.inc#17 $
|
||||
# $Id: //depot/sw/branches/sam_hal/public/xscale-le-elf.inc#2 $
|
||||
#
|
||||
|
||||
#
|
||||
@ -71,7 +71,12 @@ 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 -DAH_REGOPS_FUNC
|
||||
COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
|
||||
COPTS+= -march=armv4 -mlittle-endian -fno-strict-aliasing -fno-common \
|
||||
-mapcs-32 -mtune=xscale -mshort-load-bytes -msoft-float -mfp=2
|
||||
|
@ -5,3 +5,4 @@
|
||||
#define AH_SUPPORT_5112 1
|
||||
#define AH_SUPPORT_2413 1
|
||||
#define AH_SUPPORT_5413 1
|
||||
#define AH_REGOPS_FUNC 1
|
||||
|
@ -33,6 +33,6 @@
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
* THE POSSIBILITY OF SUCH DAMAGES.
|
||||
*
|
||||
* $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/version.h#135 $
|
||||
* $Id: //depot/sw/branches/sam_hal/version.h#14 $
|
||||
*/
|
||||
#define ATH_HAL_VERSION "0.9.16.16"
|
||||
#define ATH_HAL_VERSION "0.9.17.2"
|
||||
|
Loading…
Reference in New Issue
Block a user