summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
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@
2006-01-01Let cons_init() and cons_init_bell() initialize the whole consdev structure,Miod Vallat
thus removing the need for drivers to initialize cn_pri to CN_DEAD when hardware probe fails.
2005-12-30Properly detect AS99127F rev 1.Mark Kettenis
From Jonathan Fromer <jf@daimi.au.dk>.
2005-12-30Initial W83791D support for lm(4).Mark Kettenis
ok krw@
2005-12-29go via pckbc_enqeue_cmd() in pckbd_enable() if on; fixes PR 4615Martin Reindl
ok miod@, mickey@
2005-12-28correct CX20468 initialization; mickey@ ok'ed this some time ago.Federico G. Schwindt
if you have this conexant codec give it a try.
2005-12-28Oops. Missed file from previous commit.Kenneth R Westerback
2005-12-28Strip out fancy timeout code that attempts to mimic FreeBSD's threadKenneth R Westerback
based timeout handling. Use the simple timeout == bus reset model instead. Also move verbose debug output inside #ifdef/#endif. Fixes pulling out a raidctl disk causing a crash noted by kurt@. Rebuilding the raid still problematic. Reduces but does not eliminate crashes with 'smartctl -d scsi -a /dev/rcd0c' seen by Sigfried H?versen. Should only impact timeout handling. No change to normal processing. Thanks to kurt@ and Sigfied for testing. ok marco@
2005-12-28Strip out fancy timeout code that attempts to mimic FreeBSD's threadKenneth R Westerback
based timeout handling. Use the simple timeout == bus reset model instead. Also move verbose debug output inside #ifdef/#endif. Fixes immediate crashes on encountering a timeout. Noted by per englebrecht when trying 'smartctl -d scsi -a /dev/rsd0c'. Thanks to per englebrecht and luiz gustavo for testing. Should only impact timeout handling. No change to normal processing. ok marco@
2005-12-25Add support for AS99127F, an Asus W83781D clone.Mark Kettenis
2005-12-24Use sensors thread instead of timeouts.Mark Kettenis
Update every 5 instead of 1.5 seconds. ok grange@, deraadt@
2005-12-21shrink a bitDavid Gwynne
2005-12-18Update my e-mail address in the copyright statement, no binary changes.Reyk Floeter
2005-12-17Get rid of deprecated vm_{offset,size}_t types for good, use {p,v}{addr,size}_tMiod Vallat
instead; looked at millert@
2005-12-16a little quieterBrad Smith
2005-12-15If i is unsigned then i can wrap in 'for(...; i >= 0; i--)'. SpottedKenneth R Westerback
by lint. While there fix incorrect uses of sizeof(mydevname) instead of sizeof(devname). And actually print the constructed devname, using the format suggested by brad@. ok brad@
2005-12-15Fix error printf()s.Kenneth R Westerback
ok brad@
2005-12-14some codecs have an external amplifier, and in some hw the bit to poweringFederico G. Schwindt
it down seems to be inverted, so rather than guessing or workaround this, add a extamp var so it can be toggled in userland via mixerctl(1). audio works in hp nx6125 now; tested by todd@, mickey@ ok.
2005-12-13- Add a whole bunch of new PCI ids.Brad Smith
- Remove the version ("valance") check as it is not necessary. From FreeBSD ok mickey@
2005-12-13use consistent naming for members of the softc structDavid Gwynne
2005-12-13Correct typos in comments. From pedro la peu.Jonathan Gray
2005-12-13Don't retry unsupported SCSI commands, causing large delays duringKenneth R Westerback
boot process. Same as done to gdt and ioprbs. ok nate@
2005-12-12ansi, no binary change.Federico G. Schwindt
2005-12-12fix a license i botched years agoMichael Shalayeff
2005-12-12make printf debug-only so some people would just shuddupMichael Shalayeff
2005-12-12knfDavid Gwynne
2005-12-11cleanup some knr to ansi i missed, and some extra whitespace i accidentallyDavid Gwynne
snuck in.
2005-12-10Initialize flags before using it. Spotted by lint.Kenneth R Westerback
ok reyk@
2005-12-10another go at cleaning up bus_dma usage.David Gwynne
when you're using the bus dma api like we are, there are two bus_dma_segment_t's involved, one for the pa stuff and one for the dva stuff. we set this up ok in ami_allocmem, but then we forget half of it when we return from that function. even worse, we assume theyre the same thing in ami_freemem. this diff fixes that by wrapping all the dma bits into a struct (called struct ami_mem) and providing a few macros for accessing the useful parts of it. we just pass this struct around now instead of having to handle all the busdma bits in every function. ok marco@ jason@ krw@