summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2011-08-26Add a dmesg warning about sloppy disk I/O to vnd(4) devices to helpMatthew Dempsky
identify bad distrib scripts/tools. ok deraadt@
2011-08-24revert the last commit. pms_enable_alps() does not guaranteeAlexandr Shadchin
the accuracy detection ALPS. ok mpi@
2011-08-22Add support for Radeon 4250.Christiano F. Haesbaert
This, together with an updated xorg driver makes my drm/XVideo work. Originally from Nigel Taylor. ok oga@ mcbride@
2011-08-22Adding stub for ALPS touchpad, which not supported yet.Alexandr Shadchin
This fixed "react strangely" when the pms driver probes for a synaptic-compatible touchpad. Tested and ok mpi@
2011-08-21Help with the watchdog timeouts seen when unplugging the cable fromKevin Lo
the alc(4) NIC while running or the NIC not working if the cable is not plugged in upon boot up. From Brad; tested by matteo filippetto, Gabriel Linder and edd@
2011-08-20Don't wait for FR to come on after setting the FRE bit in the port commandMark Kettenis
register. The spec doesn't say we have to do this while it mentions several times one needs to wait for FR to clear after clearing FRE. The Linux driver doesn't wait for it either. This allows us to get rid of the AHCI_F_IGN_FR quirk. As a side-effect this diff will probably stop ahci(4) attaching to (some) NVIDIA fakeRAID devices. That's good since it is consistent with what we do for Intel fakeRAID. ok mikeb@, jmatthew@
2011-08-19Let ums probe bounds of absolute devices if available.Matthieu Herrb
ok shadchin@ some weeks ago.
2011-08-18So, it turns out that models 362 and 382 built-in frame buffer only shows upMiod Vallat
in DIO-II space, as a fat device spanning four select codes (i.e. 16MB of memory). This is way too much for an at-most 2 Mpixel 8bit frame buffer, and it turns out that this is because the device provides both a regular DIO-II frame buffer (spanning two select codes) and a regular STI frame buffer (spanning the other two select codes). This commit introduces a straightforward sti@dio attachment to get a working sti(4) and wsdisplay(4) in a ridiculously small number of lines; however the console code needs some changes to avoid duplicating globals. While there, add sti@dio support for the bootblocks, and I couldn't help myself but clean the most rotten parts of them, and try to have them reuse various files in sys/arch/hp300/dev instead of rolling their outdated ones. Tested on a real 382 with the low-resolution frame buffer: sti0 at dio0 scode 132: rev 8.02;129, ID 0x27134CB440A00499 sti0: 382V, 2048x512 frame buffer, 640x480x8 display sti0: 8x16 font type 1, 16 bpc, charset 0-255 wsdisplay0 at sti0 mux 1: console (std, vt100 emulation) Boot blocks updates tested on DIO-II 425t (serial/glass console), SGC 425e (serial/glass console) and 382 (serial/glass console). And will be tested on SGC 425t soon as well.
2011-08-17match on MSP-FET430UIF JTAG, so it can be used with mspdebugJasper Lievisse Adriaanse
from impatiens@gmail.com
2011-08-17regenJasper Lievisse Adriaanse
2011-08-17add MSP-FET430UIF JTAG, from impatiens@gmail.comJasper Lievisse Adriaanse
2011-08-17Adding support Synaptics touchpad. Thanks all for test.Alexandr Shadchin
ok miod@, matthieu@
2011-08-08Fix a formating bug that caused a bad print on big endian arches.Marco Peereboom
ok deraadt
2011-08-08myx requires the driver pad short ethernet frames to 60 bytes byDavid Gwynne
adding a descriptor pointing at zeroed bytes onto the end of transmit chains. i was accounting for this extra descriptor when i was completing the chain, but not when i was setting this up. this meant the number of free descriptors kept growing until it overflowed. at this point the check for space in the ring failed and packets no longer flowed. this counts the pad descriptor in the tx chain setup too. ok deraadt@
2011-08-04In `string' state, accept bell (^G) as an end of sequence in addition toMiod Vallat
`ESC \', as supported by xterm; some third-party software such as ncmpcpp rely upon this. Noticed by dcoppa@, based on a draft diff by nicm@; ok deraadt@
2011-08-03Alexander Polakov found a use of an uninitialized pointer in the scsiDavid Gwynne
unmap handling.
2011-07-31Add support for the Ricoh 5U823 SD/MMC controller found on the x220.Mark Kettenis
ok deraadt@, phessler@
2011-07-31regenMark Kettenis
2011-07-31Fix typo in Ricoh 5U823 SD/MMC entry.Mark Kettenis
ok deraadt@
2011-07-26Calling a detach function from an attach function is no longer legal (Theo de Raadt
see a recent subr_autoconf.c commit). To resolve this problem, mark the other attachment dead, and clean it up when the first servicing timeout gets run. ok kettenis
2011-07-26do not describe where DELAY comes from; pointed out by austin; ok jsgTheo de Raadt
2011-07-22Add the Huawei E181.David Coppa
From Chris Turner <c.turner(at)199technologies(dot)com> OK sthen@
2011-07-22Add the Huawei E181.David Coppa
From Chris Turner <c.turner(at)199technologies(dot)com> OK sthen@
2011-07-21Add the Huawei E1750 USB modemDavid Coppa
From bsd.user(at)mail(dot)ru ok jsg@, sthen@
2011-07-21Add the Huawei E1750 USB modemDavid Coppa
From bsd.user(at)mail(dot)ru ok jsg@, sthen@
2011-07-21Index the sensor array starting from 0 not sc_vd_id_low. On my R310 thisStuart Henderson
is 1 so there, this avoids writing past the end of malloc'd space during init. Also means the correct sensor address is registered so sysctl hw.sensors works. Was: hw.sensors.mpii0.drive0=unknown (sd0), UNKNOWN Now: hw.sensors.mpii0.drive0=online (sd0), OK ok dlg@
2011-07-20For now, disable msi interrupts. Reading through the linux driver oneMarco Peereboom
gets the impression that there are all kinds of preconditions and a whitelist as well. I will be working on this whitelist but for now disable it because it is hanging at boot for several people. ok deraadt
2011-07-20spell FALLTHROUGH correctlyStuart Henderson
2011-07-20this works on the galaxy s2 too.Jasper Lievisse Adriaanse
ok dlg@
2011-07-20regenJasper Lievisse Adriaanse
2011-07-20add a newer samsung android phoneJasper Lievisse Adriaanse
2011-07-18Revert vnd(4) to its older less strict behavior.Matthew Dempsky
Verified by deraadt@ to fix distrib/sgi/iso.
2011-07-17Backout a bunch of my SCSI commits from c2k11. At least one of theseMatthew Dempsky
is causing problems when trying to boot sparc64 from an isp(4). Verified to fix the sparc64/isp(4) regression by krw@; ok deraadt@
2011-07-15Cope with the start-dma-before-init errata and some other register setupTheo de Raadt
errata for the Serverworks SATA chipset found on the macppc xserve G5. ok jmc
2011-07-14We must not call xl_wol_power() from xl_stop(). If we do the deviceStefan Sperling
can be set into D3 sleep state at the wrong time. Fixes lock-up issues reported by Thomas Gerlach. Also, the interface needs to be running for WOL to work, so set it up from within xl_wol() if it's not running yet. "you don't need an ok for this" deraadt
2011-07-12Range check vnd_secsize, vnd_ntracks, and vnd_nsectors so that later onTheo de Raadt
they do not get integer truncated on 64-bit machines. ok matthew
2011-07-11pass the interface for non-compat-mode piix. from netbsd.joshua stein
ok deraadt@ jsg@
2011-07-11Revert art@'s moving around of the KERNEL_LOCK()/KERNEL_UNLOCK() calls,Philip Guenthe
as it causes hangs in some ports, including libsigsegv's configure script confirmed by krw@, landry@
2011-07-10Read the HCSPARAMS register from the correct location, and addEric Faurot
parentheses where needed to get the resulting mask right. ok krw@ yuo@ deraadt@
2011-07-09translate the scsi UNMAP command into an equiv TRIM, and advertise UNMAPDavid Gwynne
support via the thin provisioning page. this emul is a bit unreliable since atascsi needs to allocate memory for the TRIM command to use, but we figure that the world wont end if we lose a TRIM unlink real io. ok matthew@
2011-07-09Switch umass(4) to use a single target scsibus withMatthew Dempsky
SCSI_NO_ADAPTER_TARGET instead of a two target bus with a reserved "host" target. ok krw@
2011-07-09Simplify sdmmc_scsi by using SCSI_NO_ADAPTER_TARGET.Matthew Dempsky
Tested by drahn@
2011-07-09Fix fallout from my previous SCSI refactoring diff (movingMatthew Dempsky
adapter_buswidth to sc_targets): gdt(4) and atascsi(4) still used it in other ways. Apply appropriate fixes; tested on ahci(4). ok krw@
2011-07-09Kludge around sdmmc(4)'s poor design: replace "struct scsi_link *"Matthew Dempsky
with "struct scsibus_attach_args" in sdmmc_attach_args. ok krw@
2011-07-08add support for HUAWEI E1752 seriese modemYojiro Uo
ok jsg@
2011-07-08regenYojiro Uo
2011-07-08add HUAWEI E1752Yojiro Uo
ok jsg@
2011-07-08regenYojiro Uo
2011-07-08add entry for YUBICO yubikeyYojiro Uo
2011-07-08First batch of converting SCSI HBAs from setting saa_targets andMatthew Dempsky
saa_luns instead of adapter_buswidth and luns in the prototype link. ok dlg@, miod@