summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-07-15Insist that callers use atw_write_sram to copy even-length buffersTodd C. Miller
to even offsets in the ADM8211 SRAM. From NetBSD (dyoung).
2004-07-15Totally revamp/re-organize device initialization using clue from theTodd C. Miller
reference driver. From NetBSD (dyoung).
2004-07-15Refine some register definitions. From NetBSD (dyoung)Todd C. Miller
2004-07-15Totally revamp device resets using clue from the reference driver.Todd C. Miller
From NetBSD (dyoung).
2004-07-15kill sc_intr_ackTodd C. Miller
2004-07-15Take the paranoia out of the code for writing baseband registers.Todd C. Miller
Totally revamp the way that the synthesizer and baseband are programmed. From NetBSD (dyoung). Also remove trailing whitespace from lines (me).
2004-07-15tcp_trace() expects short, not int; ok deraadtMarkus Friedl
2004-07-15missing bits from last commitTodd C. Miller
2004-07-15add -D for sodebug; ok deraadt, jmcMarkus Friedl
2004-07-15syncTheo de Raadt
2004-07-153 functions had inexact types; millert okTheo de Raadt
2004-07-15Skip SYSTEM and ourown proccess on every loop.Mike Pechkin
millert@, otto@
2004-07-15we have no 'option PPP_FILTER'.Mike Pechkin
millert@
2004-07-15Remove references to non-existent manuals. From form@.Mike Pechkin
millert@
2004-07-15Simplify the Rx filter setup. From NetBSD (dyoung)Todd C. Miller
2004-07-15Countdown correctly to the Target Beacon Transmission Time.Todd C. Miller
Borrowing an idea from the reference driver, use no 64-bit arithmetic. From NetBSD (dyoung)
2004-07-15Simplify IBSS merge code.Todd C. Miller
In atw_start_beacon, set CAP0 as well as BCNT and CAP1. From NetBSD (dyoung)
2004-07-15Re-synchronize TSFT after an IBSS merge.Todd C. Miller
Set up the Tx descriptor ring more safely. Fix an endianness bug. "It's a wonder this ever worked." (Actually, it's not.) hange 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. 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. From NetBSD (dyoung)
2004-07-15In the transmit interrupt handler, do not unnecessarily synchronizeTodd C. Miller
all the descriptors for a buffer chain. Just synchronize the last one, which has the interesting stuff. We 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. Delay for tens of milliseconds lot after writing the Network Access Register. This is what the reference driver does, we can probably lower the delays later. From NetBSD (dyoung)
2004-07-15Delete some dead code and a less-than-helpful comment.Todd C. Miller
Don't call back into the bus-specific code for resets any longer. It does not seem to be necessary. When super-verbose debugging is enabled, convert Rx descriptors' endianness before printing them. Clamp the length of a received packet, just in case the chip lies. From NetBSD (dyoung)
2004-07-15remove commented-out netiso stuffHenning Brauer
2004-07-15bye bye netiso, you won't be missedHenning Brauer
ok millert deraadt
2004-07-15Don't send data packets until the interface is in state RUN. ThisTodd C. Miller
stops ARP and IPv6 Neighbor Discovery packets from trickling out the interface before it is time. Remove dead code from atw_clear_sram. During scans, initialize the BSSID to ff:ff:ff:ff:ff:ff before sending the first probe request. From NetBSD (dyoung)
2004-07-15do not install netiso header files, millert deraadt okHenning Brauer
2004-07-15Do not treat the lost beacon count specially any more. It is kind ofTodd C. Miller
a dumb way to track the link condition anyway. From NetBSD (dyoung).
2004-07-15In ad hoc mode, don't set the mysterious EA bit in the Network AccessTodd C. Miller
Register. ADMtek's reference driver does not use it at all, and it does not seem to make any difference whether we set it or not. Also remove some dead code and test instrumentation. From NetBSD (dyoung).
2004-07-15new dhcpd doesn't have -q any more, adjust comment accordinglyHenning Brauer
From: keoki seu <keoki@camelot.physics.wm.edu>
2004-07-15Complete rewrite derived from kern_ipc_35.cTodd C. Miller
2004-07-15regenTodd C. Miller
2004-07-15Rename structs oipc_perm, omsqid_ds, osemid_ds, oshmid_ds to ipc_perm23,Todd C. Miller
etc to avoid confusion and for consistency with the *35 ones. Remove *n2o functions that don't belong outside of compat.
2004-07-15In cvt_ds, copy from the address of the first element past theTodd C. Miller
struct ipc_perm instead of using sizeof to figure out the offset. Might make a difference for architectures with strict alignment if someone changes this from bcopy to memcpy and gcc inlines it.
2004-07-15More burden for COMPAT_35.Miod Vallat
2004-07-15spacesTheo de Raadt
2004-07-15syncTheo de Raadt
2004-07-15sharp zaurus cdceTheo de Raadt
2004-07-15from netbsd via dlg, umass.c revision 1.97:Theo de Raadt
Well, this is bloody obscure... My Imation USB FlashGO! adapter responds to a Get Max Lun request with a stall. With uhci, this does the expected thing. With ohci, it was returning a "data underrun" error because we weren't setting "buffer rounding" (i.e. USBD_SHORT_XFER_OK), and the underrun was taking priority. This happened with both the ohci in a Mac cube and the builtin ohci on the S3C2410. So, set USBD_SHORT_XFER_OK on the Get Max Lun. Now I get a stall reported and umass attaches correctly.
2004-07-15* remove the RCS escaping line, it is now fixedJean-Francois Brousseau
* add another one regarding rcs_splitpath()
2004-07-14regen for new {msg,sem,shm}ctl syscalls.Todd C. Miller
2004-07-14Because mode_t is used in struct ipc_perm we need new versions ofTodd C. Miller
the msgctl, semctl, and shmctl system calls. This moves the old versions to COMPAT_35 and adds new ones. WARNING: While this fixes things like shared memory in the X server for old (pre-mode_t change) binaries, it will break binaries that use shared memory built between the time of the mode_t change (Jul 13th) and now. If you rebuild X during that interval you will need to do it again after updating the rest of userland.
2004-07-14Move the guts of the {sem,msg,shm}ctl system calls into a new functionTodd C. Miller
which also takes two function pointers for copyin/copyout. For the real syscalls these are just the normal copyin/copyout functions. For the compat routines, these are funtions that convert between the new and old foo_ds structs automagically. OK deraadt@
2004-07-14tweaks for ti12xx bridges; from freebsd via rees@Michael Shalayeff
2004-07-14treat via8366 as via586; from rees@Michael Shalayeff
2004-07-14- new sentence, new lineJason McIntyre
- .Sx a section reference - punctuation - uppercase smtp - bigger offset for display - clarifying logging - syslog stuff to SEE ALSO
2004-07-14sync usage() w/ SYNOPSIS;Jason McIntyre
from Andrey Matveev;
2004-07-14completely revert to r1.31, there were still problems on the forwardingDaniel Hartmeier
path
2004-07-14do not do the stratum guessing dance.Henning Brauer
stratum is pretty much pointless anyway these days, and we certainly do not want to send out illegal packets (stratum=0) until synced...
2004-07-14do not bail out if the server says its clock is unsynchronized.Henning Brauer
rdate is a simple client and doesn't have another server to query, and a server's idea of the time is better than the local clock's one in basically any case.
2004-07-14* when writing to an RCS file, escape the funny charactersJean-Francois Brousseau
* pretty
2004-07-14fix rcs_findrev()'s searching algorithmVincent Labrecque
2004-07-14add a usage string for cvs diff optionsJean-Francois Brousseau