Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 2004 23:04:50 +1000
From:      "Talbot Neil" <talbotn@ihug.com.au>
To:        <freebsd-stable@freebsd.org>
Subject:   Atheros Wireless Card 
Message-ID:  <004701c4bb5c$60ddf200$6401a8c0@ctsinc.com.au>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0043_01C4BBB0.322E4D70
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi All,

I am having troubles compiling the atheros card into the kernel.=20
I am getting compilation errors as follows:


-----SNIP------

linking kernel
if_ath.o(.text+0x6c): In function `ath_attach':
: undefined reference to `ath_hal_attach'
if_ath.o(.text+0x3073): In function `ath_tx_start':
: undefined reference to `ath_hal_computetxtime'
if_ath.o(.text+0x30d0): In function `ath_tx_start':
: undefined reference to `ath_hal_computetxtime'
if_ath.o(.text+0x30ed): In function `ath_tx_start':
: undefined reference to `ath_hal_computetxtime'
if_ath.o(.text+0x310f): In function `ath_tx_start':
: undefined reference to `ath_hal_computetxtime'
if_ath.o(.text+0x4113): In function `ath_getchannels':
: undefined reference to `ath_hal_init_channels'
if_ath.o(.text+0x4160): In function `ath_getchannels':
: undefined reference to `ath_hal_mhz2ieee'
if_ath.o(.data+0x20): undefined reference to `sysctl__hw_ath_children'
if_ath.o(.data+0x60): undefined reference to `sysctl__hw_ath_children'
if_ath.o(.data+0xa0): undefined reference to `sysctl__hw_ath_children'
if_ath.o(.data+0x100): undefined reference to `sysctl__hw_ath_children'
if_ath.o(.data+0x160): undefined reference to `sysctl__hw_ath_children'
if_ath.o(.data+0x1a0): more undefined references to =
`sysctl__hw_ath_children' follow
if_ath_pci.o(.text+0xae): In function `ath_pci_probe':
: undefined reference to `ath_hal_probe'
*** Error code 1

Stop in /usr/obj/usr/src/sys/WirelessFirewallNAT.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D END


My Kernel Config is attached.



Thanks Guys

Talbot
------=_NextPart_000_0043_01C4BBB0.322E4D70
Content-Type: application/octet-stream;
	name="WirelessFirewallNAT"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="WirelessFirewallNAT"

# $FreeBSD: src/sys/i386/conf/WirelessFirewallNAT,v 1.0 2004/10/26 =
21:14:00 talbotn Exp $=0A=
=0A=
machine		i386=0A=
cpu		I486_CPU=0A=
cpu		I586_CPU=0A=
cpu		I686_CPU=0A=
ident		WirelessFirewallNAT=0A=
=0A=
options 	SCHED_4BSD		# 4BSD scheduler=0A=
options 	INET			# InterNETworking=0A=
options 	INET6			# IPv6 communications protocols=0A=
options 	FFS			# Berkeley Fast Filesystem=0A=
options 	SOFTUPDATES		# Enable FFS soft updates support=0A=
options 	UFS_ACL			# Support for access control lists=0A=
options 	UFS_DIRHASH		# Improve performance on big directories=0A=
options 	MD_ROOT			# MD is a potential root device=0A=
options 	NFSCLIENT		# Network Filesystem Client=0A=
options 	NFSSERVER		# Network Filesystem Server=0A=
options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT=0A=
options 	MSDOSFS			# MSDOS Filesystem=0A=
options 	CD9660			# ISO 9660 Filesystem=0A=
options 	PROCFS			# Process filesystem (requires PSEUDOFS)=0A=
options 	PSEUDOFS		# Pseudo-filesystem framework=0A=
options 	GEOM_GPT		# GUID Partition Tables.=0A=
options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]=0A=
options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4=0A=
options 	SCSI_DELAY=3D15000	# Delay (in ms) before probing SCSI=0A=
options 	KTRACE			# ktrace(1) support=0A=
options 	SYSVSHM			# SYSV-style shared memory=0A=
options 	SYSVMSG			# SYSV-style message queues=0A=
options 	SYSVSEM			# SYSV-style semaphores=0A=
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time =
extensions=0A=
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev=0A=
options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug=0A=
					# output.  Adds ~128k to driver.=0A=
options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug=0A=
					# output.  Adds ~215k to driver.=0A=
options 	ADAPTIVE_GIANT		# Giant mutex is adaptive.=0A=
=0A=
device		apic		# I/O APIC=0A=
=0A=
# Bus support.  Do not remove isa, even if you have no isa slots=0A=
device		isa=0A=
device		eisa=0A=
device		pci=0A=
=0A=
# Floppy drives=0A=
device		fdc=0A=
=0A=
# ATA and ATAPI devices=0A=
device		ata=0A=
device		atadisk		# ATA disk drives=0A=
device		ataraid		# ATA RAID drives=0A=
device		atapicd		# ATAPI CDROM drives=0A=
device		atapifd		# ATAPI floppy drives=0A=
device		atapist		# ATAPI tape drives=0A=
options 	ATA_STATIC_ID	# Static device numbering=0A=
=0A=
# SCSI Controllers=0A=
device		ahb		# EISA AHA1742 family=0A=
device		ahc		# AHA2940 and onboard AIC7xxx devices=0A=
device		ahd		# AHA39320/29320 and onboard AIC79xx devices=0A=
device		amd		# AMD 53C974 (Tekram DC-390(T))=0A=
device		isp		# Qlogic family=0A=
device		mpt		# LSI-Logic MPT-Fusion=0A=
#device		ncr		# NCR/Symbios Logic=0A=
device		sym		# NCR/Symbios Logic (newer chipsets + those of `ncr')=0A=
device		trm		# Tekram DC395U/UW/F DC315U adapters=0A=
=0A=
device		adv		# Advansys SCSI adapters=0A=
device		adw		# Advansys wide SCSI adapters=0A=
device		aha		# Adaptec 154x SCSI adapters=0A=
device		aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.=0A=
device		bt		# Buslogic/Mylex MultiMaster SCSI adapters=0A=
=0A=
device		ncv		# NCR 53C500=0A=
device		nsp		# Workbit Ninja SCSI-3=0A=
device		stg		# TMC 18C30/18C50=0A=
=0A=
# SCSI peripherals=0A=
device		scbus		# SCSI bus (required for SCSI)=0A=
device		ch		# SCSI media changers=0A=
device		da		# Direct Access (disks)=0A=
device		sa		# Sequential Access (tape etc)=0A=
device		cd		# CD=0A=
device		pass		# Passthrough device (direct SCSI access)=0A=
device		ses		# SCSI Environmental Services (and SAF-TE)=0A=
=0A=
# RAID controllers interfaced to the SCSI subsystem=0A=
device		amr		# AMI MegaRAID=0A=
device		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID=0A=
device		ciss		# Compaq Smart RAID 5*=0A=
device		dpt		# DPT Smartcache III, IV - See NOTES for options=0A=
device		hptmv		# Highpoint RocketRAID 182x=0A=
device		iir		# Intel Integrated RAID=0A=
device		ips		# IBM (Adaptec) ServeRAID=0A=
device		mly		# Mylex AcceleRAID/eXtremeRAID=0A=
device		twa		# 3ware 9000 series PATA/SATA RAID=0A=
=0A=
# RAID controllers=0A=
device		aac		# Adaptec FSA RAID=0A=
device		aacp		# SCSI passthrough for aac (requires CAM)=0A=
device		ida		# Compaq Smart RAID=0A=
device		mlx		# Mylex DAC960 family=0A=
device		pst		# Promise Supertrak SX6000=0A=
device		twe		# 3ware ATA RAID=0A=
=0A=
# atkbdc0 controls both the keyboard and the PS/2 mouse=0A=
device		atkbdc		# AT keyboard controller=0A=
device		atkbd		# AT keyboard=0A=
device		psm		# PS/2 mouse=0A=
=0A=
device		vga		# VGA video card driver=0A=
=0A=
device		splash		# Splash screen and screen saver support=0A=
=0A=
# syscons is the default console driver, resembling an SCO console=0A=
device		sc=0A=
=0A=
# Enable this for the pcvt (VT220 compatible) console driver=0A=
device		vt=0A=
options 	XSERVER		# support for X server on a vt console=0A=
options 	FAT_CURSOR	# start with block cursor=0A=
=0A=
device		agp		# support several AGP chipsets=0A=
=0A=
# Floating point support - do not disable.=0A=
device		npx=0A=
=0A=
# Power management support (see NOTES for more options)=0A=
device		apm=0A=
# Add suspend/resume support for the i8254.=0A=
device		pmtimer=0A=
=0A=
# PCCARD (PCMCIA) support=0A=
# PCMCIA and cardbus bridge support=0A=
device		cbb		# cardbus (yenta) bridge=0A=
device		pccard		# PC Card (16-bit) bus=0A=
device		cardbus		# CardBus (32-bit) bus=0A=
=0A=
# Serial (COM) ports=0A=
device		sio		# 8250, 16[45]50 based serial ports=0A=
=0A=
# Parallel port=0A=
device		ppc=0A=
device		ppbus		# Parallel port bus (required)=0A=
device		lpt		# Printer=0A=
device		plip		# TCP/IP over parallel=0A=
device		ppi		# Parallel port interface device=0A=
#device		vpo		# Requires scbus and da=0A=
=0A=
# If you've got a "dumb" serial or parallel PCI card that is=0A=
# supported by the puc(4) glue driver, uncomment the following=0A=
# line to enable it (connects to the sio and/or ppc drivers):=0A=
#device         puc=0A=
=0A=
# PCI Ethernet NICs.=0A=
device		de		# DEC/Intel DC21x4x (``Tulip'')=0A=
device		em		# Intel PRO/1000 adapter Gigabit Ethernet Card=0A=
device		ixgb		# Intel PRO/10GbE Ethernet Card=0A=
device		txp		# 3Com 3cR990 (``Typhoon'')=0A=
device		vx		# 3Com 3c590, 3c595 (``Vortex'')=0A=
=0A=
# PCI Ethernet NICs that use the common MII bus controller code.=0A=
# NOTE: Be sure to keep the 'device miibus' line in order to use these =
NICs!=0A=
device		miibus		# MII bus support=0A=
device		bfe		# Broadcom BCM440x 10/100 Ethernet=0A=
device		bge		# Broadcom BCM570xx Gigabit Ethernet=0A=
device		dc		# DEC/Intel 21143 and various workalikes=0A=
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)=0A=
device		lge		# Level 1 LXT1001 gigabit ethernet=0A=
device		nge		# NatSemi DP83820 gigabit ethernet=0A=
device		pcn		# AMD Am79C97x PCI 10/100 (precedence over 'lnc')=0A=
device		re		# RealTek 8139C+/8169/8169S/8110S=0A=
device		rl		# RealTek 8129/8139=0A=
device		sf		# Adaptec AIC-6915 (``Starfire'')=0A=
device		sis		# Silicon Integrated Systems SiS 900/SiS 7016=0A=
device		sk		# SysKonnect SK-984x & SK-982x gigabit Ethernet=0A=
device		ste		# Sundance ST201 (D-Link DFE-550TX)=0A=
device		ti		# Alteon Networks Tigon I/II gigabit Ethernet=0A=
device		tl		# Texas Instruments ThunderLAN=0A=
device		tx		# SMC EtherPower II (83c170 ``EPIC'')=0A=
device		vge		# VIA VT612x gigabit ethernet=0A=
device		vr		# VIA Rhine, Rhine II=0A=
device		wb		# Winbond W89C840F=0A=
device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')=0A=
=0A=
# ISA Ethernet NICs.  pccard NICs included.=0A=
device		cs		# Crystal Semiconductor CS89x0 NIC=0A=
# 'device ed' requires 'device miibus'=0A=
device		ed		# NE[12]000, SMC Ultra, 3c503, DS8390 cards=0A=
device		ex		# Intel EtherExpress Pro/10 and Pro/10+=0A=
device		ep		# Etherlink III based cards=0A=
device		fe		# Fujitsu MB8696x based cards=0A=
device		ie		# EtherExpress 8/16, 3C507, StarLAN 10 etc.=0A=
device		lnc		# NE2100, NE32-VL Lance Ethernet cards=0A=
device		sn		# SMC's 9000 series of Ethernet chips=0A=
device		xe		# Xircom pccard Ethernet=0A=
=0A=
# ISA devices that use the old ISA shims=0A=
#device		le=0A=
=0A=
# Wireless NIC cards=0A=
device		wlan		# 802.11 support=0A=
device		an		# Aironet 4500/4800 802.11 wireless NICs.=0A=
device		awi		# BayStack 660 and others=0A=
device		wi		# WaveLAN/Intersil/Symbol 802.11 wireless NICs.=0A=
device		ath		# Atheros chipset wireless NICs.=0A=
#device		wl		# Older non 802.11 Wavelan wireless NIC.=0A=
=0A=
# Pseudo devices.=0A=
device		loop		# Network loopback=0A=
device		mem		# Memory and kernel memory devices=0A=
device		io		# I/O device=0A=
device		random		# Entropy device=0A=
device		ether		# Ethernet support=0A=
device		sl		# Kernel SLIP=0A=
device		ppp		# Kernel PPP=0A=
device		tun		# Packet tunnel.=0A=
device		pty		# Pseudo-ttys (telnet etc)=0A=
device		md		# Memory "disks"=0A=
device		gif		# IPv6 and IPv4 tunneling=0A=
device		faith		# IPv6-to-IPv4 relaying (translation)=0A=
=0A=
# The `bpf' device enables the Berkeley Packet Filter.=0A=
# Be aware of the administrative consequences of enabling this!=0A=
device		bpf		# Berkeley packet filter=0A=
=0A=
# USB support=0A=
device		uhci		# UHCI PCI->USB interface=0A=
device		ohci		# OHCI PCI->USB interface=0A=
device		usb		# USB Bus (required)=0A=
#device		udbp		# USB Double Bulk Pipe devices=0A=
device		ugen		# Generic=0A=
device		uhid		# "Human Interface Devices"=0A=
device		ukbd		# Keyboard=0A=
device		ulpt		# Printer=0A=
device		umass		# Disks/Mass storage - Requires scbus and da=0A=
device		ums		# Mouse=0A=
device		urio		# Diamond Rio 500 MP3 player=0A=
device		uscanner	# Scanners=0A=
# USB Ethernet, requires mii=0A=
device		aue		# ADMtek USB Ethernet=0A=
device		axe		# ASIX Electronics USB Ethernet=0A=
device		cue		# CATC USB Ethernet=0A=
device		kue		# Kawasaki LSI USB Ethernet=0A=
device		rue		# RealTek RTL8150 USB Ethernet=0A=
=0A=
# FireWire support=0A=
device		firewire	# FireWire bus code=0A=
device		sbp		# SCSI over FireWire (Requires scbus and da)=0A=
device		fwe		# Ethernet over FireWire (non-standard!)=0A=
=0A=
#Additional Options=0A=
options 	IPDIVERT=0A=
options 	IPFIREWALL=0A=
options 	IPFIREWALL_DEFAULT_TO_ACCEPT=0A=
options 	NETGRAPH=0A=
options 	NETGRAPH_ETHER=0A=
options 	NETGRAPH_PPPOE=0A=
options 	NETGRAPH_SOCKET=0A=
=0A=

------=_NextPart_000_0043_01C4BBB0.322E4D70--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004701c4bb5c$60ddf200$6401a8c0>