summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2011-11-14Use a fixed io_page for all hibernate I/O, which is needed forMike Larkin
ahci_hibernate_io, a skeleton of which is also provided in this diff. This code is from deraadt@. Tested on a few wd machines to ensure it works there as well.
2011-11-13Add some #defines for the various hibernate I/O modes, some of theMike Larkin
groundwork for *_hibernate_io functions other than wd_hibernate_io These changes were sent to me by deraadt@
2011-11-13When initiating a rebuild update the DUID for the chunk so thatJoel Sing
installboot has the correct details. Also zero the boot DUID list before populating it in installboot, preventing the DUIDs of offline chunks from remaining around.
2011-11-13Cleanup rebuild initialisation code. In particular, reconstruct the chunkJoel Sing
metadata from the volume metadata rather than using the metadata from some random chunk. The coerced size is gained from another online chunk.
2011-11-12Unbreak tree after kettenis's sanitization in pcidevsPhilip Guenthe
ok krw@
2011-11-12regenMark Kettenis
2011-11-12Sanitize NVIDIA SATA/AHCI/RAID IDs. Not all of these have been seen in theMark Kettenis
wild, but there is an obvious pattern. Fix a typo in one of the NVIDIA USB Ids while there. ok mikeb@ (a while ago)
2011-11-11Remove a bogus check which dereferences an uninitialised pointer.Joel Sing
From Pedro Martelletto. ok krw@ mikeb@
2011-11-11When rebuilding check the size of the replacement chunk against theJoel Sing
coerced size rather than the physical size of another chunk.
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