summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2013-09-24Try to release the console if pckbc(4) fails to send the initialMartin Pieuchot
command byte. This allows at least my USB keyboard to be part of the console on a Lenovo E20. ok miod@
2013-09-23regenJonathan Gray
2013-09-23correct some radeon entries and add new Intel Ethernet and 8 series idsJonathan Gray
2013-09-22Support MSI for virtio. This is useful for bhyve.Stefan Fritsch
2013-09-21regenMiod Vallat
2013-09-21Oxford OXPCIE952 parallel port puc(4) board; contributed by Markus UhlinMiod Vallat
(markus.uhlin; bredband dot net), thanks!
2013-09-21Allow for an out-of-softc indirection to reach the software copy of theMiod Vallat
important (and write-only) register state; this will allow this driver to be used as a console before it attaches, to be used shortly.
2013-09-21regenJasper Lievisse Adriaanse
2013-09-21add several devices found on the hp microserver gen8 and add some moreJasper Lievisse Adriaanse
xeon e3-1200v2 pcie ids while here as suggested by jsg@ ok jsg@
2013-09-20Unify and document usbd_transfer(9).Martin Pieuchot
Get rid of the badly named usbd_bulk_transfer() and usbd_intr_transfer() they were two identical wrappers to submit a synchronous transfer. Now all synchronous transfers are submited using usbd_setup_xfer(9) and usbd_transfer(9) explicitly using the USBD_CATCH flag when signals must be checked. Previous version ok'd by mglocker@, with subtle inputs from miod@
2013-09-20Use a working magic sequence to configure absolute mode for elantech v2.Stefan Sperling
The synaptics driver now attaches to elantech v2 touchpads. It seems these pads were always falling back to compat mode, which went unnoticed until r1.47. Fix based on a patch submitted by Cedric Tessier: http://marc.info/?l=openbsd-bugs&m=136904396518528&w=2 which in turn was probably based on parts of this patch: https://launchpadlibrarian.net/73099683/elantech.patch which updates the Linux driver code but isn't part of Torvald's Linux. Behaviour of elantech firmware versions seems to vary quite a bit so print the firmware version at attach time for reference in future bug reports. Fix tested by frantisek holop and Peter J. Philipp. ok mpi@
2013-09-20remove debug code. not sure how this lasted so long.Ted Unangst
noticed by maxime villard
2013-09-19Do no try to clear the endpoint, as it if has stalled, if theMartin Pieuchot
USB transfer reported an I/O error. This is more likely to have no effect apart generating more errors because when this happens, the device is generally already physically detached but the *detach() task has not run yet. So simply return and wait for the device to be removed like ucom(4) does. Partially fix an issue reported by RD Thrush rt at thrush.com. ok miod@
2013-09-18sync the execbuffer relocation code with linux 3.8.13Jonathan Gray
with the fastpath and cpu relocs disabled for now. eb_* functions based on code in FreeBSD. ok kettenis@
2013-09-18return after done in atascsi_disk_unmap.David Gwynne
2013-09-17Add support for AMD Family 15h Models 10h-1Fh Processors.Mark Kettenis
2013-09-17regenMark Kettenis
2013-09-17Rename existing AMD Family 15h Models 00h-0Fh Processor entries and addMark Kettenis
a bunch of AMD Family 15h Models 10h-1Fh Processor entries.
2013-09-15Make it clearer that sc_wdc_bio.blkno is actuall a disk hardwareKenneth R Westerback
address by using the DL_BLKTOSEC() and DL_SECTOBLK() defines rather than handrolling the equivalent. Fixes current addition of a 512-byte block value (b_blkno) to a disk hardware address (DL_GETPOFFSET()). Tested on real wd(4) hardware by guenther@.
2013-09-13Fix sign of returned error code.Mark Kettenis
ok jsg@
2013-09-12sync drm_mm with linux 3.8.13Jonathan Gray
2013-09-12Add basic support for eMMC memory.Raphael Graf
Heavily based on netbsd. Tested by dlg@, bcallah@ (sdhc), stsp@ (rstx) and me (ommmc). ok patrick@
2013-09-11regenMark Kettenis
2013-09-11Another AMD Hudson-2 PCIE bridge.Mark Kettenis
2013-09-10Enable some code that seems to relate to an errata forJonathan Gray
Crystalwell/eDRAM Haswell parts. Original linux commit mesage: 'This magic brings stability to HSW CRW machines.'
2013-09-08switch to using linux style pci match tablesJonathan Gray
fixes some omissions and flag errors for radeon and removes the duplicate table for i915
2013-09-08Unbreak vmx(4) on i386. The right shift of 32 bits for the DSHReyk Floeter
register (driver shared address high) exceeded the width of the 32bit bus address; casting the address to a 64bit type will correctly result in a zero value on i386 and the high bits on amd64.
2013-09-06need sys/device.hTheo de Raadt
2013-09-06Fix build with USB_DEBUG defined, pipes don't have refcounters anymore.Martin Pieuchot
From Nils Frohberg.
2013-09-06Missing semicolons.Martin Pieuchot
ok jsg@
2013-09-05ugold(4) is a driver for PCsensor's USB gold TEMPer temperaturesasano
measurement device (idVendor:idProduct=0x0c45:0x7401). newly added. ok by mpi@ and sthen@
2013-09-03When /dev/wsmouse is opened right after resume, some synaptics touchpadsStefan Sperling
are still taking time to wake up. So make the pms(4) driver wait a little longer before giving up on them. Fixes mouse after resume on my x130e TP. ok mpi, earlier versions tested by weerd with no regressions seen
2013-09-03Only free the per-protocol descriptor if a touchpad cannot be correctlyMartin Pieuchot
identified during attach. This prevents the driver to downgrade itself to use the standard mouse protocol and reattach a new wsmouse child if something bad happens when we re-query the hardware (during resume for example). Discussed with and ok stsp@
2013-09-02fb refcount must be initialised to 1 not 0 to match the behaviourJonathan Gray
of the linux kref functions. Switch to using the FreeBSD refcount api for the fb refcount while here.
2013-09-02use DRM_MEMORYBARRIER() for smp_mb__*Jonathan Gray
2013-09-02add static back to functions that originally had itJonathan Gray
reduces the diff to linux
2013-09-01drm/radeon: update line buffer allocation for dce6Jonathan Gray
We need to allocate line buffer to each display when setting up the watermarks. Failure to do so can lead to a blank screen. This fixes blank screen problems on dce6 asics. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=64850 from a proposed Linux patch by Alex Deucher of AMD. Fixes problems with multiple displays on pitcairn reported by Alexis de BRUYN.
2013-09-01drm/radeon: update line buffer allocation for dce4.1/5Jonathan Gray
We need to allocate line buffer to each display when setting up the watermarks. Failure to do so can lead to a blank screen. This fixes blank screen problems on dce4.1/5 asics. from a proposed Linux patch by Alex Deucher of AMD.
2013-08-30Turn on msi for mfii(4).Christiano F. Haesbaert
There is a family of Supermicro boards where the apic pin is incorrectly mapped on acpi, it tells us the pin for "Intel boot interrupts". Since this is a fairly new chip, lets use MSI as no one else is probably using it via apic, this fixes the routing issues. Machines/Motherboards seen so far with incorrect routing: Supermicro X9DR3-F Supermicro X9DRH + Symbios Logic MegaRAID SAS2208 Fujitsu primergy RX300 S7 + Symbios Logic MegaRAID SAS2208 ok dlg@
2013-08-29Add support for advanced btcoex. This commit is not really neededSylvestre Gallon
but it reduces the diff against the FreeBSD version. Tested on: My Wifi Link 130. jca@ Wifi Link 5300. Jan Stary Wifi Link 4965 (thanks). Adapted from FreeBSD r220894. ok mpi@.
2013-08-28vmx(4) uses 4 different types of 128bit descriptors in little-endianReyk Floeter
format for Rx and Tx. Replace the bit fields in the descriptor structs with 32bit words to access them with traditional bit operations using shifts and masks. We try to avoid bit fields in OpenBSD. For consistence with other drivers, this change also uses letoh32/htole32 endianess conversions even if it is very unlikely that vmx will ever run on a big-endian VM/host. discussed with uebayasi@ and deraadt@
2013-08-27Give RS400/RS480/RS690 another chance. These were previously disabledJonathan Gray
with the old radeondrm code but should work now.
2013-08-27implement drm_pcie_get_speed_cap_mask()Jonathan Gray
non integrated radeon >= r600 parts will now try to enable PCIe 2.0/3.0 speeds when the PCIe root port advertises the relevant speeds.
2013-08-27stash pci chipset and bridge tags in the drm_device structJonathan Gray
2013-08-26add a define for the link capabilities register forJonathan Gray
version 2 of the PCIe capability.
2013-08-26Add a stubbed out version of drm_pcie_get_speed_cap_mask() andJonathan Gray
enable all the code in the various radeon pcie_gen2_enable() functions. no functional change
2013-08-26remove an uneeded printfJonathan Gray
2013-08-25call if_link_state_change when link state actually changes; ok claudioMike Belopuhov
2013-08-25new ciss devices from Scott Benesh of HP via FreeBSDJonathan Gray
2013-08-25regenJonathan Gray