• Pete Zaitcev's avatar
    [PATCH] USB: Patch for ub · d7624365
    Pete Zaitcev authored
    This is a relatively small changeset, to address small nagging problems.
    Andrew pointed me at the double registration specifically, so I had to do
    something about it. At least now Fabio's box won't collapse if he configures
    UB by mistake. Also, a few people complained that the help text was
    misleading.
    
    I have not done anything about the oops on disconnect which happens to
    Martin Schlemmer. It's next. After that I can get to Peter Jones' CD
    burning patch and doing resets.
    
    - Fix double kobject registration and eventual oops on unplug if a device
      is not cooperating.
    - Add a reference to usb-storage into the configuration help.
    - Just upping timeouts fixes my ZIP drive.
    - Max out the diag (trace) file size.
    - Set capacity to zero in case the media is absent. It works in 2.4.10-rc1.
      Either Al fixed the block layer, or the whole thing was a bug in ub.c
      (and sd.c) and a big misunderstanding.
    Signed-off-by: default avatarPete Zaitcev <zaitcev@redhat.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    d7624365
ub.c 52.6 KB