summaryrefslogtreecommitdiffstats
path: root/sys/dev
AgeCommit message (Collapse)AuthorFilesLines
2015-06-10Use first 4 channels of the board. The previous channel settingratchov1-3/+3
caused DMA on the wrong memory location during recording. ok kettenis@
2015-06-10Do not set "rcvif", if_input() does it for us.mpi1-2/+1
Found the hardway by krw@ trying a diff that kills "rcvif". ok stsp@
2015-06-08rearrange delayed_work to avoid the use of container_of while leaving it injmatthew5-22/+23
more or less the same shape. ok uebayasi@
2015-06-08pms(4): Don't match Elantech v4 devices with firmware versions 0xX7XXXX.stsp1-2/+3
Apparently we don't support these touchpads properly so leave them in PS/2 compat mode. Regression reported by Remi Locherer on bugs@. And stop matching devices with firmware versions higher than 0xX8XXXX since we cannot be sure they work. ok mpi@
2015-06-08refuse to do polled isochronous transfers, as other usb controller drivers dojmatthew1-4/+5
requested by mpi@
2015-06-08Ensure polled bulk, control and interrupt transfers actually poll, fixingjmatthew1-9/+6
panics on shutdown with various usb sticks. ok mpi@
2015-06-07The Swiss Federal Government decided to shut down HBG at the end of 2011.claudio3-154/+12
On 6 September 2012 at 12:02:00 UTC both antenna towers were demolished by controlled explosives. So this is not coming back and we can tedu the support for HBG form the DCF77 drivers. Remided by mbalmer
2015-06-07mark the usb hci driver pci glue code as only needed by the pci attachment,dlg1-5/+5
not all usb controllers. this lets jsg build ehci on a platform that lacks a pci bus. ok jsg@
2015-06-05regenstsp2-2/+7
2015-06-05Add another PCI ID for Intel Dual Band Wireless AC 3165. From brad.stsp1-1/+2
2015-06-04attach rtwn at pcistsp1-1/+6
2015-06-04New rtwn(4) driver for RTL8188CE wifi cards.stsp2-0/+5375
This is a PCI card from the same chip family as supported by urtwn(4) on USB. Development started in 2013 using urtwn(4) as a starting point but was dormant for much of the time since. I finally unslacked after uwe@ provided help with lifting this driver on its feet. As usual we got helpful hints from Theo. Requires firmware which will be available in ports soon. There are rate adaptation issues that still need to be fixed, cause unknown. In my testing the hardware rarely transmits more than 1Mbit/s. Committing over MAC/BB RTL8188CE, RF 6052 1T1R.
2015-06-04syncderaadt2-2/+7
2015-06-04+ REALTEK RT8191SEderaadt1-1/+2
2015-06-04Add support for em(4) on Teak 3020, a Tolopai (EP80579)dms5-11/+243
based devices. This introduces Realtek PHY into em driver code and is only a temporary solution to the problem. OK deraadt@
2015-06-04regendms2-0/+15
2015-06-04Add more of Tolopai (EP80579) Gigabit controllers id.dms1-3/+6
2015-06-04Check if interface was stopped before calling rx/tx interrupt routines.mikeb1-4/+7
Report & tests by mxb@alumni.chalmers.se, thanks! OK deraadt, chris
2015-06-04Switch intel_gmbus_is_port_valid and intel_gmbus_is_forced_bit fromjsg1-3/+3
extern inline back to static inline so the kernel will build on compilers that default to c99 inline semantics.
2015-06-04use mallocarray instead of malloc in drm_callocjsg1-2/+2
2015-06-04remove the now unused alawtolin16 tablejsg1-68/+1
ok ratchov@
2015-06-02Add missing define for hpb(4).mpi1-2/+4
2015-06-01regenstsp2-4/+4
2015-06-01fix typo: Wirelsss -> Wirelessstsp1-2/+2
2015-05-30DRMDEBUG not DRM_DEBUG. From frantisek holop.jsg1-2/+2
2015-05-30Acquire/release the i2c bus before/after reading the temperature register.kettenis1-3/+4
Prevents concurrent access to the smu(4) microcontroller on Apple G5 machines, which would result in errors reading the RTC. ok deraadt@, mpi@
2015-05-30cleanup attach messagederaadt1-2/+2
2015-05-29Nuke annoying whitespace nits to shrink some future diffs.krw3-12/+11
2015-05-29Revert unrelated changes in previous.uebayasi3-40/+3
2015-05-29Initial addition of ``Patrol Read'' support in bio(4), biocto(8), anduebayasi7-7/+265
mfi(4). Based on FreeBSD, but done without mfiutil(8). OK deraadt@
2015-05-27Use m_defrag(9) instead of rolling our own inlined version.kettenis4-74/+14
ok mikeb@
2015-05-27Improve the controller state check in xhci_resetmikeb1-2/+3
From FreeBSD, OK mpi
2015-05-26Fix missing vlan.h include in if_vio.csf1-1/+7
patch by jsg@
2015-05-26bump the number of tx and rx descriptors from 128 up to 512.dlg1-3/+3
2015-05-26More than 100+ drivers converted to if_input(), this is the last "real" one.mpi1-106/+11
ok dlg@
2015-05-26Build all the firmware for usb devices on armv7.jsg5-11/+15
2015-05-25Initialize ipa_ndrq in isascan() too...miod1-1/+2
2015-05-25Match newer elantech v4 touchpads, logic taken from Linux.mpi1-2/+2
Based on a submission from and ok jcs@.
2015-05-25Make this build when using the __STRICT_ALIGNMENT version of USETW.jsg1-2/+2
2015-05-25Prevent a use after free in by closing all open endpoints upon detach.mpi1-14/+30
Fix a panic reported by landry@ with Android's ADB. Tested and ok ajacoutot@
2015-05-25missing word in comment; Kyle Milzderaadt1-2/+2
2015-05-24Initialize ipa_nirq in isascan(). Gets rid of spurious irq locators beingmiod1-1/+2
printed for isadma(4).
2015-05-24Follow the recent pckbc@isa changes and always establish all the necessarymiod3-17/+3
interrupts at pckbc attach time, and get rid of the `intr_establish' pckbc callback. Tested on hppa (gsckbc) and sgi (pckbc@hpc); not tested on sparc64 (pckbc@ebus) but this attachment was already behaving this way and its intr_establish callback was an empty function.
2015-05-24Add udl(4) and uvideo(4) to armv7 GENERIC. Tested on my sabre lite (imx).matthieu1-1/+2
enable udl firmware and COMPAT_RAW_KBD to make udl useable with X. ok jsg@
2015-05-22Don't use an uninitialised softc pointer in midiread/midiwrite.jsg1-3/+5
ok ratchov@
2015-05-22LITTE_ENDIAN -> LITTLE_ENDIANjsg1-2/+2
ok ratchov@
2015-05-22Limit the number of dma segments used for transmitting packets tokettenis1-2/+3
IWM_NUM_OF_TBS - 2. We have IWM_NUM_OF_TBS slots, but use two of those for sending commands to the firmware. Hopefully fixes the iwm0: hardware error, stopping device errors I've seen somewhat regularly. ok claudio@, deraadt@
2015-05-21Use m_defrag(9) instead of rolling our own version of it.kettenis1-25/+9
ok jca@
2015-05-21Establish interrupts for both keyboard and mouse slots at pckbc attach time,miod1-33/+24
rather than lazily from pckbc when slots are discovered. This is consistent with what other isa devices (and pckbc on non-isa busses) do, and as a side effect, this makes the dmesg output shorter. This will also let us get rid of pckbc's intr_establish() callback in a later diff. Prompted by krw@ noticing ugly kernel output in a configuration with the mouse slot left empty. ok krw@ mpi@
2015-05-21Report all valid interrupt locators in isaprint() - although config(8) stanzasmiod1-7/+24
only allow one irq for isa devices, there is actually support for more since we got isapnp(4) support, and upcoming changes will actually have regular isa(4) devices claim more than one irq in their indirect match function.