| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
Null the pointer after freeing the memory.
PR: 27370
Submitted by: Alec Barea <alec@barea.org>
MFC after: 5 days
Notes:
svn path=/head/; revision=79024
|
| |
|
|
|
|
|
| |
versions.
Notes:
svn path=/head/; revision=63319
|
| |
|
|
| |
Notes:
svn path=/head/; revision=60545
|
| |
|
|
|
|
|
|
|
| |
#define Static static
that the OpenBSD folks can define it to be empty if they like.
Notes:
svn path=/head/; revision=58986
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- more req[uest]->xfer changes.
- get the corresponding NetBSD Id's right
ohci.c
- move untimeout above print statement
- remove usb_delay that panics the system (tsleep in intr context) when
ohcidebug > 5.
ugen.c
- create the devices for endpoints with make_dev.
uhub.c
- change from using usbdebug to uhubdebug
- add more debugging statements
Notes:
svn path=/head/; revision=53853
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cleaning up the code:
- Declare many functions static
- Change variable names to make them more self explanatory
- Change usbd_request_handle -> usbd_xfer_handle
- Syntactical changes
- Remove some unused code
- Other KNF changes
Interrupt context handling
- Change delay to usbd_delay_ms were possible (takes polling mode into
account)
- Change detection mechanism for interrupt context
Add support for pre-allocation DMA-able memory by device driver
Add preliminary support for isochronous to the UHCI driver (not for OHCI
yet).
usb.c, uhci.c, ohci.c
- Initial attempt at detachable USB host controllers
- Handle the use_polling flag with a lttle more care and only set it if
we are cold booting.
usb.c, uhci.c ohci.c, usbdi.c usbdi_util.c usb_subr.c
- Make sure an aborted pipe is marked as not running.
- Start queued request in the right order.
- Insert some more DIAGNOSTIC sanity checks.
- Remove (almost) unused definitions USBD_XFER_OUT and USBD_XFER_IN.
usb.c, usb_subr.c
- Add an event mechanism so that a userland process can watch devices
come and go.
ohci.c
- Handle the case when a USB transfer is so long that it crosses two
page (4K) boundaries. OHCI cannot do that with a single TD so we make
a chain.
ulpt.c
- Use a bigger buffer when transferring data.
- Pre-allocate the DMA buffer. This makes the driver slightly more
efficient.
- Comment out the GET_DEVICE_ID code, because for some unknown reason it
causes printing to fail sometimes.
usb.h
- Add a macro to extract the isoc type.
- Add a macro to check whether the routine has been entered after splusb
and if not, complain.
usbdi.c
- Fix a glitch in dequeueing and aborting requests on interrupt pipes.
- Add a flag in the request to determine if the data copying is done by
the driver or the usbdi layer.
Notes:
svn path=/head/; revision=53313
|
| |
|
|
|
|
|
| |
Pushed-By: phk
Notes:
svn path=/head/; revision=53027
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Some cleanup and improvements in the uhci and ohci drivers
- Support for plugging and unplugging devices improved
- Now available is bulk transport over OHCI controllers
- Resume and suspend have been temporarily been disabled again. Proper
support for it is available in the uhci.c and ohci.c files but I have
not yet spent the brain cycles to use it.
- OpenBSD now uses the USB stack as well
- Add FreeBSD tags
Notes:
svn path=/head/; revision=51991
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50560
|
| |
|
|
|
|
|
|
| |
Reviewed by: Hick Hibma
Obtained from: NetBSD
Notes:
svn path=/head/; revision=50536
|
| |
|
|
| |
Notes:
svn path=/head/; revision=46380
|
| |
|
|
|
|
|
|
|
|
| |
2) create function usbd_errstr which turns a usbd_status into a sensible
error message
3) Change the printf in DPRINTF to logprintf which is a define for
log(KERN_DEBUG, x)
Notes:
svn path=/head/; revision=45604
|
| |
|
|
| |
Notes:
svn path=/head/; revision=43025
|
| |
|
|
| |
Notes:
svn path=/head/; revision=42490
|
| |
|
|
| |
Notes:
svn path=/head/; revision=42384
|
| |
|
|
| |
Notes:
svn path=/head/; revision=41783
|
| |
|
|
|
|
|
|
| |
1 bug fix and several textual changes.
Preparing to feed back changes for port into NetBSD to create one source base.
Notes:
svn path=/head/; revision=41736
|
|
|
Notes:
svn path=/head/; revision=41366
|