On 08/12/14 10:42, Takahiro HAYASHI wrote:
On 08/12/14 07:45, Takahiro HAYASHI wrote:Please send diff :)Wait for a while plz.lessprf.diff replaces most of device_printf. I define new macros DPRINTD and DPRINTDF. former prints args with device_xname(sc->sc_dev), latter prints args with device name and function name.
Can you check that this compiles with all the combinations of USB_DEBUG, XHCI_DEBUG and DIAGNOSTIC please?
I committed most of this apart from the memset as I don't think it's required.I'll dump my local misc patches too. usb3.diff tries to make usb stack recognize super speed and make usbdevs(8) print super speed. This patch also adds XHCI_DEBUG flag to opt_usb.h.
lockmore.diff adds lock with sc_intr_lock to xhci_intr and xhci_poll.
committed
lsmps.diff makes use 8 as wMaxPacketSize for LS when addressing device. http://mail-index.netbsd.org/source-changes/2013/03/20/msg042367.html
Committed.
Thanks,
Nick