summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
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-20When collecting the hardware statistics add the interfaces input errorsBrad Smith
counter and out of receive buffer descriptors counter to the network stacks input errors counter. Based on a diff from mickey@ though updated for -current and added support for BCM5705 or newer chipsets from brad@. Tested it with BCM5704 on i386/amd64, BCM5700 on sparc64, BCM5701/BCM5751M on i386 and BCM5721/BCM5780 on amd64. ok krw@ sthen@ dlg@
2008-02-20when bge has link, use autopolling for link status, not direct mii polls.Stuart Henderson
fixes input errors on BCM5701/5702X/5704 and may avoid firmware hangs on some cards if asf/ipmi support is added. original diff from Oleg Bulyzhin in a freebsd-net post and ported by mickey; included stats counter changes which don't apply to -current so they are split out and not included here. "The rest of the diff looks ok" brad. tested on 5701/5702X/5703X/5704C/5721 by mpf naddy okan beck sthen ok beck (before splitting out stats changes), krw, henning. closes kernel/5699
2008-02-20Add support for the Intel ICH9 chipsets.Brad Smith
Initial diff from Henry Precheur based on a commit from matthias@dragonflybsd which was derived from the FreeBSD driver. Additional Flash changes from sephe@dragonflybsd which was derived from the FreeBSD driver. Typo fixes in Henry's diff and a few other improvements from the FreeBSD driver from brad@. Tested on a variety of different em(4) adapters in addition to ICH8/9. ok dlg@
2008-02-19Add support for the optics on the Sun variant of ixgb(4) boards.Brad Smith
From Intel tested by and ok dlg@
2008-02-19Match on AnyDATA ADU-500A.Jonathan Gray
Tested by Sergey Prysiazhnyi <apelsin@atmnis.com>
2008-02-19regenJonathan Gray
2008-02-19AnyDATA ADU-500AJonathan Gray
2008-02-19Cleanup, spacing and KNF.Marco Peereboom
Sprinkle some debug while here.
2008-02-18'like\nlike' -> 'like' in a couple of comments.Kenneth R Westerback
From Giovanni Bechis.
2008-02-18Add initial bits for fiber support with the BCM5714/BCM5715/BCM5780 chipsets.Brad Smith
Tested by brad@, chl@, sthen@, Johan Mson Lindman and Ian Lindsay <iml04@hampshire.edu> ok dlg@
2008-02-17Add "in blocks" to disk size discriptors so that I don't have to readMarco Peereboom
code single time I look at it.
2008-02-17Add the VIA VT8237S south bridge.Brad Smith
Tested by António Marques <froz at icix dot org> with a ASUS M2V-MX board. ok dlg@
2008-02-17Kill stray commentMarco Peereboom
2008-02-17add my copyright, too.Hans-Joerg Hoexer
2008-02-17Add propper key encryption.Hans-Joerg Hoexer
ok marco@
2008-02-17Remove the check for non-production bnx(4) chipsets. These chipsets areBrad Smith
not officially "supported" and could have errata which the driver does not workaround but they should more or less work. Tested by marco@ with a BCM5708 B0 chipset. ok marco@ dlg@
2008-02-17Enter wbsio(4), a driver for the Winbond LPC Super I/O chips.Mark Kettenis
ok henning@
2008-02-17- Correct clearing of the IFF_OACTIVE flag by ensuring the flag isBrad Smith
only cleared if there is enough slack space since bge_encap() will return anyway and IFF_OACTIVE will be set again. - Only reset the watchdog timer when all packets have been processed. - Have bge_start() do a fast return if the adapter is not running or the IFF_OACTIVE flag is set. Tested by brad@, chl@, krw@, landry@, sthen@ and Johan Mson Lindman. 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-17some cleaning.Brad Smith
- ANSI - remove use of static - remove some #ifdef's - remove some white space ok jakemsr@ dlg@
2008-02-17regenBrad Smith
2008-02-17remove bogus Intel E1000 PCI ids.Brad Smith
From FreeBSD ok dlg@
2008-02-17regenBrad Smith
2008-02-17add two PLX PCIe bridges.Brad Smith
ok dlg@
2008-02-16Zap KKASSERT porting macro and use KASSERT instead.Marcus Glocker
2008-02-16Count output packets.Marcus Glocker
2008-02-16Remove if_ipackets++ since ieee80211_input() already does that.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-16Call sensordev_install() iff we find and sensor_attach() the individual sensors.Constantine A. Murenin
The call got misplaced in ipmi.c#rev1.59 on 2007-08-31. ok marco; tested todd
2008-02-15Add myself to the copyrights, ok marco@Chris Kuethe
2008-02-14deal with a 64-bit BAR such as with PCIe chipsets.Brad Smith
Tested by Bayu Krisnawan <krisna at versalite dot com> with the BCM4312 chipset. ok mglocker@ dlg@
2008-02-14Actually implement the crypto.Chris Kuethe
ok tedu@ marco@
2008-02-14Missed updating the SK_IS_YUKON2 macro when adding Yukon Supreme support.Brad Smith
ok kettenis@ dlg@
2008-02-13Since SPDIF support for the auixp driver is still half doneJacob Meuser
disable it for now since some chipset revisions will freak out on the aparent half-initialisation. Also delay the setting of the DMA bits until after the codec detection but before the enabling of interrupts. Note that the DMA has to be explicitly started when the device is opened. From reinoud NetBSD via brad@ tested by ian@ and matthieu@
2008-02-13as with the recent auich(4) commit, set the sample rate of theJacob Meuser
front dac last. problem found and analyzed by ian@, thanks ok ian@
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-12if the ac97 codec is fixed-rate, ac97_set_rate() will return theJacob Meuser
fixed-rate, regardless of what sample rate we tried to set, without an error. so, instead of checking for an error after we've set the rate on all dacs, we need to check that ac97_set_rate() successfully set the rate we wanted, which may not be exactly the rate the user specified, due to auich's sample rate scaling. finally, we need to set the sample rate for the dacs in this order: lfe, surround, front. this is necessary because ac97_set_rate() will return without checking for fixed-rate if the dac is unsupported. so, if the lfe dac is set last on a stereo only fixed-rate codec, then we will not know whether we have a fixed-rate codec. all codecs have a front dac, and some codecs may have a surround dac but not lfe. discussed with brad@, who noticed that the previous commit was slightly bogus.
2008-02-11reinstate pci subvendor/subdevice detection so we can figure out whichDavid Gwynne
variant of the board we're attached to. for marco@
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-09regenMark Kettenis
2008-02-09Add Intel Q33 and Q35 IDs. From a diff by niklas@Mark Kettenis