summaryrefslogtreecommitdiffstats
path: root/sys/dev
AgeCommit message (Collapse)AuthorFilesLines
2015-02-10Add RCS IDs.uebayasi12-0/+26
2015-02-10Adjust paths. Add RCS ID.uebayasi1-10/+9
2015-02-10switch most mtx_* calls back to linux spinlocksjsg29-408/+490
2015-02-10remove some very MD debug code that was reaching into x86 mplocksdlg1-21/+1
to try and figure things out. ok deraadt@
2015-02-10switch most rwlock calls back to their linux equivalentsjsg25-232/+230
2015-02-10Redo dwc2 import with CVS tags expanded.uebayasi13-20/+20
2015-02-10Import dwc2 core and glue code from NetBSD. OK deraadt@ jsing@ miod@ mpi@uebayasi13-0/+14452
2015-02-10Do not abuse `rcvif'.mpi2-6/+6
ok deraadt@
2015-02-10use linux function names when locking mode configjsg10-106/+106
2015-02-10convert VMXNET drivers to ml_enqueue + if_inputpelikan2-17/+11
ok dlg reyk
2015-02-10Remove DRM_LOCK macros, rename dev_lock to struct_mutex and directlyjsg19-215/+211
call linux style lock functions where these macros were used.
2015-02-10add definitions for linux style locksjsg1-1/+27
2015-02-09typomiod1-2/+2
2015-02-09Whitespace.uebayasi1-4/+4
2015-02-09Trim blank lines.uebayasi1-3/+1
2015-02-09fix print/panic messages + remove superfluous if_ibytes additionpelikan1-5/+3
ok reyk
2015-02-09if_input sets m->m_pkthdr.rcvif so we dont have to.dlg1-2/+1
2015-02-09More sanity checking for Local APIC NMI entries.kettenis1-2/+3
ok deraadt@
2015-02-09turn off QLA_DEBUG noise, requested by deraadt@jmatthew1-3/+1
2015-02-09Complete rewrite of the Elantech clickpads v4 packet parser in order tompi1-56/+86
support "click-and-drag". This implements a simple filter to keep track of a moving finger on the clickpad. For the moment wsmouse(4) and wscons(4) are still unaware of multitouch events and pms(4) has to do the translation, but this is a small steps in this direction. All the good work has been done by Ulf Brosziewski.
2015-02-09Add flag to taskq_create() calls to match dlg@ API changeguenther1-3/+3
ok phessler@ dlg@
2015-02-09we want to defer work traditionally (in openbsd) handled in andlg6-12/+12
interrupt context to a taskq running in a thread. however, there is a concern that if we do that then we allow accidental use of sleeping APIs in this work, which will make it harder to move the work back to interrupts in the future. guenther and kettenis came up with the idea of marking a proc with CANTSLEEP which the sleep paths can check and panic on. this builds on that so you create taskqs that run with CANTSLEEP set except when they need to sleep for more tasks to run. the taskq_create api is changed to take a flags argument so users can specify CANTSLEEP. MPSAFE is also passed via this flags field now. this means archs that defined IPL_MPSAFE to 0 can now create mpsafe taskqs too. lots of discussion at s2k15 ok guenther@ miod@ mpi@ tedu@ pelikan@
2015-02-09tweak the new if_input function so it takes an mbuf_list insteaddlg6-23/+34
of a single mbuf. this forces us to batch work between the hardware rx handlers and the stack. this includes a converstion of bge from ether_input to if_input. ok claudio@ pelikan@ mpi@
2015-02-09convert vio(4) to if_input().pelikan1-7/+2
ok mpi
2015-02-09after many days of coding, enable WEPphessler1-1/+2
2015-02-08Fix iwm(4) attach and firmware loading process such that a reboot afterstsp1-111/+115
fw_update isn't required anymore. An iwm0 interface now appears if the firmware isn't installed at boot, but it has no MAC address. Firmware is now reloaded on ifconfig down/up and the MAC address is set if successful. test + ok phessler@
2015-02-08Add missing \n to DPRINTFs in iwm(4).stsp1-4/+4
2015-02-08Sprinkle some string constant consistency on iwn(4) as well.stsp1-5/+5
2015-02-08In iwm(4), convert many verbose printf do DPRINTF, sync some string constantsstsp1-110/+102
with iwn(4), and remove a few printf which don't appear in iwn(4).
2015-02-08Fix mfi ioctl to set drive state properly.yasuoka1-8/+22
diff from Tsubai Masanari test dlg jmatthew ok dlg
2015-02-08Convert to if_input().mpi2-17/+4
2015-02-08Convert to if_input().mpi1-9/+2
ok pelikan@, reyk@, blambert@, henning@
2015-02-08Convert to if_input().mpi1-9/+2
ok pelikan@, reyk@, blambert@, henning@
2015-02-07Fix a logic error when enabling MAC and reset the checksum report bitmpi1-3/+7
before loading page, from FreBSD r262822 and r263154. ok stsp@
2015-02-07Don't panic on unhandled net80211 state transitions in iwm(4).stsp1-2/+2
Other drivers don't do this either.
2015-02-07Handle suspend/resume for iwm(4) devices, by syncing with iwn(4)phessler2-3/+64
OK deraadt@
2015-02-07Let a volume key event unmute. This makes the software state follow thekettenis1-1/+13
hardware behaviour on Thinkpads making it harder for software state and hardware state get out of sync. ok deraadt@
2015-02-07New framework that allows hibernate to pass in entropy from it's freshderaadt4-8/+15
boot. ok mlarkin
2015-02-07remove linux int types in the drm headerjsg1-11/+1
kdump includes all headers with ioctls and the v4l videoio.h already defines these. Found the hard way by deraadt. The types will be patched out of future libdrm updates.
2015-02-06Add bpf(4) support to iwm(4). Makes tcpdump -i iwm0 work. Based on iwn(4).stsp3-22/+209
ok deraadt
2015-02-06Add new definitions from libdrm 2.4.59jsg2-4/+43
2015-02-06Add iwm(4), a new driver for Intel 7260 wifi cards.stsp4-1/+12255
Based on iwn(4) and Linux iwlwifi (which is dual BSD/GPLv2 licenced). Created by Fixup Software Ltd. for genua mbh, who then passed on the code base to the OpenBSD project. The genua version of this driver was written for OpenBSD 5.4; ported to -current by myself, phessler@, and deraadt@. So far, we've done semantic and stylistic cleanup without functional changes. The driver is functional but has some known issues which will be worked on in-tree. Requires iwm firmware which is available in ports thanks to sthen@. ok deraadt@ phessler@
2015-02-06Handle hibernate button in the same way as suspend does: send andcoppa1-3/+4
APM_USER_HIBERNATE_REQ event so apmd(8) can get it if it's running. ok mlarkin@, deraadt@, miod@
2015-02-06Fix a hibernate crash on some machines due to unmapping a page thatmlarkin1-2/+5
may not have been mapped previously (in the failure to hibernate case). Also ensure that the lowmem ptp is mapped in all cases (not just MP). ok kettenis
2015-02-05Do what the comments suggest and check for port-[ab]-ignore-cd properties,miod1-1/+6
and if so, force soft carrier mode.
2015-02-04Kill annoying comments about ether_input()mpi4-28/+4
2015-01-31regenjsg2-2/+62
2015-01-31Add some more Intel 5th gen Core ids and the xHCI id used injsg1-1/+13
VMware virtual hardware version 11.
2015-01-28- Add PCH2 and PCH LPT to the list of chips capable of only 9K jumbos.brad2-5/+13
- Updated PBA values for the 82574 controller (20KB) and ICH9/10 with jumbos (14KB). Tested by a few on 82574, ICH9 and PCH LPT From FreeBSD
2015-01-28drm/radeon: allow geom rings to be setup on r600/r700 (v2)jsg3-4/+19
From Dave Airlie 7c4c62a04a2a80e3feb5d6c97aca1e413b11c790 in mainline linux