summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2008-03-12Set the RX FIFO threshold to no RX threshold for re(4) adapters.Brad Smith
This resolves a number of various bad symptoms experienced by numerous users especially with the adapters at Gig speed. Tested by quite a few users. From FreeBSD/NetBSD ok deraadt@
2008-03-01Resolve an issue where the Starfire chipset can get into an endless loopBrad Smith
of watchdog timeouts. This happens due to the fact that the driver counts the packets in the output queue to check for the chip hanging but whenever a watchdog timeout happens and the init routine is called and in turn the stop routine the counter is never actually cleared. From Geoff Steckel via PR 5724 ok krw@ martin@ mglocker@
2008-02-25Make bwi compile in debug mode again.Marcus Glocker
2008-02-25Sync up with DragonFlyBSD driver. Please read their commit messageMarcus Glocker
for details: http://leaf.dragonflybsd.org/mailarchive/commits/2008-02/msg00165.html Tested and OK brad@, kettenis@
2008-02-21Some fxp(4) chips do not like having their status/command registers accessedBrad Smith
as 8-bit reads/writes even though they are 16-bit. This can cause the respective interfaces to lock up until the system is hard rebooted. Having the driver read/write to these registers as 16-bit entities resolves the instability. From mickey@ ok krw@ sthen@ dlg@
2008-02-20- Only clear the IFF_OACTIVE flag if packets were processed.Brad Smith
- Only clear the watchdog timer if there are no more packets to process otherwise rearm the timer. From mickey@ Tested by krw@, mikeb@ and brad@ ok dlg@
2008-02-17Simplify the hw revision handling by removing the use of theBrad Smith
rl_type softc field and only relying on the sc_hwrev softc field thoughout the driver. Tested by a number of users from tech@ ok dlg@
2008-02-16Zap KKASSERT porting macro and use KASSERT instead.Marcus Glocker
2008-02-16Count output packets.Marcus Glocker
2008-02-16Replace bwi_rate2plcp() with ieee80211_rate2plcp().Marcus Glocker
2008-02-16Fix spacing / comments.Marcus Glocker
2008-02-16While importing the driver a lot of printf's have been converted toMarcus Glocker
DPRINTF's by mistake. Fix this so we can see fatal errors without beeing in DEBUG mode.
2008-02-16Report rssi and rate in rx radio tap.Marcus Glocker
From the DragonFlyBSD driver.
2008-02-16Return NO_CCB and not TRY_AGAIN_LATER when running out of ccb's.Kenneth R Westerback
Eliminates 'not queued' errors reported on the mailing lists. Tested by Michael (belenus at bsdmail dot de). ok marco@
2008-02-16Better support for 11b mode.Marcus Glocker
From the DragonFlyBSD driver.
2008-02-16Remove some double prototype definitions.Marcus Glocker
2008-02-16Always print device name in front of debug messages.Marcus Glocker
2008-02-12pin 47 on ALC65{0,5,8} ac97 codecs can be used for either eapd orJacob Meuser
spdif-in. usually the deault of spdif-in is used, but some ATI devices use pin 47 for eapd. add a list of subsystem ids (from ALSA) for these devices, and set bit 1 of register 7a to select the correct function of pin 47 for these devices. there was code here to do this prior to the ac97 update, but it was accidentally removed. rename the flag and bit to more accurately reflect what this does and hopefully avoid future confusion. problem noticed and fix tested/ok'd by matthieu@, thanks also some discussion with and pointers from brad@, thanks
2008-02-11add support for the mfi controllers with the ppc iops, aka, LSI SAS1078 orDavid Gwynne
Dell PERC6. committed off a machine booting and rooting off a perc6. tested on a perc5 by marco@ ok marco@
2008-02-10Set reserved bits in the TX Configuration Register the value from the Sun docs.Mark Kettenis
Seems to fix watchdog timeout issues in Sun ERI variants. tested by a few
2008-02-08Return ENOTTY not EINVAL for unsupported ioctl's;Thordur I. Bjornsson
ok kettenis@
2008-02-03Remove sparc64-specific hack to byteswap pcmcia bus_space access. This is noMark Kettenis
longer necessary now that stp(4) maps the pcmcia windows little-endian. Makes wi(4) behind cbb(4) work on sparc64. tested by miod@
2008-01-26Set the return value instead of returning right away so that the DMABrad Smith
memory is actually synched. ok dlg@
2008-01-26sync dma mem back to the cpu on poll failure.David Gwynne
from mickey via pr5714
2008-01-26despatch -> dispatchDavid Gwynne
disparate spellink fix from mickey
2008-01-23Cleanup cn_pri. Change constants to more meaningful names, rather thanJoel Sing
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI, CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI. ok miod@
2008-01-22Add splnet around mii_tick() in rl_tick().Brad Smith
ok dlg@
2008-01-21use the right capitalization for `QLogic'Igor Sobrado
ok jsing@
2008-01-18Print consoleness the canonical way.Mark Kettenis
2008-01-16- Store the hw revision into a new softc field in re_attach() and referenceBrad Smith
the softc field wherever it is necessary. - Use a switch case in re_setmulti() to make things a bit easier to read. ok henning@ dlg@
2008-01-15bring in lots of ac97(4) and auvia(4) updates from NetBSDJacob Meuser
user visible changes: - when setting up ac97(4) mixer items, for some features like surround sound, check if the feature if supported by the codec and only add items for that feature if it is - auvia(4) now supports multichannel playback with at least some multichannel ac97(4) codecs fixes problems for me and ajacoutot with different auvia(4) devices/codecs. no regressions reported by testers. if you have an ac97(4) audio device and are using mixerctl.conf(5), you may want/need to update it. ok ratchov
2008-01-13Check for a negative devinfo index, which could get here throughDeanna Phillips
mixer_ioctl. ok jakemsr@
2008-01-12Make comconsrate initialized to TTYDEF_SPEED at compile-time, for portsMiod Vallat
which need to setup the chip before comcnattach() is invoked.
2008-01-11Fall back on using SERDES if MDI0/MDI1 bits aren't set too. Fix PCS handling.Mark Kettenis
Makes the onboard fiber gem(4) in the Sun Fire V880 work. tested by many; ok dlg@
2008-01-08the rsc-console on the v880 operates at 115200, not the 9600 we think weDavid Gwynne
have to force all console devices to. this change passes the right speed to the com code, and continues to use it when the device is opened as the console device. figured out by kettenis@ ok kettenis@ miod@
2007-12-30Only do pullups when necessary, m_pullup() always prepends an mbufClaudio Jeker
which is very bad if it is not necessary as it causes scrary mbuf fragmentation. tested and OK mglocker@
2007-12-29fix comments after the members of scsi_adapter were changed.David Gwynne
prompted by krw@
2007-12-28massage the way vpds are defined. rename the page used for the devicesDavid Gwynne
serial number and split the vpd header out for use in other places. while here define the device identification page bits too. ok krw@ marco@
2007-12-27Clean up the clock MD code. Move all of the DS1687 register definitions toJoel Sing
the appropriate place and remove all of the magic numbers. Whilst we're here fix up some KNF issues. Also, the get/set functions used the wrong control registers, allowing the clock to update during operation. ok miod@, jasper@
2007-12-271.90 again. use the right flags when creating a dmamap for use duringDavid Gwynne
interrupts.
2007-12-27oops, there was other code in the previous commit that shouldnt have goneDavid Gwynne
in. this reverts 1.90.
2007-12-27use the right flags when creating dmamaps for use in interrupt handlers.David Gwynne
2007-12-14the hardware does not allow to specify the protection mode in eachDamien Bergamini
frame, so track changes to protection mode at each beacon interval and update the hardware registers appropriately. cleanup some comments. undef RAL_DEBUG while i'm here..
2007-12-09fix automatic rate control (if the rate falls down to 6Mbps or 1Mbps,Damien Bergamini
it is no longer stuck at that rate). workaround for a hardware bug when in HostAP or IBSS mode.
2007-12-07LEDsDamien Bergamini
2007-12-07In hostap mode, update beacon to reflect ERP IE changes.Damien Bergamini
Fix channel 126 settings. Workarounds for various hardware bugs.
2007-12-04expresscard ral(4) rt2860 now can attach and detach correctlyTheo de Raadt
ok kettenis
2007-12-03Check for G channels before B when setting the (eeprom) mode.Federico G. Schwindt
based on a change from Luis R. Rodriguez <mcgrof at gmail dot com>. reyk@ ok
2007-11-28make ata controllers protect their own command lists so atascsi doesnt haveDavid Gwynne
to continually go to splbio to ensure its safe to work on them. shrinks code a little.
2007-11-27typos; ok jmc@Martynas Venckus
sys/dev/pci/pciide.c from naddy@