summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2017-11-29Revise OperatingRegion code to make it extensible and have chvgpio(4)Mark Kettenis
provide the OEM defined regions that are used by the AML on some Cherryview-based machines. ok mlarkin@
2017-11-29turns out you dont have to configure a vsi as the default in a veb.David Gwynne
what a waste of two days.
2017-11-29regenDavid Gwynne
2017-11-29add some mellanox partsDavid Gwynne
2017-11-29fix this on sparc64 (or maybe gcc)David Gwynne
ok jmatthew@ guenther@ kettenis@
2017-11-29let this build on sparc64 again.David Gwynne
2017-11-29add an adaptive polling mode when no interrupt handler is available,Joshua Stein
such as on PCI dwiic(4) devices. this is a temporary workaround until the underlying interrupt problem is fixed. tested by various
2017-11-28refer to ixl as "Intel Ethernet 700 Series"David Gwynne
calling it intel 40g is less correct because the same driver is used for 10g and 25g parts as well.
2017-11-28remove the #if 0ed out ixl_add_veb now that cvs has backed it upDavid Gwynne
im pretty sure we dont need it if we're just using the chip as a single ethernet port.
2017-11-28add missing $OpenBSD$ tagDavid Gwynne
2017-11-28add ixl(4) for the "Intel Ethernet 700 Series"David Gwynne
this doesn't work yet, but it very recently got too big to hack on without cvs to help me manage further changes to it. ok deraadt@
2017-11-28Silence the "Unclaimed register before interrupt" errors. While these doMark Kettenis
indicate a bug somewhere, it is unlikely to be in the OpenBSD glue code. There are reports that these go away in newer Linux code anyway. Stops claudio@ from whining.
2017-11-28Use mutex_trylock() rather than mixing Linux APIs with OpenBSD ones.Martin Pieuchot
ok kettenis@
2017-11-28The athn(4) PCI driver forgot about adding the default noisefloor toStefan Sperling
measured RSSI values. The same is already done for USB devices. RSSI values shown in ifconfig make sense now. ok kevlo@
2017-11-28In athn(4), fix a comment which misidentifies the field where RSSIStefan Sperling
values occur. Add macros to access RSSI info in ds_status4 as well. ok kevlo@
2017-11-27lenght->length, mostly in commentsStuart Henderson
2017-11-27Revise the linux sleeping compat code to avoid lock ordering problems.Mark Kettenis
Based on a diff from mpi@. ok guenther@, mpi@
2017-11-27Add support for SAS3.5 megaraids, which are sold as Dell PERC H740P/840 andJonathan Matthew
Lenovo ThinkSystem RAID 530/930. The main differences are in fast path IO, which we don't use, so all we have to deal with is some changes in the raid context layout and different PCI BARs. The mfii_iop structure gets rearranged a bit to accommodate these. tested on a perc h740p and a h730 (by dlg@) ok dlg@
2017-11-27regenJonathan Matthew
2017-11-27add SAS3.5 megaraidsJonathan Matthew
2017-11-26Add various improvements to the default configuration (better defaultUlf Brosziewski
sizes of edge areas, vertical edge areas as default, and a check for the WSMOUSE_TYPE that may detect clickpads where software buttons should be placed at the top edge).
2017-11-26Don't mention XOR as a mix-in function since addition is done since 1.180Mike Belopuhov
2017-11-26Xen interrupt task barrier is just a taskq_barrier so call itMike Belopuhov
instead of rolling its own now that it's been made available. OK dlg
2017-11-231. Prepare a consistent treatment of edge areas. 2. Add mechanismsUlf Brosziewski
that identify and mask touches resting in the bottom area.
2017-11-23No need to grab the audio lock to call audio_canstart() as it checksAlexandre Ratchov
whether the device is started before using structures shared with the interrupt handler. From Michael W. Bombardieri, tested by me.
2017-11-20Add Allwinner A10 EMAC clock.Mark Kettenis
From Artturi Alm.
2017-11-19Implement support for the "next-generation" clock bindings for theMark Kettenis
Allwinner A10/A20.
2017-11-19Remove interlocks between producers and consumers of randomness dataMike Belopuhov
A lot of randomness event producers are executed in the interrupt context increasing the time spent in the interrupt handler resulting in extra costs when adding randomness data to the pool. However, in practice randomness event producers require interlocking between each other, but not with with consumers due to the opportunistic nature of event consumers. To be able to take advantage of this idea, the ring buffer indexing is now done with two free running producer and consumer counters modulo power of 2 size of the ring buffer. With input from and OK visa, tb, jasper
2017-11-18Extend regulator "framework" with functions to get/set voltages.Mark Kettenis
ok jsg@
2017-11-18Add support for voltage regulators.Mark Kettenis
2017-11-18Extend regulator "framework" with functions to get/set voltages.Mark Kettenis
ok jsg@
2017-11-17Make OF_getnodebyname() scan its child nodes instead of its peer nodes.Mark Kettenis
This still deviates from the implementation we have on macppc, but we only ever use OF_getnodebyname() to find child nodes in our tree. ok tom@, visa@
2017-11-16Add PCI attachment for dwiic(4) needed by Intel 100 Series machinesJoshua Stein
ok kettenis
2017-11-15Remove unused compat macros.anton
ok kettenis@ mpi@
2017-11-14Detect touchpad reset announcements. On rare occasions, the touchpad is resetanton
due to power failure and an announcement is transmitted as input by the device making it detectable. At this point, the device must be re-enabled to continue working since any configuration done prior to the reset is lost. Detection is implemented using a watchdog and enabled for all protocols. So far, the announcement has been observed on Synaptics by me and on Elantech v4 by bru@. Extra care has been taken to handle potential false positives: when the announcement byte sequence is part of a valid input packet. with help and ok bru@, mpi@
2017-11-14Print out the offending data causing pms sync to fail.anton
ok bru@, mpi@ (as part of a larger diff)
2017-11-14Add a few more PNP IDs to the skip lists.Mark Kettenis
ok deraadt@, mpi@
2017-11-13Add support for the i2c controller variant found on the Allwinner A31 andMark Kettenis
above and enable the driver on arm64. From Artturi Alm. Tested by Stephen Graf.
2017-11-13Add i2c-related clocks for Allwinner H3/H5/A64.Mark Kettenis
From Artturi Alm. Tested by Stephen Graf.
2017-11-13Newer Allwinner SoCs (H3/H4/A64) use an "unconfigured" default state.Mark Kettenis
Recognize this state and allow user configuration of the pin if the pin is left into this state. tested by Stephen Graf.
2017-11-08Fixup what looks like a merge mistake; no functional changeMike Belopuhov
2017-11-07Prevent a potential stack buffer overrun when a urtwn(4) deviceStefan Sperling
reports more than 3 bulk-out endpoints. Problem found by Pierre Pronchery (khorben) during code inspection. ok mpi@ kevlo@
2017-11-04Interface counters should only increment.Florian Obser
haesbaert points out that ie(4) does a weird error accounting dance which requires it to decrement a interface counter in some cases. Shuffle things around to only ever do an increment "sure" kettenis, OK mpi
2017-11-02Switch DEC 3000 (TURBOchannel) alpha serial code to MI z8530 code.Martin Pieuchot
ttyB* minor numbers change; be sure to rerun MAKEDEV if you do not upgrade with bsd.rd Adapted from NetBSD by miod@
2017-10-29IFF_NOARP has no effect if the interface don't use ether_input() norMartin Pieuchot
ether_output().
2017-10-28Add the compat-mode setup for wsmouse.Ulf Brosziewski
2017-10-28Adapt the Elantech handlers (v1-3) to the new wsmouse infrastructure.Ulf Brosziewski
The new versions use wsmouse_configure, and leave compat-mode handling to wsmouse. ok stsp
2017-10-27Replace ancient DELAY inherited from Mach and the associated scaryMartin Pieuchot
comment with a barrier. Tested in both fast and slow modes. from miod@
2017-10-26Move common code to add/remove multicast filters to ieee80211_ioctl(9).Martin Pieuchot
ok jsg@, stsp@
2017-10-24remove defines for ioctls the kernel doesn't recogniseJonathan Gray
ok mpi@