summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2015-09-12ifmedia64 fixes.Miod Vallat
2015-09-12mii_softc's view of the current mii state need to use the proper typesMiod Vallat
(ifmedia64).
2015-09-12Intel docs suggest that cpus in C3 may go into deeper states automaticallyPhilip Guenther
when all cores are in C3, so treat the latency+power values from ACPI as advisory and stop skipping states based on them. ok mlarkin@ kettenis@
2015-09-12Add support for the 88E1512/88E1514 phys using the 1512 init sequenceJonathan Gray
from the Intel code in FreeBSD. Tested by Paul Levlin on a machine with I354.
2015-09-11Workaround broken AML by treating FFH vendor 8 the same as vendor 1 (== intel)Philip Guenther
ok millert@ kettenis@ and something like an ok mlarkin@
2015-09-11back out refcnt for dv_ref, there's too many hand crafted devices allDavid Gwynne
over the tree. much encouragement from l2k15
2015-09-11rd pretends to be a device allocated by subr_autoconf. it needs toDavid Gwynne
refcnt_init like a real device too. found by deraadt@
2015-09-11Remove the unfinished che(4) driver for Chelsio 10G cards. I lost interestClaudio Jeker
fixing this long ago.
2015-09-11Make room for media types of the future. Extend the ifmedia word to 64 bits.Stefan Sperling
This changes numbers of the SIOCSIFMEDIA and SIOCGIFMEDIA ioctls and grows struct ifmediareq. Old ifconfig and dhclient binaries can still assign addresses, however the 'media' subcommand stops working. Recompiling ifconfig and dhclient with new headers before a reboot should not be necessary unless in very special circumstances where non-default media settings must be used to get link and console access is not available. There may be some MD fallout but that will be cleared up later. ok deraadt miod with help and suggestions from several sharks attending l2k15
2015-09-11First step at making ix(4) MPSAVE. This is largely based on the em(4)Claudio Jeker
changes done by kettenis@. Tested by Hrvoje Popovski and chris@ dlg@, mpi@ and kettenis@ agree on developping this further in tree.
2015-09-11Don't copy more sense data than we have space for, so we don't crash whenJonathan Matthew
trying to talk to a Sun STK6140. Still doesn't work though. ok dlg@
2015-09-11fairly simple size for free()Theo de Raadt
2015-09-11size for free()Theo de Raadt
2015-09-11Ignore the 'rotation lock' button on my Yoga12Philip Guenther
2015-09-10kqueue(2) support for wsmouse(4), wskbd(4) and wsmux(4).Martin Pieuchot
Needed for libinput port. ok guenther@, miod@
2015-09-10sizes for free(); ok sthenTheo de Raadt
2015-09-10Fix a zx_putchar() stupid bug I introduced nine years ago by actuallyMiod Vallat
initializing variables before they get used.
2015-09-10remove unused macro GEM_CURRENT_MEDIA; ok dlg@ mpi@Stefan Sperling
2015-09-10Show usb stack error code if a firmware page fails to load in urtwn(4).Stefan Sperling
ok mpi@
2015-09-10simple size for free()Theo de Raadt
2015-09-10PPB_EXNAMLEN for the extent name; now easier to pass as a size for free()Theo de Raadt
2015-09-09sizes for free(); ok semarieTheo de Raadt
2015-09-09sizes for free(); ok semarieTheo de Raadt
2015-09-09sizes for free(); ok semarieTheo de Raadt
2015-09-09sizes for free(); ok sthenTheo de Raadt
2015-09-09sizes for free(); ok sthen semarieTheo de Raadt
2015-09-08sizes for free(); ok semarieTheo de Raadt
2015-09-08sizes for free(); checked by semarieTheo de Raadt
2015-09-07Do not set USBD_NO_COPY for interrupt transfers, only bulk transfersMartin Pieuchot
are converted for the moment. From Grant Czajkowski.
2015-09-07Make it possible to use RI_WRONLY for the aframebuffer during early boot.Mark Kettenis
In this case, the caller has to provide the backing store for the screen contents by setting the ri_bs member of "struct rasops_info". The screen contents are retained if the rasops_info descriptor is later reinitialized after adding the RI_VCONS flag. ok yasuoka@, deraadt@
2015-09-07sizes for free(); ok jmatthewTheo de Raadt
2015-09-06Add support for QEMU PCI serial devices in puc(4)Stefan Fritsch
OK deraadt@
2015-09-06regenerate from pcidevsStefan Fritsch
2015-09-06Add ids for Qemu PCI serial devicesStefan Fritsch
OK deraadt@
2015-09-06clarify malloc arguments (base + length...)Theo de Raadt
2015-09-06We actually need an interrupt-safe allocator here, as we call pool_put()Mark Kettenis
with a mutex held, so we can't have it sleep.
2015-09-06sizes for free(); ok jmatthewTheo de Raadt
2015-09-06srom size is tracked, pass to free()Theo de Raadt
2015-09-06firmware size for free()Theo de Raadt
2015-09-06sizes for free() - most are about the firmware memoryTheo de Raadt
2015-09-05Support Synaptics touchpads without W mode.bru
Emulate W mode if a Synaptics model doesn't provide it, and check for the success of the resolution query during setup. ok shadchin@, mpi@
2015-09-05Improve tap-and-drag detection for ALPS touchpads.bru
The ALPS mechanism for gesture detection can produce long delays between a packet that signals a tap and the next packet, which either signals the end of the gesture or the start of a drag-operation. The time spans can exceed the timeouts used by the generic detection mechanism in the synaptics driver. Reporting both the touch and the release event when the second packet has arrived ensures that the tap will be recognized. ok mpi@ shadchin@
2015-09-05Support for xterm-compatible SGR escapes 39 and 49 (reset fg/bg colour toMiod Vallat
default). From Matthew Martin on tech@
2015-09-05regenJonathan Gray
2015-09-05add some braswell idsJonathan Gray
2015-09-04The bnx_tx_pool gets used from interrupt context, so drop the explicitMark Kettenis
backend allocoter here without passing PR_WAITOK to pool_init(9). ok mikeb@
2015-09-04Fix condition used while seaching candidates for "record level"Alexandre Ratchov
control for wskbd. This may fix "record level" keys on certain keyboards.
2015-09-04Do not use an intermediary buffer on the stack of the caller whenMartin Pieuchot
submitting a bulk write request. This also means big bulk write requests are no longer split into multiple small transfers something that libusb consumers do not expect. From Grant Czajkowski <czajkow2 AT illinois DOT edu> as part of the GSoC 2015.
2015-09-04add support for RTL8168HJonathan Gray
tedu tested an almost identical diff from brad that set the same flags.
2015-09-03Properly cancel any pending USB abort task when aborting a transferVisa Hankala
and skip completed transfers in dwc2_abort_xfer(). This fixes some timeout-related crashes. Feedback and ok mpi@