summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2004-08-06Easy one! Remove two redundant assignments.Per Fogelstrom
OK from miod@, millert@, henning@, marcus@ .... :)
2004-08-06Remove __static inline to make the kernel ~24k smaller on i386 and make the ↵Marco Peereboom
debug sessions bearable. ok krw@ deraadt@
2004-08-05remove some separate per driver constants and useBrad Smith
ETHER_MAX_LEN_JUMBO/ETHERMTU_JUMBO where appropriate.
2004-08-05compile before you commit damnitTheo de Raadt
2004-08-05use ETHER_MAX_LEN.Brad Smith
ok mickey@
2004-08-05remove some separate per driver constants and useBrad Smith
ETHER_MAX_LEN_JUMBO/ETHERMTU_JUMBO where appropriate. ok mcbride@ henning@ mickey@
2004-08-05Remove forgotten debug code which does not compile on alpha.Miod Vallat
2004-08-05allocate a cluster on rx after all possible failures had been checked for; ↵Michael Shalayeff
repair sigcache misalignment
2004-08-04interrupt coalescing on post 82557 chips; from freebsd via Dmitry Bogdan ↵Michael Shalayeff
<dsb@poi.dvo.ru>
2004-08-04interrupt mitigation bitsMichael Shalayeff
2004-08-02Use some horrible macros to uninline a few functions that are expensiveArtur Grabowski
when inlined and shave a few k from the kernel size. The goal here was not to make the nicest diff possible, but the smallest. deraadt@ drahn@ ok
2004-08-01Fold in relevant bits of the most recent two updates fromKenneth R Westerback
gibbs@freebsd. Large commit messages detailing all changes can be read at revisions 1.97 and 1.100 of aic7xxx.c: www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/aic7xxx/aic7xxx.c Tested by marco, nate and pefo. Fixed broken system for nate. ok marco@
2004-07-31Save a couple of hundred bytes (on i386) by putting the definition ofKenneth R Westerback
siop_dump_script inside #ifdef DUMP_SCRIPT/#endif, just like its single invocation already is.
2004-07-30Do not negotiate or use non-async transfer rates until probing (i.e.Kenneth R Westerback
SCSI_POLL'ing) is complete. Similar to what is done on mpt, ahc, ahd, etc. This fixes problems during probe on hppa. Problems found & ok mickey@.
2004-07-26Typos in comments.Miod Vallat
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)