summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2015-09-23In iwm(4), properly reset the RX ring by clearing RX buffer status memory.Stefan Sperling
Found by Matthew Dillon (Dragonfly). DMA sync hint from tedu@, ok mpi@
2015-09-23In iwm(4), while not associated, pass the broadcast ethernet address toStefan Sperling
the firmware, rather than zeros. Matches what Linux iwlwifi does. Spotted by Adrian Chadd (FreeBSD). ok mpi@
2015-09-22regenJasper Lievisse Adriaanse
2015-09-22add (unsupported) realtek wireless card as found in rpointel@'s x250, thoughJasper Lievisse Adriaanse
it could be supported by rtwn(4) eventualy ok stsp@
2015-09-20brad points out i need bpf_mtap_ether to reconstruct vlan headersDavid Gwynne
2015-09-20need to keep bpf in the tx path. got a bit ahead of myself there...David Gwynne
noticed by brad
2015-09-19Avoid using a mutex in the rx completion path. Instead rely onMark Kettenis
intr_barrier(9) to avoid having the interrupt handler touch the rx data structures while we're brining down the interface. This actually reverts many of the changes in rev. 1.300. ok mikeb@
2015-09-18Remove stray splx(9) call. Found by Maxime Villard's Brainy Code Scanner.Mark Kettenis
From miod@.
2015-09-18Remove unused variables, from Michael McConville.Martin Pieuchot
ok stsp@
2015-09-18More ifmedia64 fallout.Miod Vallat
2015-09-18make vmx(4) interrupts mpsafe.David Gwynne
the vmx rx path is only touched in the interrupt handler, so it is already guaranteed to be accessed by only one cpu at a time. the tx path has been massaged so the the producer is only touched by the start routine, and the consumer is only touched by the interrupt path, and can therefore be run concurrently. the only interlock is a count of the free descriptors. if txintr clears IFF_OACTIVE, it takes the kernel lock before running the start routine. other interrupts, eg, link state handling, take the kernel lock.
2015-09-17Do not define QLW_DEBUG if SMALL_KERNEL, and turn qlw_dump_iocb() andMiod Vallat
qlw_dump_iocb_segs() into empty macros if QLW_DEBUG is not defined (if only to make this compile, then).
2015-09-15regenJasper Lievisse Adriaanse
2015-09-15add fingerprint reader as found the x250 as well as another similarJasper Lievisse Adriaanse
device found while figuring out the chipset. ok jsg@
2015-09-15Fix kpanic I found the hard way while using pcsc-liteDavid Coppa
From Grant Czajkowski <czajkow2 AT illinois DOT edu> OK mpi@
2015-09-14Fix more ifmedia64 fallout in the kernel. It's hiding everywhere...Stefan Sperling
2015-09-13Put the 12x22 font on alpha and macppc installation kernels, the 8x16 fontMiod Vallat
is really fugly on large displays (tga, vgafb). It's only 10KB more data before compression, which fits in our floppies.
2015-09-12let the C files do the sys/param.h including jobTheo de Raadt
2015-09-12More ifmedia64 fallout; that should be the last.Miod Vallat
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