summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2018-03-11Workaround an Azure UDP transmit checksum offloading bugMike Belopuhov
According to https://reviews.freebsd.org/D12429, UDP transmit checksum offloading doesn't work in Azure when sizeof(IP hdr + UDP hdr + payload) is greater than 1420 and don't fragment bit isn't set in the IP header. Instead of peeking into the packet and attempting to fix the fallout, we restrict UDP checksum offloading to NDIS versions newer than the one used in Azure (6.30) in an attempt to keep the feature enabled. Unfortunately, there's no way to tell Azure apart from a standalone Hyper-V to make this check more precise.
2018-03-10raise bnx(4)'s rxring lwm to 16, ok deraadtStuart Henderson
(I've had this diff locally for a long time on port build machines to avoid NFS stalls.)
2018-03-10match two more copper i210 idsJonathan Gray
2018-03-10regenJonathan Gray
2018-03-10Add ids for Ice Lake and Cannon Lake Ethernet and some more I210 ids.Jonathan Gray
From FreeBSD.
2018-03-10Add another ICH10 em(4). From John the.cheeze at gmail.Jonathan Gray
2018-03-10regenJonathan Gray
2018-03-10Add another ICH10 em(4). From John the.cheeze at gmail.Jonathan Gray
2018-03-09SyncKevin Lo
2018-03-09Add USB device IDs for Edimax EW7611ULB, EW7822ULC, RTL8723BU, andKevin Lo
D-Link DWA-182 rev D1. ok stsp@
2018-03-08Implement the VMWare vmbackup protocol using vfs_stall(). This lets youJonathan Matthew
clone running guests and take disk-only snapshots, most of the time ending up with a clean filesystem. ok dlg@ deraadt@
2018-03-07Replace non-functioning checks for use of the usb memory block allocator inJonathan Matthew
interrupt context with assertwaitok(), which does work. ok dlg@
2018-03-05Move completed transfer descriptors to the freelist before callingJonathan Matthew
usb_transfer_complete, so that if we need to allocate a new one (as in the case of interrupt endpoints) we will always be able to do so without allocating a new chunk. Mapping a new chunk involves allocating from the kernel map, which is not safe to do from interrupt context. fixes a panic reported by semarie ok visa@ krw@ (before a last minute tweak)
2018-02-28Ignore 'fseq version mismatch' notifications from 8265 iwm(4) firmware.Stefan Sperling
Kills "iwm0: unhandled firmware response 0xff/0xb8000010 rx ring" dmesg spam. Patch by jes@posteo via tech@, who found the corresponding change in Linux: https://patchwork.kernel.org/patch/9869017/
2018-02-28Correct a pointless longstanding difference in ioctl numbering betweenJonathan Gray
linux and add back struct members. Avoids diffs in inteldrm, libdrm and Mesa >= 17.2. ok kettenis@
2018-02-27Add RTL8211F support. Loosely based on the FreeBSD driver.Mark Kettenis
ok jsg@
2018-02-27Release the netlock when sleeping for control messages in in vioioctl().Martin Pieuchot
Prevents a deadlock reported by aalm@
2018-02-26Add RK3328 support.Mark Kettenis
2018-02-26Fix typo in previous commit.Mark Kettenis
2018-02-26Support dumping isochronous frames via bpf(4) using the USBPcap protocol.Martin Pieuchot
ok deraadt@, ratchov@
2018-02-26regenccardenas
2018-02-26Add devices found on thinkpad e475 with an AMD A10-9600Pccardenas
(Bristol Ridge, aka tweaked Carrizo) not to be confused with Carrizo-L (16h apu). ok jsg@, mlarkin@
2018-02-25Add RK805 support.Mark Kettenis
2018-02-25Add RK3328 support.Mark Kettenis
2018-02-25More RK3328 clocks.Mark Kettenis
2018-02-25RK3328 support.Mark Kettenis
2018-02-25Initial RK3328 clocks.Mark Kettenis
2018-02-25Don't pass our configured SSID to iwm(4) firmware during a background scan.Stefan Sperling
Apparently this can cause a firmware crash during a TX command on 7265 devices. Why this happens is unclear. Problem reported and workaround tested by trondd on bugs@ I have verified that hidden SSID APs still work, though we won't be able to seamlessly roam between them anymore. Seems like a fair trade-off for now.
2018-02-25My previous commit to iwn(4) broke the scan loop.Stefan Sperling
The problem happened if we didn't find an AP to connect to after one scan iteration. The net80211 stack then performs a SCAN -> SCAN transition to kick off another scan, but the driver treated this transition as a no-op and remained in SCAN state doing nothing. To fix this, introduce a flag which keeps track of whether a firmware scan command is in progress, and start another scan during a SCAN->SCAN transition if no scan is in progress. Matches what iwm(4) does. Note that previously (i.e. in 6.2), iwn(4) would always try to start a new scan regardless of what the firmware was currently doing. Problem noticed by myself and also by deraadt@ test & ok tb@
2018-02-25Typo: auxilliary -> auxiliaryPhilip Guenther
2018-02-24RK3328 support.Mark Kettenis
2018-02-24Add bcmrng(4), a driver for the random number generator on the Raspberry Pi.Mark Kettenis
2018-02-24fix pastoMark Kettenis
2018-02-24Add bcmtemp(4), a driver for the temperature sensor on the Raspberry Pi.Mark Kettenis
2018-02-23Get rid of the cpu_on_fn hook and call the psci(4) functions directly insteadMark Kettenis
like we already do in the code that flushes the BTB. ok jsg@
2018-02-23regenDavid Gwynne
2018-02-23masanobu saitoh pointed out i had the wrong id for XXV710 SFP28 devsDavid Gwynne
2018-02-21match linux whitespace in ioctl listJonathan Gray
2018-02-20stop mixing bsd and c99 fixed width types and just use c99 types everywhereJonathan Gray
2018-02-20Set the chain_offset field (same as sgl_offset0, only in 16 byte units)Jonathan Matthew
in passthrough IO requests, which makes AEN processing work on SAS2208 controllers, and since AEN processing works now, enable it again. tested on SAS2208 (PERC H710P) and SAS3108 (PERC H730), SAS3.5 parts should work too. ok dlg@
2018-02-19Add a default case to a usb_tap() switch statement which mpi@ says willJonathan Gray
never be called to convince compilers and static analysis tools a path that uses uninitialised memory does not exist. ok krw@ mpi@
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
The account flag `ASU' will no longer be set but that makes suser() mpsafe since it no longer mess with a per-process field. No objection from millert@, ok tedu@, bluhm@
2018-02-14prune files.* entries that refer to files not in treeJonathan Gray
ok krw@ mpi@
2018-02-11Use the new APIs for setting block lengths and reading from/writing toPatrick Wildt
memory regions.
2018-02-11Add sdmmc_io_set_blocklen() which allows to set the block length of anPatrick Wildt
SDIO function. This is necessary for some SDIO cards that need to be talked with using smaller block lengths than the maximum supported by the host controller. ok kettenis@
2018-02-11Add sdmmc_io_read_region_1() and sdmmc_io_write_region_1() as anPatrick Wildt
interface for "reading memory" akin to the bus_space(9) API. The already existing multi interface is used for "reading FIFOs". The technical difference is that one always reads from the same address (FIFO) while the other increments the address while reading (memory). ok kettenis@
2018-02-11Copy the scan results into a new buffer to re-align the data so that wePatrick Wildt
don't fault on strict alignment architectures.
2018-02-11Since the BCDC header has a variable data offset, so the ethernet packetPatrick Wildt
alignment can be variable, it's better to move taking care of alignment into the BCDC receive code.
2018-02-11Update the packet header length as well as the mbuf length onPatrick Wildt
receive. Did that everywhere else but missed it here.
2018-02-10Add AXP803 support.Mark Kettenis