Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-03-08 | Enable qlw(4) on alpha/amd64/i386/macppc/sgi/sparc64 to force people to test. | Mark Kettenis | |
2014-03-08 | A bit of spring cleaning. | Mark Kettenis | |
2014-03-08 | Enable tagged queueing. | Mark Kettenis | |
2014-03-08 | Check the appropriate struct member for the various SDEV_* quirks. | Mark Kettenis | |
2014-03-08 | Enable DMA bursting. Not sure it actually makes things faster, but both | Mark Kettenis | |
isp(4) and the linux qla1280 driver seem to do this. | |||
2014-03-08 | Dumb xhci(4) implementation. | Martin Pieuchot | |
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-08 | Recognize super speed devices, note that this driver sill uses | Martin Pieuchot | |
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-08 | Attach to host controller drivers advertising USB 3.0 support and assign | Martin Pieuchot | |
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-08 | Add various super speed defines, mostly the same as in FreeBSD to | Martin Pieuchot | |
keep similar userland exported API definitions. | |||
2014-03-08 | Add defines for upcoming USB 3.0 support. | Martin Pieuchot | |
2014-03-08 | Pass M_ZERO to malloc(9) when allocating usbd pipes to make sure to | Martin Pieuchot | |
initialize the per-controller part. ok deraadt@, kettenis@ | |||
2014-03-07 | Make sure a SCSI initiator ID provided by Open Firmware overrides the value | Mark Kettenis | |
read from nvram, just like we did for isp(4). | |||
2014-03-07 | Reduce the number of ccbs by a factor three since we need up to three request | Mark Kettenis | |
entries per SCSI command. | |||
2014-03-07 | Print the wrong device descriptor's bMaxPacketSize before correcting it | Martin Pieuchot | |
for USB2 devices. | |||
2014-03-07 | Indtroduce usbd_get_hub_descriptor() to start cleaning uhub(4)'s mess. | Martin Pieuchot | |
This will help us deal with the different hub device descriptors used by super speed devices. | |||
2014-03-07 | Use the revision number for coherency. No object change. | Martin Pieuchot | |
2014-03-07 | Do not define per-driver DEBUG variable when USB_DEBUG is defined. It's | Martin Pieuchot | |
really impossible to debug the USB stack when any single device you plug in your machine starts to vomit its own poetry, | |||
2014-03-07 | We already assume global mappings (PG_G) are supported, so pmap_pg_g is | Philip Guenther | |
unnecessary ok krw@ kettenis@ | |||
2014-03-07 | Provide the appropriate default values for the SCSI initiaror ID on sgi and | Mark Kettenis | |
sparc64. | |||
2014-03-07 | Transfer descriptors already have a back pointer to the USB device | Martin Pieuchot | |
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-07 | We already have three identical copies of the *hci_str() function, | Martin Pieuchot | |
so merge them into usbd_str() to not introduce other copies with the upcoming HC drivers. | |||
2014-03-07 | Remove superfluous 'return'. | Gerhard Roth | |
ok deraadt@ | |||
2014-03-07 | Duplicate enum values are a bad idea. | Mark Kettenis | |
2014-03-06 | Turn usbd_xfer_isread() into a public function so that we can use | Martin Pieuchot | |
it in various drivers, mainly HC, instead of always rerolling our own. | |||
2014-03-06 | Add include guards. | Martin Pieuchot | |
2014-03-06 | Makes the "cleartoggle" function provided by HC drivers optional | Martin Pieuchot | |
because upcoming xhci(4) driver won't use it. | |||
2014-03-06 | Make sure we don't attach to those silly AMI MegaRAIDs that expose the | Mark Kettenis | |
ISP12160 they're using as their underlying SCSI controller. | |||
2014-03-06 | Set the correct clock rate for ISP1020/1020A. | Mark Kettenis | |
2014-03-06 | Cleanup dead code. | Gerhard Roth | |
ok mikeb@ | |||
2014-03-05 | force cfattach decl to same form as others | Theo de Raadt | |
2014-03-05 | Make this compile on sparc64 too. | Mark Kettenis | |
2014-03-05 | Introduce qlw(4), a new driver for QLogic ISP SCSI HBAs. For now only | Mark Kettenis | |
supports the PCI variants; SBUs support will follow. Works reasonably well now. Others are encouraged to test it. | |||
2014-03-05 | Raise the delay before initializing sdmmc. Still a hack so the XXX stays, | Stuart Henderson | |
but at least lets the reader on X220 work pretty reliably, rather than about 1/4 of the time. ok stsp@ | |||
2014-03-05 | Remove TIMEZONE and DST options from GENERIC-* kernels. | Miod Vallat | |
Remove APERTURE, DDB_SAFE_CONSOLE and *_DEBUG from RAMDISK-* kernels. Add option USBVERBOSE to all kernels. | |||
2014-03-05 | re-enable POOL_DEBUG | Chris Cappuccio | |
2014-03-05 | We are now 5.5-current | Chris Cappuccio | |
2014-02-28 | guenther's addition of filechk didn't take into account the different | Marc Espie | |
structure of tmpfs_write. rewrite the opening tests to conform more to ffs's code, so that overrun is not used unitialized. Patch by kettenis@ (on the road) deraadt@ "do it right away" | |||
2014-02-25 | Do not actually write to the area spanned by the PT_OPENBSD_RANDOMIZE if | Miod Vallat | |
LOAD_DATA is not set in flags; allows a two-pass kernel load using COUNT_KERNEL and then LOAD_KERNEL to work; similar to sparc loadfile_sparc.c 1.3. | |||
2014-02-25 | /etc/random.seed support (unless booting from tape). Crank version. | Miod Vallat | |
2014-02-25 | Put edata after the .openbsd.randomdata phdr, to prevent the former's contents | Miod Vallat | |
from being bzeroed when locore bzeros what it thinks is the bss. | |||
2014-02-25 | Wait for the RIRB DMA engine to come ready. Needed on the audio device | Mark Kettenis | |
integrated in the Vortex86EX SoC. Based on a diff by sasano@. ok tedu@ | |||
2014-02-25 | Check for offset wraparound and enforce RLIMIT_FSIZE. | Philip Guenther | |
problem reported by brad@ ok kettenis@ millert@ | |||
2014-02-25 | Abort and close all the interrupt pipes when detaching HID devices since | Martin Pieuchot | |
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-25 | convert most printfs into DPRINTFs to cut down on dmesg spam, and add | Jonathan Matthew | |
some missing format arguments pointed out by jsg@ | |||
2014-02-25 | match on Atom C2000 | Jonathan Gray | |
ok deraadt@ | |||
2014-02-25 | regen | Jonathan Gray | |
2014-02-25 | add Atom C2000 devices and a few others | Jonathan Gray | |
ok deraadt@ | |||
2014-02-25 | Some broken BIOSen don't assign an address to the ROM BAR. Fix this up, as we | Mark Kettenis | |
typically need to be able to map the ROM to get connector information and/or to POST the card. ok deraadt@ | |||
2014-02-24 | Reduce dmesg spam. Apologies to stsp@ for rejecting his larger diff that | Mark Kettenis | |
contained this bit. ok deraadt@ | |||
2014-02-24 | /etc/random.seed support in da bootblockz. | Miod Vallat | |