summaryrefslogtreecommitdiffstats
path: root/sys/dev
AgeCommit message (Collapse)AuthorFilesLines
2014-10-31Use understandable messages when the per-xfer poison value is incorrect.mpi2-15/+10
Prodded by a comment from stsp@.
2014-10-31remove unused and uneeded includes under NCY_ISA > 0 and NCY_PCI > 0jsg1-11/+1
where cy.h is not included. discovered with a script from guenther@
2014-10-30XFER_FREE is not used, ciao.mpi2-8/+2
2014-10-30muliply to get correct size for free. reported by kspillnertedu1-2/+2
2014-10-30Do not use void * for pointer artithmetics, it's a GNU extension, frommpi1-3/+3
Patrick Wildt.
2014-10-30Do not enable interrupts before attaching usb(4), fix a panic when anmpi3-7/+8
Express Card is plugged with USB devices on it. While here do not print an unitialized error value if xhci_init() fails, from Patrick Wildt.
2014-10-30Calculate the Route String when attaching a new device. This is stillmpi1-13/+29
not enough to attach Super Speed devices below USB 3 hubs, but we're getting there. While here reset `acten` when re-enqueuing an interrupt transfers.
2014-10-30zero the correct size, then free it.tedu1-4/+4
2014-10-30add some sizes to free()tedu2-33/+24
2014-10-28the if_rxring accounting would get screwed up if the first mbuf todlg1-38/+50
be put on the ring couldnt be allocated. this pulls the code that puts the mbufs on the ring out of myx_rx_fill so it can return early if firstmb cant be allocated, which puts it in the right place to return unused slots to the if_rxring. this means myx rx wont lock up if you're DoSsed to the point where you exhaust your mbuf pools and cant allocate mbufs for the ring. ok jmatthew@
2014-10-27Stop supporting wsmoused and X in parallel. This code is racy andmpi3-182/+15
known to break mice upon resume. ok shadchin@
2014-10-26Add resource tracking for PCI ROMs.kettenis1-2/+29
ok deraadt@
2014-10-25Don't attempt to suspend/resume a partially attached drm(4) driver.kettenis2-2/+8
Fixes a crash upon resume with an ATI FireMV 2400 card. ok jsg@
2014-10-24Always put controller into known state before device intialization.brad2-5/+5
From FreeBSD ok sthen@ chris@
2014-10-24obvious sizes for freetedu1-3/+3
2014-10-23Now that gcc2 is gone revert the removal of anonymous unions, means not having tobrad1-11/+11
modify various third party apps using the V4L2 API to build on OpenBSD specifically. "I think this is the right thing to do" miod@ "Fine with me." sthen@
2014-10-21Style + typos in debug printfs.uebayasi1-5/+7
2014-10-20Be sure to return if the pci interrupt can't be mapped, instead of fallingmiod1-1/+2
through the remainder of the attachment logic.
2014-10-20typo; deraadttedu1-2/+2
2014-10-20use SHA512 to hash entropy instead of MD5tedu1-15/+15
2014-10-19More gracefully handle firmware loading errors in ulpt(4).stsp1-3/+14
The previous lack of error handling could trigger a kernel crash in some situations, with ulptwrite being called while not ready. ok deraadt phessler
2014-10-19Use sc_if->sk_pktlen to specify the maximum DMA transfer size and maximumbrad1-3/+3
DMA segment size when setting up the TX buffers in msk_init_tx_ring(). ok jsg@
2014-10-18oops, too greedymiod1-2/+2
2014-10-18Remove even more unnecessary `needs-flag' attributes from config machinery,miod4-11/+11
as well as useless include of the generated flag files.
2014-10-18Add VIDIOC_G_INPUT ioctl, some ports need it (at least ffmpeg)armani3-3/+20
ok ratchov@, sthen@, mpi@
2014-10-17convert old b functions to mem functionstedu2-9/+9
2014-10-16Additonal registers needs to be saved in sc_save2, not sc_save.kettenis1-5/+5
ok deraadt@
2014-10-16LID control method devices aren't required to offer _PSW, so don't skipmlarkin1-6/+7
putting a LID into the global list of LIDs if we encounter an error writing to _PSW for that LID. Needed for another upcoming diff. ok deraadt, phessler
2014-10-16missing \n in printf; Daniel Wadederaadt1-2/+2
2014-10-15Sprinkle CPU_BUSY_CYCLE() in a few places.uebayasi1-1/+3
OK kettenis@
2014-10-15Revert previous (wrong commit message).uebayasi1-3/+1
2014-10-15pppx(4): Correct pppx_dev_lookup() and pppx_dev2pxd() local declarationsuebayasi1-1/+3
Those two functions take one dev_t argument, not int. Match declarations with reality. No functional changes.
2014-10-12Do not compile sensor code if option SMALL_KERNELmiod1-1/+9
2014-10-12Remove unnecessary `needs-flag' attributes.miod1-12/+12
2014-10-12Remove unnecessary `needs-flag' attributes.miod1-5/+5
2014-10-12remove some unused filesjsg2-1783/+0
ok miod@
2014-10-12regenarmani2-4/+9
2014-10-12Add Logitech Webcam C310armani1-1/+2
ok mpi@
2014-10-11Comparsion -> Comparisonmiod1-2/+2
2014-10-10fix compilation without DIAGNOSTICjmatthew1-2/+2
ok dlg@
2014-10-09Revert "enable MSI support", it introduced a regression on some chips.mpi1-2/+2
Theo Buehler reported some connectivity lost with a Yukon-2 EC 88E8053 on tech@ and I could reproduce it with Yukon-2 FE 88E8036. Discussed with brad@
2014-10-09no need for lkmtedu1-2/+1
2014-10-08Restrict what RL_MAXRXPKTLEN is being set to for any of the PCIe chipsets.brad1-3/+7
The driver currently doesn't implement jumbo frames for the newer chipsets and it doesn't make sense allowing for a jumbo frame with a Fast Ethernet chipset either. In theory its possible to do bad things with the driver as is according to the FreeBSD/Linux drivers under the right conditions. ok sthen@
2014-10-08publish_avail_idx does not read the used ring, no need to callsf1-3/+1
bus_dmamap_sync for it.
2014-10-08Add missing memory barriers to virtio.sf1-1/+12
The virtio_membar_sync() calls are required even on x86. The *_producer() and *_consumer() calls are only relevant on architectures with less strict memory ordering.
2014-10-08#ifdef SMALL_KERNEL some sensor blocks; ok miodderaadt1-2/+2
2014-10-08add support for megaraid 3008 (fury) and 3108 (invader) cards. thedlg1-2/+4
new dell h730 is a rebaged 3108. adding the ids appears to be enough to support this chip. ill need to check the sgl code to be sure though.
2014-10-08On ThinkPads, protect code handling the hibernate button withdcoppa1-2/+2
"#if defined(HIBERNATE)" ok deraadt@, mlarkin@
2014-10-08regendlg2-2/+12
2014-10-08new megaraidsdlg1-1/+3