• David Brownell's avatar
    [PATCH] ohci-hcd, driverfs files work again, less debug output · 43c72bb3
    David Brownell authored
    This fixes a problem from Chris' patch, letting the driverfs files
    work again.  The root cause was a duplicate "parent_dev" field,
    now gone.  This also adds minor cleanup in the hcd glue, renaming
    the value being duplicated as the "controller" that the HCD is
    driving.  (A "parent" should rarely be used, but the "controller"
    has reasonable uses all over the place ... like in dev_dbg calls!)
    It's initted by the PCI bus glue, or by the SA-1111 bus glue.
    
    Also makes some OHCI debug messages appear only when VERBOSE debug
    is (manually) enabled.  This was self-defense, otherwise running
    the link/unlink "usbtest" cases could fill up the log filesystem
    (with debug enabled).
    43c72bb3
ohci-pci.c 9.64 KB