public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] usb/ub: deprecate & schedule for removal the "Low Performance USB Block" driver
Date: Thu, 15 Mar 2012 18:57:01 +0100	[thread overview]
Message-ID: <20120315175701.GA5702@breakpoint.cc> (raw)
In-Reply-To: <20120315093331.6472333e@lembas.zaitcev.lan>

On Thu, Mar 15, 2012 at 09:33:31AM -0600, Pete Zaitcev wrote:
> On Wed, 14 Mar 2012 21:52:51 +0100
> Sebastian Andrzej Siewior <sebastian@breakpoint.cc> wrote:
> 
> > +What:	Low Performance USB Block driver ("CONFIG_BLK_DEV_UB")
> > +When:	3.6
> 
> ACK
> 
> > +	does not use libusual which holds various workarounds for
> > +	certain buggy devices.
> 
> Although the above is false, and ub actually started libusual,
> I don't mind. It's a transient notice anyway. Once ub is gone,
> libusual can be folded back into usb-storage.

There might be an miss understanding here. For instance in
drivers/usb/storage/unusual_devs.h we have an entry like:

|UNUSUAL_DEV(  0x03f0, 0x4002, 0x0001, 0x0001,
|                 "HP",
|                 "PhotoSmart R707",
|                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),
|

That US_FL_FIX_CAPACITY is used later in scsiglue.c to set sdev->fix_capacity
which is then used by sd_read_capacity() to substract one sector from the
final size.
In ub I see ub_sync_read_cap() and I don't see a change. Was my wording wrong
or is this something else?

> -- Pete

Sebastian

  parent reply	other threads:[~2012-03-15 17:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-14 20:52 [PATCH] usb/ub: deprecate & schedule for removal the "Low Performance USB Block" driver Sebastian Andrzej Siewior
2012-03-14 21:07 ` Greg Kroah-Hartman
2012-03-15 15:33 ` Pete Zaitcev
2012-03-15 15:37   ` Greg Kroah-Hartman
2012-03-15 18:10     ` Sebastian Andrzej Siewior
2012-03-15 18:56       ` Greg Kroah-Hartman
2012-03-15 21:02         ` Sebastian Andrzej Siewior
2012-03-15 20:59     ` [PATCH v2] " Sebastian Andrzej Siewior
2012-03-15 21:43       ` Pete Zaitcev
2012-03-15 17:57   ` Sebastian Andrzej Siewior [this message]
2012-03-15 20:03     ` [PATCH] " Alan Stern
2012-03-15 20:05       ` Sebastian Andrzej Siewior
2012-03-16  2:02         ` Alan Stern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120315175701.GA5702@breakpoint.cc \
    --to=sebastian@breakpoint.cc \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=zaitcev@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox