summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2004-07-25Begin conditioning device configuration on revision number. Three typesTodd C. Miller
are known: ADM8211A (1.1/1.5), ADM8211B (2.0), ADM8211C (3.0). The B and C parts, while not yet supported, have AP capability. From NetBSD (dyoung).
2004-07-25Fix IBSS merges in atw(4). From NetBSD (dyoung)Todd C. Miller
2004-07-25Improve register definitions and slightly demystify some magicTodd C. Miller
numbers. From NetBSD (dyoung)
2004-07-25Here is the serial bus format for the RF3000. From NetBSD (dyoung)Todd C. Miller
2004-07-25The RSSI field in the Rx descriptor is the unadulterated contentTodd C. Miller
of the DIVCTL/RSSI register on the RF3000 baseband. Mask all but the RSSI bits. From NetBSD (dyoung).
2004-07-24provide proper ip header alignment (and repair big endian archs again from ↵Michael Shalayeff
after ether_input_mbuf conversion); also kill some stupid spaces
2004-07-22Spell reserved correctly; ok from copyright holders when in licence blocks.Miod Vallat
2004-07-21remove hppa workarounds; from jkunz@ pr3861Michael Shalayeff
2004-07-19Delete the AP scan timeout in atw_detach. Fixes a panic on detach if theTodd C. Miller
timeout is still active as seen by david@
2004-07-18#ifdef SMALL_KERNEL -> #define ISP_STRIPPEDTheo de Raadt
2004-07-15Remove an errant ATW_CLR() that was the result of a merge error.Todd C. Miller
2004-07-15Simplify receive descriptor setup; from NetBSD (dyoung).Todd C. Miller
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-15missing bits from last commitTodd C. Miller
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-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 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-13Replace _DEV_IC_MPT_NETBSD_H_ with _DEV_IC_MPT_OPENBSD_H_Marco Peereboom
2004-07-12Add detection of IM/IS/IME support in mpt_attach(). This is in preparation ↵Marco Peereboom
to add RAID support.
2004-07-12rearrange config-time printfsTheo de Raadt
2004-07-07Only drain the transmit queue if we are idling the transmit section.Todd C. Miller
From NetBSD (dyoung)
2004-07-07After we wait for the MAC's transmit section to idle, drain theTodd C. Miller
transmit queue and cancel the watchdog timer. Fixes the annoying "atw0: transmit timeout" messages. From NetBSD (dyoung)
2004-07-07Check for ATW_C_BBPTYPE_RFMD in switch statement (not currently supported).Todd C. Miller
From NetBSD (dyoung)
2004-07-07The ADM8211C uses a different BBP type-number for RFMD parts thanTodd C. Miller
the original ADM8211. From NetBSD (dyoung)
2004-07-07Fix typo: change ATW_RFTYPE_RFMD and family to ATW_BBPTYPE_RFMD.Todd C. Miller
This does not make any functional difference: each manufacturer's RF type-number is the same as its BBP type-number. From NetBSD (dyoung)
2004-06-30Force SCSI_POLL for commands issued during probe. Fixes problem with mpt onKenneth R Westerback
MP kernels which don't enable interrupts until after probe. ok marco@
2004-06-27stop passing an empty enaddr around since we figure out theBrad Smith
MAC address in the common attach code and not the PCI/CardBus specific portions, this was a side effect of the code being split to support CardBus. ok beck@
2004-06-24This moves access to wall and uptime variables in MI code,Thorsten Lockert
encapsulating all such access into wall-defined functions that makes sure locking is done as needed. It also cleans up some uses of wall time vs. uptime some places, but there is sure to be more of these needed as well, particularily in MD code. Also, many current calls to microtime() should probably be changed to getmicrotime(), or to the {,get}microuptime() versions. ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others "Oh, that is not your problem!" from miod@
2004-06-24ultra minor KNFJun-ichiro itojun Hagino
2004-06-23Make AHD_DEBUG compile. ok krw@Marco Peereboom
2004-06-23Missed this in the atw(4) commit.Todd C. Miller
2004-06-22atw(4) driver from NetBSD (dyoung). Based in part on a port byTodd C. Miller
Matthew Gream. Unfortunately, the adm8211 card I have with me does not work correctly with the driver yet so real testing will have to wait until I get my hands on an adm8211-based DWL-650 or something similar.
2004-06-22Enable ahd interrupts and reset the channel before scanning the busKenneth R Westerback
for devices. This is how ahc is done too. Fixes probe hang on Theo's box with the 7902B chip. ok marco@
2004-06-22Use SIOCSIFGENERIC and SIOCGIFGENERIC for SIOCSWAVELAN and SIOCGWAVELANTodd C. Miller
instead of SIOCSIFASYNCMAP and SIOCGIFASYNCMAP. Needed for upcoming 802.11 framework. OK deraadt@
2004-06-22The Prism device driver's manual makes a distinction in naming ofTodd C. Miller
config comands and other types but we don't so remove the CNF_ from WI_RID_CNF_ENH_SECURITY and WI_RID_CNF_DBM_ADJUST for consistency and compat with Net and Free.
2004-06-22Remove all static functions. ok krw@Marco Peereboom
2004-06-21First step towards more sane time handling in the kernel -- this changesThorsten Lockert
things such that code that only need a second-resolution uptime or wall time, and used to get that from time.tv_secs or mono_time.tv_secs now get this from separate time_t globals time_second and time_uptime. ok art@ niklas@ nordin@
2004-06-21Fix ahd_[get|set]_transaction_status vs ahd_[get|set]_scsi_status confusion.Kenneth R Westerback
Allocate max number of SCB's at initialization. Display negotiated transfer parameters. ok marco@
2004-06-20take 2 times less room in dmesg, prettier tooPeter Valchev
allocate interrupts early on (before PHY attachment, etc) just like all other drivers do to allow the above; ok mcbride