yamt
fb79fa6390
define __GNUC_PREREQ__ if it isn't available on host.
2004-07-15 09:01:29 +00:00
lukem
f619a0eb00
Fix bug in Christos' recent cleanup which broke the "help" and "rhelp" commands.
2004-07-15 08:50:10 +00:00
dyoung
0f8b8b27c5
Insist that callers use atw_write_sram to copy even-length buffers
...
to even offsets in the ADM8211 SRAM.
assert->KASSERT
2004-07-15 07:31:05 +00:00
dyoung
3341b62f3e
Totally revamp device initialization using clue from the reference
...
driver. I also have re-organized the code a lot.
2004-07-15 07:26:17 +00:00
dyoung
9ad89f8c4a
Totally revamp device resets using clue from the reference driver.
2004-07-15 07:25:40 +00:00
dyoung
d6014cf055
Make atw_read_srom static.
2004-07-15 07:25:06 +00:00
dyoung
611fc69801
Re-organize, add new, and remove old prototypes.
2004-07-15 07:22:13 +00:00
dyoung
e083028d58
Once again, stop calling the bus front-end's interrupt-acknowledgement
...
callback.
2004-07-15 07:20:46 +00:00
dyoung
d1b1d2ead4
Totally revamp the way that I program the synthesizer and baseband.
2004-07-15 07:19:46 +00:00
dyoung
3e1b8a977f
Take the paranoia out of the code for writing baseband registers.
2004-07-15 07:13:44 +00:00
dyoung
7a7588432a
Simplify the Rx filter setup, following the AL981 code in tlp(4).
2004-07-15 07:11:23 +00:00
dyoung
6a35b15406
Countdown correctly to the Target Beacon Transmission Time.
...
Borrowing an idea from the reference driver, use no 64-bit arithmetic.
2004-07-15 07:10:25 +00:00
dyoung
1146f43c7a
In atw_start_beacon, set CAP0 as well as BCNT and CAP1.
2004-07-15 07:01:20 +00:00
dyoung
24e7e4403a
Simplify IBSS merge code.
2004-07-15 07:00:43 +00:00
dyoung
1616cd784d
Only write the SSID buffer to the ADM8211 SRAM up to the end of
...
the SSID, not up to the end of the buffer. Given the (too
conservative?) delays involved, this should save some time when we
join a new network.
2004-07-15 06:53:11 +00:00
dyoung
0404143d84
Change the order in which I write the BSSID registers on the ADM8211,
...
to match the reference driver. This probably does not make any
functional difference.
2004-07-15 06:50:34 +00:00
dyoung
81c734b57d
Set up the Tx descriptor ring more safely. Fix an endianness bug.
...
"It's a wonder this ever worked." (Actually, it's not.)
2004-07-15 06:48:45 +00:00
dyoung
fce6670792
Re-synchronize TSFT after an IBSS merge.
2004-07-15 06:46:08 +00:00
dyoung
6e5f00adc9
Here is the serial bus format for the RF3000.
2004-07-15 06:39:50 +00:00
dyoung
6e8ef3ee56
Delay for tens of milliseconds lot after writing the Network Access
...
Register. I am slavishly imitating the reference driver, here.
I will come back and lower the delays later.
2004-07-15 06:38:46 +00:00
dyoung
9bd30b81ae
In the transmit interrupt handler, do not unnecessarily synchronize
...
all the descriptors for a buffer chain. Just synchronize the last
one, which has the interesting stuff.
I still synchronize all the descriptors for the buffer chain if
super-verbose debugging is enabled, since the driver will print
all the descriptors for the chain.
2004-07-15 06:37:22 +00:00
dyoung
73815df521
Remove a less-than-helpful comment.
2004-07-15 06:34:24 +00:00
dyoung
d7d89cb468
Clamp the length of a received packet, just in case the chip lies.
2004-07-15 06:33:43 +00:00
dyoung
e53ab344b8
When super-verbose debugging is enabled, convert Rx descriptors'
...
endianness before printing them.
2004-07-15 06:32:42 +00:00
dyoung
630f4475eb
Delete some dead code.
...
Don't call back into the bus-specific code for resets any longer.
It does not seem to be necessary.
2004-07-15 06:31:43 +00:00
dyoung
02c31c63b0
During scans, initialize the BSSID to ff:ff:ff:ff:ff:ff before
...
sending the first probe request.
2004-07-15 06:30:12 +00:00
dyoung
196e58570e
Clear dead code out of atw_clear_sram.
2004-07-15 06:28:37 +00:00
dyoung
769e7e2b01
Don't send data packets until the interface is in state RUN. This
...
stops ARP and IPv6 Neighbor Discovery packets from trickling out
the interface before it is time.
2004-07-15 06:20:58 +00:00
dyoung
50a1923f1d
Simplify receive descriptor setup.
2004-07-15 06:13:44 +00:00
dyoung
8218b1f277
I'm not treating the lost beacon count specially any more. It is
...
kind of a dumb way to track the link condition, anyway....
2004-07-15 06:06:53 +00:00
dyoung
69529834b9
Rid atw of some dead code and some test instrumentation.
2004-07-15 05:54:13 +00:00
dyoung
5d0bf6495b
Refine some register definitions.
2004-07-15 05:46:31 +00:00
dyoung
57e4881b70
In ad hoc mode, don't set the mysterious EA bit in the Network
...
Access Register. ADMtek's reference driver does not use it at all,
and it does not seem to make any difference whether I leave it in
or take it out.
2004-07-15 05:43:50 +00:00
atatat
b4c789aedb
Wrong date on last
2004-07-15 04:08:29 +00:00
atatat
f68a9f1ff2
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
...
out in most of them.
2004-07-15 03:53:44 +00:00
atatat
2153e53079
note sendmail now starting by default
2004-07-15 03:49:13 +00:00
atatat
89fc8be761
Change the default settings for sendmail.
...
(1) The stock sendmail.cf will only listen on the loopback interface.
(2) The stock submit.cf specifally connects to "localhost." which
should be less susceptible to being confused or looking confused.
(3) The smtp listener starts by default, if needed. The setting in
/etc/default/rc.conf is still "no", but rc.d/sendmail detects the
default setting and will change it to yes if need is determined.
Need is defined as "nothing else seems to have been changed about the
mail configuration but we'd like locally originated and locally
destined mail to be delivered". If you change, eg, mailer.conf to
point to postfix or some other MTA, sendmail will not start.
2004-07-15 03:47:18 +00:00
atatat
1ce3b064a0
Make uudecode into a tool that can be used to build a kernel and redo
...
the athhal-elf.o handling to take advantage of it. This means that
bsd.files.mk is no longer included by Makefile.i386 so CFLAGS won't be
duplicated.
2004-07-15 03:35:20 +00:00
atatat
5f89bdd921
Make the directory into which crash dumps are saved into something
...
that can be controlled via rc.conf. The default is, of course,
/var/crash.
2004-07-15 03:29:55 +00:00
chs
ec3d29dac4
add some instructions at the top of rtld_entry() that use mprotect()
...
to make ld.so's data segment executable. this is needed because the PLT
is in the data segment and we actually honor the execute permissions now.
2004-07-15 03:00:21 +00:00
enami
4a01d481dc
Simple regression test for humanize_number(). Fix for some of tests
...
aren't committed yet.
2004-07-14 22:47:31 +00:00
wiz
5102b97303
Bump date for previous.
2004-07-14 20:10:14 +00:00
manu
51267dac7d
Correctly set MSR static user bits on thread creation, as the calling
...
process might not have done it. This fixes crashes on thread creation.
2004-07-14 19:58:51 +00:00
kleink
ea50e13fa9
Add a STANDARDS section; noted by Peter Bex in PR standards/25957.
2004-07-14 19:12:26 +00:00
pk
9fb9c69cd9
Make this compile with the TCX_CG8 option turned on (PR#26269).
2004-07-14 19:07:29 +00:00
christos
fe028e1238
PR/26882: Matthew Mondor: ipfstat -t fails to restore termios tty state
...
if it fails for ipf disabled. Fix from Peter Postma.
2004-07-14 18:22:10 +00:00
uch
3e92a012a2
enable to power off and reset card.
2004-07-14 14:33:23 +00:00
tsutsui
c2e5d3b127
Make lpt devices.
2004-07-14 14:16:14 +00:00
tsutsui
3edbd6052a
Add device-major for lpt.
2004-07-14 14:13:24 +00:00
sekiya
e4c49c37de
Build lib*_pic.a only for loadable modules on dlopen() targets.
2004-07-14 13:34:13 +00:00