summaryrefslogtreecommitdiffstats
path: root/sys/dev
AgeCommit message (Collapse)AuthorFilesLines
2014-03-10match on 82580 quad fiber and add untested support forjsg3-4/+24
DH89XX/Cave Creek PCH which seem to function like a 82580 with some external Marvell PHYs.
2014-03-10match on more i217/i218 variantsjsg3-3/+15
2014-03-10match on C600 IDF controllers and DH8900jsg1-1/+5
2014-03-10regenjsg2-2/+422
2014-03-10add Xeon E5 v2, DH8900, and a few other devicesjsg1-1/+85
2014-03-09Print interrupt string *after* establishing it.kettenis3-15/+27
Requested by miod@ (since xbow(4) on sgi secretly modifies the string behind out back when interrupts get established).
2014-03-09regenjsg2-2/+177
2014-03-09add some more Xeon E5 devicesjsg1-1/+36
2014-03-09drm/radeon: set the full cache bit for fences on r7xx+jsg2-8/+10
From Alex Deucher 93e2a4108f7d2665136d6051727471731889ea5f in ubuntu 3.8 d45b964a22cad962d3ede1eba8d24f5cee7b2a92 in mainline linux
2014-03-09use linux style memory allocations in shared drm codejsg8-128/+110
2014-03-09remove dri1 interfacesjsg8-1732/+23
discussed with kettenis some time last year
2014-03-09regenbrad2-4/+56
2014-03-09- Add Hirose vendor id and USB-100 FastE Ethernet idoduct idbrad1-1/+13
- Add Realtek RTL8152 / RTL8153 ids - Add Davicom DM96xx ids
2014-03-08better loop conditions. ok kettenis ratchov sasanotedu1-18/+18
2014-03-08Add the RX earlyoff support for older chips (8168{E-VL,EP, F}) and RXDV GATEDbrad2-6/+23
bits for the 8168G controller. This fixes operation of the 8168G controllers. This makes reception of packets work with the 8168G controllers in the Shuttle DS47 and other systems. From FreeBSD, based on the Realtek Linux driver. ok sthen@ giovani@
2014-03-08Only attempt to load firmware if we actually have some.kettenis1-2/+2
2014-03-08Attempt to recover if wide and/or synchronous transfers fail.kettenis3-8/+52
2014-03-08A bit of spring cleaning.kettenis3-36/+18
2014-03-08Enable tagged queueing.kettenis1-1/+4
2014-03-08Check the appropriate struct member for the various SDEV_* quirks.kettenis1-4/+4
2014-03-08Enable DMA bursting. Not sure it actually makes things faster, but bothkettenis4-23/+91
isp(4) and the linux qla1280 driver seem to do this.
2014-03-08Dumb xhci(4) implementation.mpi5-1/+2996
This driver does not handle isochronous endpoint (yet) and has no logical TD representation. Each transfer is linked to the raw TRB of its related endpoint. Most of the transfer error completion codes are not handled, even with all the cheese provided by miod@ I couldn't find a proper way to reset an endpoint asynchronously when a device babbles. Or maybe it was the wine? Anyway this will come soon. In general the endpoint configuration and reset code is really crude and requires some love, but our stack should be fixed to properly open only once the default pipe of every new USB device first. This means this driver wont work as it is, our stack needs other changes first. Suspend/resume works but ports are not suspended for the moment. But even with these problems, interrupt devices: ukbd(4), ums(4) and sensors like ugold(4) work properly and USB 3.0 umass(4) devices give me a reasonnable read/write speed. Timeouts to cancel USB transfers are not enabled *on purpose*, to be able to track down potential timing issues. I'm committing now so that others can help fixing my bugs (8 All this work has been done on an ExpressCard with a NEC xHCI 0.96, other implementations/versions might trigger more bugs :)
2014-03-08Recognize super speed devices, note that this driver sill usesmpi1-2/+4
non-superspeed hub descriptors. This is the minimal change I came with to be able to properly attach and use USB 3.0 devices attached to a xHCI root hub, uhub(4) clearly needs some love.
2014-03-08Attach to host controller drivers advertising USB 3.0 support and assignmpi1-5/+5
the correct speed. This has no effect for the moment since there is no such driver in our tree, but something tells me it might change soon.
2014-03-08Add various super speed defines, mostly the same as in FreeBSD tompi1-9/+26
keep similar userland exported API definitions.
2014-03-08Add defines for upcoming USB 3.0 support.mpi1-2/+3
2014-03-08Pass M_ZERO to malloc(9) when allocating usbd pipes to make sure tompi1-9/+4
initialize the per-controller part. ok deraadt@, kettenis@
2014-03-07Make sure a SCSI initiator ID provided by Open Firmware overrides the valuekettenis3-5/+17
read from nvram, just like we did for isp(4).
2014-03-07Reduce the number of ccbs by a factor three since we need up to three requestkettenis2-7/+11
entries per SCSI command.
2014-03-07Print the wrong device descriptor's bMaxPacketSize before correcting itmpi1-3/+3
for USB2 devices.
2014-03-07Indtroduce usbd_get_hub_descriptor() to start cleaning uhub(4)'s mess.mpi3-17/+29
This will help us deal with the different hub device descriptors used by super speed devices.
2014-03-07Use the revision number for coherency. No object change.mpi1-2/+2
2014-03-07Do not define per-driver DEBUG variable when USB_DEBUG is defined. It'smpi22-110/+26
really impossible to debug the USB stack when any single device you plug in your machine starts to vomit its own poetry,
2014-03-07Provide the appropriate default values for the SCSI initiaror ID on sgi andkettenis3-5/+39
sparc64.
2014-03-07Transfer descriptors already have a back pointer to the USB devicempi3-50/+40
descriptor they are linked to, so no need to dereference their pipe pointer. Simplify a lot of affectations, no functional change. ok pirofti@
2014-03-07We already have three identical copies of the *hci_str() function,mpi5-69/+34
so merge them into usbd_str() to not introduce other copies with the upcoming HC drivers.
2014-03-07Duplicate enum values are a bad idea.kettenis1-2/+2
2014-03-06Turn usbd_xfer_isread() into a public function so that we can usempi2-12/+11
it in various drivers, mainly HC, instead of always rerolling our own.
2014-03-06Add include guards.mpi2-2/+12
2014-03-06Makes the "cleartoggle" function provided by HC drivers optionalmpi1-4/+5
because upcoming xhci(4) driver won't use it.
2014-03-06Make sure we don't attach to those silly AMI MegaRAIDs that expose thekettenis1-1/+12
ISP12160 they're using as their underlying SCSI controller.
2014-03-06Set the correct clock rate for ISP1020/1020A.kettenis1-2/+5
2014-03-06Cleanup dead code.gerhard1-3/+1
ok mikeb@
2014-03-05force cfattach decl to same form as othersderaadt1-6/+3
2014-03-05Make this compile on sparc64 too.kettenis1-13/+1
2014-03-05Introduce qlw(4), a new driver for QLogic ISP SCSI HBAs. For now onlykettenis5-1/+2370
supports the PCI variants; SBUs support will follow. Works reasonably well now. Others are encouraged to test it.
2014-03-05Raise the delay before initializing sdmmc. Still a hack so the XXX stays,sthen1-2/+2
but at least lets the reader on X220 work pretty reliably, rather than about 1/4 of the time. ok stsp@
2014-02-25Wait for the RIRB DMA engine to come ready. Needed on the audio devicekettenis1-2/+12
integrated in the Vortex86EX SoC. Based on a diff by sasano@. ok tedu@
2014-02-25Abort and close all the interrupt pipes when detaching HID devices sincempi1-2/+11
drivers attaching to uhidev(4) do not always do it. Seems to fix one of the transfer aborting races triggering a lot of "ehci_idone: ..." vomit upon resume. Reported by and fix tested by Ville Valkonen, ok deraadt@
2014-02-25convert most printfs into DPRINTFs to cut down on dmesg spam, and addjmatthew1-76/+120
some missing format arguments pointed out by jsg@