summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
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
2013-08-25new ciss devices from Scott Benesh of HP via FreeBSDJonathan Gray
2013-08-23don't call if_link_state_change if link state is not changedMike Belopuhov
and fix minor discrepancies with link state handling
2013-08-23don't call if_link_state_change if link state is not changedMike Belopuhov
2013-08-22Remove a mac68k leftover, no object change.Martin Pieuchot
2013-08-21Add an indicator sensor to acpibtnX reflecting lid status when available,Landry Breuil
useful for people not using machdep.lidsuspend. sysutils/upower will make use of this soon. Note that on some laptops, no LID event is triggered upon resume when using machdep.lidsuspend, so the value might be false in this case.. Tested by rpe@ on a variety of Lenovo HW, thanks! ok kettenis@ deraadt@
2013-08-21Fix build without vlan.Martin Pieuchot
ok mikeb@
2013-08-21Unswap address and configuration value arguments in a debug printf.Martin Pieuchot
2013-08-21get rid of the copy argument in m_devget that let you provide anDavid Gwynne
alternative to bcopy since noone uses it. while there use memcpy instead of bcopy because we know the memory cannot overlap. ok henning@ matthew@ mikeb@ deraadt@
2013-08-20Define WS_DEFAULT_FG and WS_DEFAULT_BG as default colors (black on white forMark Kettenis
sparc/sparc64, white on black for everybody else), and use them to construct a default color attribute in the rasops(4) code. ok miod@
2013-08-20Remove uscanner(4). It was disabled in GENERIC more than 2.5 years ago.Antoine Jacoutot
No regression has been reported since libusb became the prefered solution to work with USB scanners. req. by mpi@ ok ian@ mpi@ miod@
2013-08-20tedu netnatm and ueagle(4).Martin Pieuchot
ok mikeb@, sthen@, tedu@ (implied), doc bits ok jmc@
2013-08-20add some urtwn device ids found in the windows driverJonathan Gray
2013-08-20regenJonathan Gray
2013-08-20add some urtwn device ids found in the windows driverJonathan Gray
2013-08-19Add IO-DATA WN-G150UM from William Dunand.Jonathan Gray
2013-08-19regenJonathan Gray
2013-08-19Add IO-DATA WN-G150UM from William Dunand.Jonathan Gray
2013-08-18While we forceably detach radeondrm on fatal error in initJonathan Gray
non fatal errors with >= r600 could result in an unuseable system. Avoid this by always programming the MC on startup. Patch from Alex Deucher in Linux based on a change from kettenis to program the MC on failure to load firmware for cayman/aruba. ok kettenis@
2013-08-17Remove unnecessary activate functions and unused DPRINTFN macros.Stuart Henderson
Req by and OK mpi@.
2013-08-16Hook up the framebuffer colormap helper code on sparc64.Mark Kettenis
2013-08-16Pass cursor position in wsdisplay_cnattach() call. Preparation for seamlessMark Kettenis
console transation on sparc64 (and eventually macppc).
2013-08-15Blast uhts(4). This code was merged into ums(4) last week.Edd Barrett
OK mpi@
2013-08-15Include files.agp and files.drm from files.pci. Makes sure "drm.h" getsMark Kettenis
generated on all architectures that support pci, making alpha and loongson compile again. ok todd@, miod@ seemed to agree with the idea
2013-08-14drm_heap.c is no longer neededJonathan Gray
2013-08-14remove references to ati_pcigartJonathan Gray