summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2018-07-10Make legacy interrupts work in acpipci(4).Mark Kettenis
ok patrick@
2018-07-10s/ITUNER/MICROCHIP/ following usbdevs -r1.689Jasper Lievisse Adriaanse
2018-07-10regenJasper Lievisse Adriaanse
2018-07-10replace the Ituner vendor with Microchip to match Linux at leastJasper Lievisse Adriaanse
ok mpi@
2018-07-10Change USB_DEVICEINFO to report USB port status/changes as currentlyMartin Pieuchot
seen by the stack. This will allows us to debug port status changes without relying on external tools, like lsusb(1), that generate I/O. While here correct USB3 LS port defines.
2018-07-09sprinkle comments and rename iface to match its use to ctl_iface_idxJasper Lievisse Adriaanse
ok abieber@
2018-07-09use UE_GET_XFERTYPE(); no binary changeJasper Lievisse Adriaanse
2018-07-09Strip down the (not enabled) pcagpio(4) GPIO extender. This removesPatrick Wildt
the sensors code and user-controllable GPIO bus attachment but at the same time hooks pcagpio(4) into the OFW GPIO framework so that it can be used by other device tree based drivers. Discussed with deraadt@ ok kettenis@
2018-07-09Basic support for SFP modules in mvneta(4). SFP modules are basicallyPatrick Wildt
hotpluggable PHYs whose status can either be read using an I2C-connected PHY, or using in-band status management implemented in the controller itself over SGMII. With this, 802.3z SFPs work on mvneta(4).
2018-07-09Add bnxt(4), a driver for Broadcom NetXtreme-C/E 10G+ ethernet.Jonathan Matthew
Sort of a port from freebsd, but I had to write all the interesting bits myself. Not very complete yet, but good enough to commit over. ok kettenis@ deraadt@
2018-07-08regenthfr
2018-07-08add AMD Summit Ridge (17h) and Raven Ridge PCI devices. ok brynet@thfr
2018-07-07Fix uaudio(4) detection on Logitech Webcam C200/C210/C250/C270/C310/C500.Landry Breuil
Those devices have a broken AudioControl descriptor which advertises a bad value for bLength for the FEATURE_UNIT sub-descriptor, so add a quirk 'fixing' this bLength so that uaudio(4) attaches properly instead of bailing out with 'audio descriptors make no sense, error=4'. My C310 now properly attaches but doesnt seem to work right now, this is a different issue that will be worked on. Thanks to tb@, remi@, weerd@, Raf Czlonka, Base Pr1me, Jordan Geoghegan, Peter J. Philipp, Alfredo Vogel, James Hastings, Bruno Flueckiger, Remco & Alex Tsang for providing lsusb -v output for a large variety of Logitech Webcams. ok mpi@ ratchov@
2018-07-07regenLandry Breuil
2018-07-07Add ids for Logitech Webcam C250, also affected by the 'bogusLandry Breuil
FEATURE_UNIT bLength' issue. ok mpi@
2018-07-06Add bus_dmamap_sync(9) calls to bwfm(4) so that we make sure the dataPatrick Wildt
is synced properly before the CPU or the WiFi chip access the supplied memory. Makes PCIe-connected bwfm(4) work on ARM-based machines.
2018-07-06Move mbuf alignment for strict aligned architectures from the BCDCPatrick Wildt
specific receive path into the generic receive path, since PCIe supplied packets can be misaligned as well.
2018-07-06regenJonathan Matthew
2018-07-06add Broadcom NetXtreme-C/E devicesJonathan Matthew
2018-07-05Add acpipci(4), a driver that supports generic ECAM-compatible PCI hostMark Kettenis
bridges based on information provided by ACPI. ok mlarkin@
2018-07-05Cast physical addresses to 64-bits so we can shift them by 32-bit onPatrick Wildt
32-bit platforms without the compiler complaining. In the end the value will turn out as 0 anyway. Allows enabling bwfm(4) on 32-bit platforms. ok stsp@
2018-07-05Add support for the VIA VX900 chipset in viapm(4).Frederic Cambus
OK kettenis@
2018-07-04Properly pass around the PCI "chipset tag" in acpi(4) and refactorMark Kettenis
acpimcfg(4) to call an MD initialization functions that sets up a tag for PCI ECAM. ok guenther@, mlarkin@, krw@
2018-07-04Move allocation behind sanity check to address possible memory leak asPatrick Wildt
seen by Coverity CID 1470240. Cast the ieee80211_frame struct pointer to uint8_t to address concerns raised by Coverity CID 1470239 and CID 1470237. ok stsp@
2018-07-04Do not try to unlock the fdplock() in an error path if it isn't held.Martin Pieuchot
Found the hardway by mlarkin@, ok bluhm@
2018-07-03Add a new so_seek member to "struct file" such that we can have seekableMark Kettenis
files that aren't vnodes. Move the vnode-specific code into its own function. Add an implementation for the "DMA buffers" that can be used by DRI3/prime code to find out the size of the graphics buffer. This implementation is very limited and only supports offset 0 and only for SEEK_SET and SEEK_END. This doesn't really make sense; implementing stat(2) would be a more obvious choice. But this is what Linux does. ok guenther@, visa@
2018-07-03Use LIST_FOREACH construct instead of homebrew loop.Kevin Lo
ok bluhm@, mpi@
2018-07-03regenFrederic Cambus
2018-07-03Add device IDs of the VIA VX900 chipset.Frederic Cambus
OK mlarkin@
2018-07-03During attach, give the loop a while to settle before we start lookingJonathan Matthew
for targets. With some combinations of controllers and targets, the loop seems to bounce a bit, but with a short delay we can attach targets more reliably.
2018-07-03regenLandry Breuil
2018-07-03Add usb ids for the Logitech Webcams C210 and C270.Landry Breuil
Their audio isn't properly detected yet, but a new quirk will fix that. ok mpi@
2018-07-03If we're not on a fabric, we may still need to attach and detach targetsJonathan Matthew
as part of processing port database changes.
2018-07-03Instead of overwriting `f_data' replace the 'struct file' with a new one.Martin Pieuchot
With this change `f_data' is effectively immutable. While here prevent a lock ordering issue by not unterleaving the vnode's lock and the fdplock(). Tested by bluhm@, ok kettenis@, visa@, jsing@
2018-07-03Fix typo.Kevin Lo
ok claudio@, deraadt@, mpi@, rob@
2018-07-03Nuke unused variable.Kevin Lo
ok deraadt@, mpi@, rob@
2018-07-02Allow pluart(4) to attach to acpi(4).Mark Kettenis
ok mlarkin@, patrick@
2018-07-02Allow xhci(4) to attach to acpi(4).Mark Kettenis
ok dlg@, patrick@, mpi@
2018-07-01acpi: clean up some inconsistent style in the hid matching arraysMike Larkin
ok millert, kettenis, jcs, phessler, deraadt, mpi
2018-07-01Use generated string for the bus number extent.Mark Kettenis
2018-07-01Allow ahci(4) to attach to acpi(4).Mark Kettenis
ok deraadt@
2018-07-01Move acpi(4) attach glue into acpi_machdep.c.Mark Kettenis
ok guenther@, deraadt@
2018-07-01Use fnew() to allocate a struct file. Simplifies the code.Mark Kettenis
ok mpi@, visa@
2018-07-01Remove semicolon before printing the AML name.Mark Kettenis
spotted by deraadt@
2018-07-01Allow com(4) to attach to acpi(4). For now we will only use this on arm64Mark Kettenis
where this is needed to support serial console in ACPI mode. ok mlarkin@
2018-07-01Add support for _DSD Device Properties.Mark Kettenis
ok mlarkin@
2018-07-01Add definitions for SPCR tables.Mark Kettenis
ok mlarkin@
2018-06-30Typo in comment in previous file which I said I'd address in the originalMike Larkin
commit and forgot to do. (Sufrace -> Surface)
2018-06-30acpisurface(4): driver for Surface Pro 4 and Surface Book hardwareMike Larkin
buttons. ok phessler, deraadt, kettenis
2018-06-30Add intr_enable() function, intended for MI use to amd64 and i386 and useMark Kettenis
this in the acpi(4) suspend/resume code paths. ok deraadt@