summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2006-01-30only flush the TX descriptors in re_start() if there are packetsBrad Smith
to be transmitted. tested by jsg@
2006-01-29Don't ask bus_dmamem_alloc() for zero bytes. 'bioctl -H x:y amiz' noKenneth R Westerback
longer triggers a panic. ok marco@ dlg@.
2006-01-28Consider temperatures below -45 degC to be invalid for Winbond chips.Mark Kettenis
2006-01-28remove 2 printf's from dc_coal() too.Brad Smith
2006-01-28Make sure that HW VLAN stripping is not enabled and remove unused codeBrad Smith
for HW VLAN stripping.
2006-01-28remove printf's from dc_newbuf().Brad Smith
2006-01-26Make lm at iic detach properly, and use config_detach(9) to fully detachMark Kettenis
lm at iic if we attach lm at isa for the same chip. tested by robert@, krw@
2006-01-23update sm(4) from NetBSD, including support for more models and MII;Martin Reindl
also activate ISA attachment; ok brad@
2006-01-22Nothing uses this file anymore.Alexander Yurchenko
ok miod@
2006-01-20- xl_encap(): free the mbuf chain and return if bus_dmamap_load_mbuf()Brad Smith
returns an error other than EFBIG. - xl_encap(): remove a redundant check already done in xl_start_90xB(). - merge xl_encap_90xB() into xl_encap().
2006-01-19Try to disable unconnected temperature sensors.Mark Kettenis
2006-01-19Replace SENSOR_ADD() macro with a pair of functionsAlexander Yurchenko
sensor_add()/sensor_del() so that sensors can be attached and detached dynamicaly. ok kettenis@ deraadt@ dlg@
2006-01-17Support W83791SD as an lm(4) without sensors.Mark Kettenis
2006-01-15Commit missing bits too:Mark Kettenis
If we attach an lm(4) to isa(4) that is already attached to iic(4), disable the one attached to iic(4). idea from deraadt@
2006-01-14Move isa-specific members of struct lm_softc into lm_isa.c.Mark Kettenis
2006-01-14Rename nslm7x.c into lm78.c and nslm7xvar.h into lm78var.h, and clean upMark Kettenis
lm78var.h. Now that I've completely rewritten the driver, replace copyright with my own. suggested by deraadt@
2006-01-14- give rate to rx radiotapDamien Bergamini
- read TSF high 32bit word before low 32bit word to avoid wraparounds
2006-01-14Correct the length of the rx radiotap to be that of the rx not txJonathan Gray
struct. ok damien@
2006-01-13- fix short slot timeDamien Bergamini
- add WEP capability flag - make sure to reset fallback to CCK rates when switching to 802.11a - give BBP more time to initialize
2006-01-13fix short slot time + cosmeticDamien Bergamini
2006-01-13- simplify lookup of 802.11a channels (we know they exist)Damien Bergamini
- kill two stupid comments while i'm here
2006-01-12Garbage collect lm_probe.Mark Kettenis
2006-01-12Add W83792D support.Mark Kettenis
ok deraadt@
2006-01-12Fix typo. Spotted by Oleg Safiullin.Mark Kettenis
2006-01-12- add a missing htons() to the receive checksum routine to fixBrad Smith
checksumming on little endian systems. - only set the Ok flag in the checksum routine. Checksumming fix from: Pyun YongHyeon <pyunyh at gmail dot com>
2006-01-11fix my previous commit. fallback to CCK rates was broken.Damien Bergamini
2006-01-11enable multi-rate retries for frames sent at OFDM rates (with CCK fallback).Damien Bergamini
fix setting of basic rates.
2006-01-11fix RTS protection mode.Damien Bergamini
2006-01-11only set Ok flag for RX checksums.Brad Smith
2006-01-11remove a printf here.Brad Smith
2006-01-11In the case that we've used up all 63 fragments then try to allocate an mbufBrad Smith
cluster and copy the mbuf chain. The codepath for older xl's already dealt with this condition.
2006-01-10add RTS protection mode support.Damien Bergamini
2006-01-10- use rssadapt(9) as rate control algorithmDamien Bergamini
- add 802.11 radiotap support - read 802.11a channels tx power from EEPROM - read vendor-specific BBP settings from EEPROM - fix setting of beacons (xflags) - fix DMA sync in rt2661_rx_intr - indicate whether RF supports MIMO in dmesg - add short slot time support - many cleanups while i'm here
2006-01-10fix reading of EEPROM content on big endian arches.Damien Bergamini
2006-01-10send management, control and beacon frames at the lowest possible rateDamien Bergamini
(1Mbps for 802.11b/g, 6Mbps for 802.11a)
2006-01-10cleanup rt2560_setup_tx_desc().Damien Bergamini
fix contention window.
2006-01-09Delay a bit after sending a reset command if the chip is an 53C94 or a 53C96;Miod Vallat
ok deraadt@ krw@
2006-01-09NCRDMA_SETUP() should be called before NCR_SET_COUNT() and NCRCMD_DMA commandBrad Smith
in ncr53c9x_select(). From tsutsui NetBSD ok miod@
2006-01-09Move an(4) to a driver based on the NetBSD one.Jonathan Gray
This brings net80211 support and support for newer hardware. In addition ancontrol is no longer needed. This driver does not yet work on big endian archs like the previous one did. "do it" deraadt@
2006-01-09Reorganize, paying attention to the small differences between Winbond chips.Mark Kettenis
ok deraadt@
2006-01-09- add preliminary support for Ralink Technology RT2561, RT2561S and RT2661Damien Bergamini
chipsets in ral(4). - restructure the code a bit; split ic/ral.c into ic/rt2560.c and ic/rt2661.c - import the 8051 microcode files required by these chipsets. - more to come; there is currently no automatic rate control and some features are untested (hostap and ibss modes for instance). most of the pre-802.11n capabilities of the RT2661 chipset are not supported (like frame aggregation, piggy-back). MIMO should work though the performance/range gain has not been measured.
2006-01-07Remove #ifdef'ed out prototypes for previously removed #ifdef'ed out code.Mark Kettenis
2006-01-05Disable the minimum size frame bundling when using the CPUSaver microcode.Brad Smith
This could cause 2 interrupts per frame if the frame size is below 128 bytes. From Dmitry Bogdan <dsb at imcs dot dvgu dot ru>
2006-01-05load the CPUSaver 102E microcode for the 82551 Rev 10 chip.Brad Smith
From the Intel e100 driver.
2006-01-05rev 1.59 & 1.60 of rtw.c commited by David Young to NetBSD:Jonathan Gray
On a transmit FIFO overflow (err, actually an underflow...) reset both the transmit & receive sections of the MAC. Fix comments and debug printfs: Tx FIFOs underflow, they don't overflow.
2006-01-05part of rev 1.58 of rtw.c David Young comitted to NetBSD:Jonathan Gray
Miscellaneous Realtek RTL8180L driver improvements: 3 Revamp handling of transmit descriptor rings. 4 Reliably IFF_OACTIVE when transmit descriptors are available, to stop the transmit section of the driver from freezing up. 5 Fix beacon transmission in adhoc and hostap modes. XXX There is a wart in hostap mode, where beacons are transmitted at 1/2 the correct rate. Load beacon descriptors when the RTW_INTR_BINT interrupt arrives; schedule RTW_INTR_BINT 1ms ahead of the target beacon time. 6 Recover more gracefully from tx/rx errors: avoid transmitter/receiver/chip resets. Try to re-synchronize software state with hardware state---e.g., load next descriptor pointer from hardware. 7 Activate the transmit watchdog timer for beacons as well as other packets. 8 Introduce rtw_idle() that waits for transmit DMA to finish; call it before resetting the transmitter.
2006-01-04Return from interrupt handler after chip init(reset).Brad Smith
From petrov NetBSD ok miod@
2006-01-04People doing time comparisons without using the time{r,spec}cmp macros areMiod Vallat
doomed to do them incorrectly; ok krw@ millert@ tedu@
2006-01-04Remove redundant calls to bpfdetach.Can Erkin Acar
ok brad@
2006-01-03Be careful not to change any registers.Mark Kettenis
ok grange@, deraadt@; tested by krw@