summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2011-11-11Remove unused sv_sensor_valid variable.Joel Sing
2011-11-11When setting up a bootable softraid volume, do not try to save the bootJoel Sing
blocks or boot loader to chunks that are not online. ok mikeb@
2011-11-11regenGleydson Soares
2011-11-11add support for HUAWEI Mobile E173sGleydson Soares
tested by me ok jsg@ sthen@ jmc@
2011-11-10Fixed config_pending calls in sdmmc(4)Uwe Stuehler
Root on SD/MMC card did not work reliably because the config_pending state was cleared too early. This change will clear config_pending only after the card discovery has actually completed once. ok deraadt@ drahn@
2011-11-10Death to inappropriate whitespace. First one pointed out by Brad.Kenneth R Westerback
2011-11-09Add support for UISUBCLASS_MOBILE_DIRECT_LINE_MODEL to cdce(4).Stuart Henderson
This is available with at least Ericsson-derived HSPA cards (e.g. Dell 5530/5540) and provides a nice alternative to using them in ppp mode. From Rivo Nurges (rix at estpak ee), ok jsg@
2011-11-09If directly open /dev/wskbdX, then wskbdX be removed from mux wskbd,Alexandr Shadchin
but if close wskbdX, wskbdX not returned to mux. Fix it. ok miod@
2011-11-09Auto-repeat keys in WSKBD_RAW mode is not needed.Alexandr Shadchin
WSKBD_RAW mode used in X, but X independently implements auto-repeat keys. ok miod@
2011-11-08ncr53c9x (a.k.a. esp on sparc64) does not like 16-byte SCSI commandsKenneth R Westerback
such as READ_CAPACITY_16. So plugging SCSI-3 devices onto such a bus can be problematic. Cap the acceptable xs->cmdlen at 12 in ncr53c9x.c. Problem noted and fix tested by Kurt Mosiejczuk. Thanks! Diff mostly from miod@ with kibitzing from me. ok miod@
2011-11-08Typo. BIOC_SSOFFLINE is the ioctl command. Pass BIOC_SDOFFLINE toKenneth R Westerback
sd_set_chunk_state() as the new state. ok jsing@
2011-11-03Backout last change that broke the driver. There's no hardware at handMike Belopuhov
to debug it further and it's not nice to have a driver broken for months. While here, correct calculation of a Reply Post Queue depth -- it has to be multiple of 16. ok dlg
2011-11-02Make sure we set UDMA capabilities for HT-1000 IDE,Jonathan Gray
this was missed when support for HT-1000 IDE was added. From Brad.
2011-11-02fix defines for some ehci registers. they are not used yet as they onlyEric Faurot
matter for split-transactions which are not currently supported. ok deraadt@ miod@
2011-10-31Save and restore MSI configuration on PCI-Express bridges duringMike Belopuhov
the suspend/resume cycle the same way it's done in pci_suspend and pci_resume. Fixes high interrupt load caused by the unhandled unmapped legacy ppb interrupts on resume. Figured out the hard way with lots of testing done by Alexander Polakov, thanks! ok kettenis
2011-10-29avoid an out-of-bounds array access in urtwn_iq_calib_chain();Gleydson Soares
(this function is not yet called) ok deraadt@
2011-10-28Fix bogus frame selection check in uvideo_vs_negotiation().Marcus Glocker
From Pedro Martelletto
2011-10-28sync to new ufdti; Mark PeoplesTheo de Raadt
2011-10-28new ufdti; Mark PeoplesTheo de Raadt
2011-10-27Split AHCI port multiplier detection out into a separate function.Jonathan Matthew
As a side effect, we now restore the correct (original) command register value rather than one read halfway through the reset process, which gets port multipliers working on some ATI devices. Also tested on JMicron and Intel AHCIs. ok dlg@
2011-10-27Initialize variables before use. From Pedro Martelletto, tweaked byKenneth R Westerback
me to add more paranoia.
2011-10-26apply a fix by Steven Chamberlain <steven@pyro.eu.org>, via freebsd:Jasper Lievisse Adriaanse
Fix an issue with 11g beacon frames which looks to be a limitation on the largest multi-write size: == I looked further into the magic 88-byte threshold after which the bug occurs. It turns out that figure included the 24-byte tx_desc, and up to 64 bytes of beacon frame (header+data). rum_write_multi doesn't seem happy with writing >64 bytes at a time to the MAC register. If I break it up into separate calls (e.g. bytes 0-63, then bytes 64-65, written at the appropriate offset) I see the proper beacon frames being transmitted now. == tweak by miod@ ok deraadt@
2011-10-26Intel EG20T serial, tested by mitja.Jonathan Gray
2011-10-26Convert some ahci port multiplier printfs to DPRINTFs as they'reJonathan Matthew
only useful for debugging. ok dlg@
2011-10-25Use a new encoding for the entries in the pucdata table, the result isTheo de Raadt
that the .o file is half the size. Tested by camield (who just doubled the table size recently for a 16-port device). Hopefully no regressions, since this is a pretty large change of a very large table.
2011-10-25Initialize variables before use. And if initializing, use the correctKenneth R Westerback
source! From Pedro Martelletto.
2011-10-24Fix unaligned pci config space access in intelagp.Owain Ainsworth
tested by reported. ok kettenis@ (who pointed out a botch i'd made, too). While here remove definition of another (unused) unaligned access. to be added back when it is actually used (this one pointed out by deraadt@).
2011-10-23Revert key modifier change in raw mode, it's not clear which modifier weMartin Pieuchot
want to use for ADB keyboard.
2011-10-22Comment out ISP_{T,}DEBUG[0-3] traces if option SMALL_KERNEL; allows alphaMiod Vallat
floppyB to fit again. ok deraadt@
2011-10-22Sunix 50xx serial/parallel cardsCamiel Dobbelaar
Bump PUC_MAX_PORTS, the resulting growth of pucdata will be dealt with later. ok deraadt
2011-10-22regenCamiel Dobbelaar
2011-10-22Another Sunix id for their 50xx series cardsCamiel Dobbelaar
2011-10-21Set mp_nbusses such that the newly added bounds checks on i386 and amd64Mark Kettenis
don't fail unconditionally.
2011-10-20Add Stollmann Active USB ISDN Terminal Adapter.Marco Pfatschbacher
OK jsg@
2011-10-20regenMarco Pfatschbacher
2011-10-20Add Stollmann Active USB ISDN Terminal Adapter.Marco Pfatschbacher
OK jsg@
2011-10-20Add Alcatel One Touch X210/X220 (another rebadged TCT Mobile modem)David Coppa
ok sthen@, jsg@
2011-10-20Add Alcatel One Touch X210/X220 (another rebadged TCT Mobile modem)David Coppa
ok sthen@, jsg@
2011-10-19Typo; from BradKevin Lo
2011-10-19A missing part of an if statement meant we were writing outJonathan Gray
garbage when changing snoop related registers on pch2. Rework the code to remove the duplication and hopefully make this sort of thing less likely in future. Found and debugged by pedro. ok markus@
2011-10-19Add some missing bus_dmamap_sync()'s and sync the others withKevin Lo
the FreeBSD code. age(4) tested by Thomas Pfaff; alc(4) tested by Gabriel Linder; ale(4) tested by Johan Torin. From Brad
2011-10-17Blacklist alps devices that might have a clitpad untill the driver get fixedMartin Pieuchot
2011-10-17Fix the synchronization of some alps pads, issue reported by Bryan (brakeb)Martin Pieuchot
on misc@ Similar diff tested by okan@ and Mathieu (ptr.jetable) ok shadchin@
2011-10-16Provide battery charge/discharge rate in proper units.Mark Kettenis
Based on a diff from Vladimir Kirrillov.
2011-10-16align the read to the PCI config space.David Hill
from drahn@, ok deraadt@
2011-10-14Make ath(4) send multicast frames once, not multiple times.Stefan Sperling
Fixes TKIP replays seen by STAs connecting to an ath(4) hostap and matches the FreeBSD driver. Tested with several cards by Theo and myself. Thanks mikeb for providing some cards, your next beer in Berlin is on me. ok deraadt
2011-10-14Return EINVAL when there's no config descriptor for a given index.Martin Pieuchot
Problem reported by ajacoutot@ ok deraadt@, kettenis@, krw@
2011-10-13Make WOL support do something that actually makes sense; effectivelyMark Kettenis
reverting most of the previous commit. Fixes unaligned read from PCI config space as well. ok & tested by stsp@
2011-10-13Fix definition of XL_PME_EN.Mark Kettenis
ok stsp@
2011-10-10Introduce pci_probe_device_hook(pci_chipset_tag_t, struct pci_attach_args *).Miod Vallat
This mandatory function will get invoked in pci_probe_device(), and allows a pci host driver to alter the pci_attach_args passed to a device when attaching. This function will also, if returning non-zero, cause the device to be skipped completely during all the phases of the PCI device discovery (i.e. ressource enumeration, ressource assignment, and actual attachment). This particular feature is experimental and might be reverted in the future (or the scope narrowed to device attachment only). A dummy #define pci_probe_device_hook() 0 is added to all platforms except sgi, where real functions (currently only returning 0) are added; real meat will be added shortly. Discussed at s2k11, no objection from the usual suspects.