Re: usbmon, usb core, ARM

From: David Brownell
Date: Wed Jan 19 2005 - 12:09:57 EST


On Wednesday 19 January 2005 7:42 am, Pete Zaitcev wrote:
> Relying on pipe makes
> tests dependant on URB only. No references to bus or HCD, therefore no
> extra refcounts or worries about oopses. Also, HC drivers zero out the
> urb->dev in giveback sequence which is a royal pain when trying to identify
> a root hub.

That was a 2.4-ism, it should now be gone. So an inlined function to
test whether urb->dev is the root hub should suffice; I know there's
code that does that already.

- Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/