new 'beta' version of 'ath' driver available on leaf.

Andrew Atrens atrens at nortelnetworks.com
Tue Apr 12 18:41:04 PDT 2005


Okay this is a good sign -

. ..
-Wpointer-arith -Winline -Wcast-qual  -ansi -c /tmp/ath-dragonfly-1.4.2/src/sys/dev/netif/ath/if_ath_pci.c
ld  -r -o if_ath.kld if_ath.o if_ath_pci.o
ld -Bshareable  -o if_ath.ko if_ath.kld 

You've got the driver itself built. :) :)

But this isn't -

/tmp/ath-dragonfly-1.4.2/src/sys/dev/netif/ath_hal/../../../contrib/dev/ath/public/i386-elf.hal.o.uu > hal.o
cp /tmp/ath-dragonfly-1.4.2/src/sys/dev/netif/ath_hal/../../../contrib/dev/ath/public/i386-elf.opt_ah.h opt_ah.h
awk -f @/tools/makeobjops.awk -- -h @/kern/device_if.m
awk -f @/tools/makeobjops.awk -- -h @/kern/bus_if.m
make: don't know how to make @/contrib/dev/ath/ah.h. Stop
*** Error code 2

The hal module didn't build ...

Try this.

$ cd /tmp/ath-dragonfly-1.4.2/src/sys/dev/netif/ath_hal
$ make clean
$ ln -s /tmp/ath-dragonfly-1.4.2/src/sys/contrib/dev/ath /usr/src/sys/contrib/dev
$ make obj ; make depend ; make

Then

$ cd ../ath_rate_sample
$ make clean ; make obj; make depend ; make



Andrew.











More information about the Submit mailing list