Subject: Re: USB stack needs early review (Re: Someone should fix our USB stack...)
To: None <tech-kern@netbsd.org>
From: ITOH Yasufumi <itohy@netbsd.org>
List: tech-kern
Date: 05/23/2007 00:33:04
Hello,
I put the code in a CVS branch "itohy-usb1".
Please test and debug.
I don't have many USB devices and I need your help.
(I only have some umass(4), a modem device ukyopon(4), and ukbd(4)/ums(4).)
To check out the kernel source tree,
1. check out checkout script
cvs checkout -ritohy-usb1 src/sys/dev/usb/filelist
2. update files in the branch
sh -e src/sys/dev/usb/filelist
Recent changes:
ehci: done simple test
ehci/ohci/uhci: fix power hook (untested)
slhci: do not pass zero length to bus_space_*_multi_1() on
mbuf(9) transfer (untested)
slhci: add pcmcia frontend (untested)
API change: these functions will not fail without programming errors
-usbd_status usbd_map_buffer(usbd_xfer_handle xfer, void *buf, u_int32_t size)
-usbd_status usbd_map_buffer_mbuf(usbd_xfer_handle xfer, struct mbuf *chain)
+void usbd_map_buffer(usbd_xfer_handle xfer, void *buf, u_int32_t size)
+void usbd_map_buffer_mbuf(usbd_xfer_handle xfer, struct mbuf *chain)
needed for slhci.
+void usb_buffer_mem_rewind(struct usb_buffer_mem *ub)
Regards,
--
ITOH Yasufumi