summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2008-10-16Add S/PDIF support. From NetBSD.Jacob Meuser
Clean up a little while here. from Alexey Suslikov, thanks tested by several as part of a larger diff, thanks also
2008-10-16Convert RX tag stripping to storing the tag in the mbuf header andChristian Weisgerber
enable RX tag stripping for re(4). ok brad@
2008-10-16Add ICH10.Brad Smith
2008-10-16Some pins are not connected and dead-end. This diff removes such pinsJacob Meuser
from conection and mixer lists. It also removes knobs connected to power widgets. from NetBSD via Alexey Suslikov, thanks tested by several, thanks also
2008-10-16regenBrad Smith
2008-10-16Correct the existing Intel E4500 entries so they're properly named E5400Brad Smith
and add some missing entries for the E5400 chipset.
2008-10-15Fix list_for_each_safe compat marco. It currently skips the last entry.Owain Ainsworth
From Robert Noland at FreeBSD.
2008-10-15Second pass of simple timeout_add -> timeout_add_sec conversionsBret Lambert
This should take care of the simpler ones (i.e., timeout values of integer multiples of hz). ok krw@, art@
2008-10-15kernel/5592: yield() between copying out large chunks of random data toDamien Miller
userspace - mitigates an effective DoS since generating these can hog the CPU at splhigh() feedback & ok tedu@ deraadt@
2008-10-14Change m_devget()'s outdated and unused "offset" argument: It isChristian Weisgerber
now the offset into the first mbuf of the target chain before copying the source data over. From FreeBSD. Convert drivers' use of m_devget(). Mostly from thib@. Update mbuf(9) man page. ok claudio@, thib@
2008-10-14remove C99/C++ style commentsJonathan Gray
2008-10-14Don't be so pessimistic about the prospects of getting aJonathan Gray
valid MAC address. Pyun YongHyeon seems to have taken code for generating an address when something looks invalid from other drivers in FreeBSD, there are no known problems with getting valid addresses for jme, so remove this. Additionally it isn't appropriate to call arc4random() at that point in the boot process so the code needs to go.
2008-10-13Almost complete rewrite of iwn(4).Damien Bergamini
Add support for Intel WiFi Link 5000 Series adapters (5100/5150/5300/5350). Quite frankly, Intel made things unnecessarily difficult by gratuitously changing firmware commands (adding new fields in the middle of a struct) and some register offsets for the 5000 Series and by defining yet another way of loading a firmware. I had to write a hardware abstraction layer to manage those differences. Committed over a 5300 adapter (3T3R). Require an upgrade of the iwn-firmware package, even for 4965AGN users. Not tested on 5100, 5150 and 5350 (test reports are more than welcomed.) There should be no regression on the 4965AGN.
2008-10-12if converters in a group are not needed to satisfy the requirementsJacob Meuser
of a stream, direct the unneeded converters use HDA link stream #0 from NetBSD via Alexey Suslikov, thanks tested by several, thanks also
2008-10-12add azalia_codec_disconnect_stream(), a function to direct allJacob Meuser
converters in a group to use HDA link stream #0. use it when halting playback/recording. from NetBSD via Alexey Suslikov, thanks tested by several, thanks also
2008-10-12If re_attach() fails at any point make sure to disestablish variousBrad Smith
resources setup by the bus front ends, especially the shutdown hook. Found while testing some other changes with a CardBus adapter and re_attach() was failing early before the interface pointer was assigned. Then the system was rebooted, the shutdown hook was called and *boom* in re_stop().
2008-10-11Use hardware timer to simulate interrupt moderation. Old devices will noBrad Smith
longer be livelocked when they are receiving on GigE line. Newer devices also gain well controlled interrupt rate. If hardware supports interrupt moderation (e.g. 8168B, 8168C), you could also use hardware based interrupt moderation, however, due to lack of necessary information it does not work as reliably as simulated interrupt moderation. It is _not_ recommended currently. By default, PCIe devices' simulated interrupt moderation timer is set to 75us, while PCI devices' is set to 125us. From sephe@DragonFly
2008-10-11Fix various printf constructs either missing arguments or format specifiers.Miod Vallat
2008-10-11For none interrupt endpoints call the xfer done function beforeMarcus Glocker
calling the xfer callback function to allow a device driver to immediately reschedule the same xfer. This e.g. improves performance for isoc high- fullspeed xfers (ehci). From NetBSD. OK phessler@
2008-10-10Enable PCIe snooping on the remaining ATI/NVIDIA chipsets.Brad Smith
Fixes clicking and other noise related issues. ok ratchov@
2008-10-10minor 3 was /dev/prandom, which used random(). make that use theTheo de Raadt
arandom code, just like minor 4. in fact, make them act exactly the same.
2008-10-10missing spl() for codec command setting/retrievalJacob Meuser
from NetBSD via Alexey Suslikov, thanks "looks good" ratchov@
2008-10-09Set hardware timer according to bus clock speed.Brad Smith
From sephe@DragonFly
2008-10-09stop waiting for the printer to become ready, see PR 5427 for moreTheo de Raadt
information. Also explains PR 4124 and 5318
2008-10-08syncDamien Bergamini
2008-10-08new PCI ID for Intel WiFi Link 5350.Damien Bergamini
2008-10-08better commentsOleg Safiullin
2008-10-08Older IT8712F chips have 8-bit watchdog timeout counter.Oleg Safiullin
Use minutes for 16-bit values.
2008-10-08As the Option N.V. Globetrotter HSDPA Modem is not compatibleYojiro Uo
with ubsa(4), it is moved to umsm(4). ok jsg@, reported by Daniele Pilenga
2008-10-08o chip revision is 4-bit valueOleg Safiullin
o some #define's instead of digits
2008-10-07Kill a bunch of #ifdef freebsd/netbsd code in *_drv.c. No binary change.Owain Ainsworth
2008-10-07Kill the linux-ready negative return codes in ``shared'' code. We handleOwain Ainsworth
them wrong in several cases that i've noticed and Merging when needed is still fairly simple, anyway. This shaves another 500 bytes from an amd64 kernel due to not having to flip the sign on some things. It also stops my eyes bleeding. Tested by a few along with the last diff that went in.
2008-10-07Move dev->driver over to being a pointer to a const struct, instead of stupidlyOwain Ainsworth
filling in a pre-allocated one on each attach. Makes the code a bunch nicer, shrinks a kernel by about 1.5k on amd64, helps with my sanity, and paves way for later changes. Tested by a few for a couple of weeks now.
2008-10-07Make sure page 0 is selected when we initialize the PHY. Fixes problemsMark Kettenis
with the eephy(4) that attaches to nfe(4) on machines like the Sun Ultra 40. ok deraadt@
2008-10-07Fix memory leak bug during scope evaluation (now without introducing a bugMark Kettenis
in evaluation of the Return() operator). Based jordan@'s diff from rev. 1.133. ok jordan@, marco@
2008-10-07If we fail to read the MAC address from the eeprom, fallback to readingJoel Sing
the MAC address registers. In most cases these already have the correct MAC address. This should address PR5743. Thanks to Rodolfo Gouveia for testing earlier diffs. ok dlg@
2008-10-07if fetching a config page for a sas target doesnt work then let the scsiDavid Gwynne
midlayer try to probe it anyway. this lets raid devices configured on an mpi to work again. reported by djm@
2008-10-07In ehci_free_itd() replace LIST_INSERT_AFTER(LIST_FIRST(..), ..) withMarcus Glocker
LIST_INSERT_HEAD(..) to prevent a crash when the freelist is empty. From NetBSD.
2008-10-06regenJonathan Gray
2008-10-06Add some devices from submitted dmesgs.Jonathan Gray
2008-10-06Don't force multi transaction endpoints (>1024 bytes) down to singleMarcus Glocker
transactions. From NetBSD.
2008-10-06Add missing checks for sc_focus being NULL. Found the hard way byMiod Vallat
Jesus Sanchez.
2008-10-06syncTheo de Raadt
2008-10-06another geforceTheo de Raadt
2008-10-06Detect and store the PCI/PCIe bus speed.Brad Smith
From DragonFly
2008-10-05Add a flag to indicate a 64-bit PCI bus is present.Brad Smith
2008-10-05Detect if the adapter is a PCIe adapter and set the RL_FLAG_PCIE flagBrad Smith
if so.
2008-10-05Always update published link state even if the internal link state doesn'tMark Kettenis
change. Prevents us from getting stuck in LINK_STATE_UNKNOWN. Fixes PR 5914. tested by deraadt@, sthen@ ok deraadt@
2008-10-04regenMark Kettenis
2008-10-04Some AMD RS780 IDs (same as those listed under ATI).Mark Kettenis