augustss
0f99933822
Use the right type for the size argument when calling usbd_bulk_transfer().
1999-08-19 19:57:21 +00:00
augustss
3016e1ebe0
Make some small changes to make it compile on OpenBSD.
1999-08-17 16:06:20 +00:00
augustss
b8b1e35ece
Some changes from FreeBSD (no functional differences).
1999-08-14 14:49:31 +00:00
augustss
094852eb36
Change it so that a pipe can be open RW instead of just R or W.
...
This makes close() work properly, but it is still not ideal. Perhaps
there should be different device nodes for input and output on to
and endpoint with the same number?
Pay attention to the SHORT_XFER_OK ioctl().
1999-08-02 19:32:56 +00:00
augustss
b177c7a397
Totally redo the way device detach is done. It now uses a kernel event
...
thread and the config detach method.
Squish a number of space leaks on detach.
1999-06-30 06:44:22 +00:00
augustss
875aa92d2c
Various little fixes from the FreeBSD version.
1999-01-08 11:58:25 +00:00
augustss
07b2b872de
Fix some pastos.
1999-01-07 02:22:20 +00:00
augustss
6d990bf7f3
Add an ugly workaround for a bug (feature) in the NetBSD open()/close()
...
protocol.
1999-01-03 01:03:22 +00:00
augustss
c1edefd961
Fix bug in reading from interrupt pipe.
...
Make read and write on bulk pipes interruptible.
1999-01-01 15:31:24 +00:00
augustss
5aa16bd113
Don't set configuration unnecessarily, some (broken) devices seem to break
...
if you do.
1998-12-29 15:33:10 +00:00
augustss
3064141641
Make it possible to specify the request flags when issuing a raw USB request.
1998-12-29 03:13:10 +00:00
augustss
e0c228ae9c
Merge changes to make the USB stack work with FreeBSD. The original
...
diffs from Nick Hibma <n_hibma@freebsd.org>, but with substantial
changes from me.
XXX Not tested on FreeBSD yet.
1998-12-26 12:53:00 +00:00
augustss
ef6d3553ea
Move initialization of sce around.
1998-12-12 11:59:28 +00:00
augustss
46e04a18a1
Take care of some lines > 80 chars.
1998-12-10 23:16:47 +00:00
augustss
f8b9a417f0
Improvement to the ugen driver.
...
Better error checking.
Some code rearrengment.
1998-12-09 00:18:10 +00:00
augustss
d26c277522
Add a generic USB driver. It allows easy access to descriptors, the
...
control pipe via ioctl() and read() and write() access to bulk and
interrupt pipes.
1998-12-08 15:39:00 +00:00