Andrew Thompson
684e3f2245
MFp4 //depot/projects/usb@159700
...
Get rid of the last CALLOUT_RETURNUNLOCKED reference.
Submitted by: Hans Petter Selasky
2009-04-05 18:18:47 +00:00
Andrew Thompson
eb846b4eb5
MFp4 //depot/projects/usb@159674
...
Fix more corner cases around reception of SETUP packets.
Submitted by: Hans Petter Selasky
2009-04-05 18:18:25 +00:00
Andrew Thompson
f3464815ee
MFp4 //depot/projects/usb@159673
...
Fix a corner case around stalling SETUP packets in device side mode.
Submitted by: Hans Petter Selasky
2009-04-05 18:18:16 +00:00
Andrew Thompson
df075012e8
MFp4 //depot/projects/usb@159671
...
Fix interrupt register setting on the atmegadci controller.
Submitted by: Hans Petter Selasky
2009-04-05 18:18:07 +00:00
Andrew Thompson
626fc9fe3d
Add a how argument to root_mount_hold() so it can be passed NOWAIT and be called
...
in situations where sleeping isnt allowed.
2009-04-03 19:46:12 +00:00
Andrew Thompson
b3e9a2aaac
The buffer start and end phys addresses should be 0x0 for an OHCI zero length
...
packet, this fixes LS/FS devices on the Gateworks 2348 XScale board.
Reviewed by: HPS
2009-03-27 16:56:01 +00:00
Andrew Thompson
0f7d454847
MFp4 //depot/projects/usb @159479,159502,159516,159522,159529
...
Workaround for buggy USB hardware not handling new SETUP packet before STATUS
stage is complete, this allows xfers to endpoint0 to return a short frame.
Submitted by: Hans Petter Selasky
Reported by: me
2009-03-20 21:57:54 +00:00
Andrew Thompson
578d0eff90
MFp4 //depot/projects/usb @159431,159437,159438
...
- start using the new USB typedefs in the USB core
- Remove usage of USB_ADD_BYTES()
Submitted by: Hans Petter Selasky
2009-03-20 21:50:54 +00:00
Andrew Thompson
bdc081c60f
MFp4 //depot/projects/usb@159392
...
Add ifdefs for making parts of usb conditional.
Submitted by: Hans Petter Selasky
2009-03-20 21:48:11 +00:00
Andrew Thompson
ab42e8b2df
MFp4 //depot/projects/usb @159430
...
- Move tunable defines into usb_core.h and dependancy towards usb_defs.h
- Leave hardcoded defines in "usb_defs.h".
- Allow overriding all tunable defines.
- Add more customisable typedefs.
- Correct maximum device number.
Submitted by: Hans Petter Selasky
2009-03-20 19:04:31 +00:00
Andrew Thompson
d59dbd0a3d
MFp4 //depot/projects/usb 158981,159016,159024
...
Sync support for ATMEGA DCI parts.
Submitted by: Hans Petter Selasky
2009-03-11 04:58:21 +00:00
Andrew Thompson
1be5bf51d3
Fix a possible NULL pointer access at controller attach.
...
Submitted by: Hans Petter Selasky
2009-03-11 04:56:30 +00:00
Andrew Thompson
07bf38d7cf
Fix musb_otg.h include filename.
...
Submitted by: Hans Petter Selasky
2009-03-09 20:05:46 +00:00
Warner Losh
155a83e87a
remove now-redunant cardbus attachment.
2009-03-09 13:23:54 +00:00
Andrew Thompson
e55e1ebc35
(re)merge r186415,186416 from the old usb stack;
...
o add Transaction Translator support (still missing ISOC xfers)
o add EHCI_SCFLG_BIGEMMIO flag to force big-endian byte-select to be
set in USBMODE
o split reset work into new public routine ehci_reset so bus shim drivers
can force big-endian byte-select before ehci_init
o enable TT and big-endian MMIO
o force a reset before ehci_init to get byte-select setup
Also go back to using USB_EHCI_BIG_ENDIAN_DESC at compile time to enable the
byteswapping and reduce diffs to the original commits.
This fixes the new USB stack on the Cambria board.
2009-03-07 19:49:47 +00:00
Andrew Thompson
5f1286689c
Fix some missed htole32 conversions to htoehci32.
...
Reviewed by: hps
2009-03-07 18:08:59 +00:00
Andrew Thompson
d1864afbac
MFp4 //depot/projects/usb@158692
...
Workaround a EHCI performance problem by issuing a doorbell after queueing a
bulk xfer.
Submitted by: Hans Petter Selasky
2009-03-06 17:13:12 +00:00
Ed Schouten
5d38a4d4f7
Also use proper capitalisation of FreeBSD in other source files.
...
Approved by: thompsa
2009-02-24 17:15:29 +00:00
Andrew Thompson
4a35cda731
MFp4 //depot/projects/usb@157853
...
Clean up old way of polling the USB hardware. The existing polling support was
a bit hackish.
Submitted by: Hans Petter Selasky
2009-02-24 03:39:13 +00:00
Andrew Thompson
02ac645488
Move the new USB stack into its new home.
2009-02-23 18:31:00 +00:00