Re: [PATCH] USB: Add LVS Test device driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pratyush Anand <pratyush.anand@xxxxxx> writes:

> If that is not true, may be I can do what Bjørn Mork is suggesting.
> But that would require change in drivers/base/bus.c:driver_(un)bind.
>
> -- Add a new field manual_binding in struct device_driver.
> -- set this flag in drivers_bind before calling driver_probe_device.
> -- reset this flag if driver_probe_device returns error.
> -- reset this flag in driver_unbind.
> -- return error from lvs_rh_probe if manual_binding is not true.
>
> Please let me know if there could be a better way to do it.

FWIW, after looking at what would be involved, I don't really think this
was a good idea.  I often ventilate ideas without thinking them over
first...


Bjørn
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux