On Mon, 2003-09-22 at 13:55, [EMAIL PROTECTED] wrote:
>         if (sdkp->media_present) {
>                 sd_read_capacity(sdkp, disk->disk_name, sreq, buffer);
>                 if (sdp->removable)
>                         sd_read_write_protect_flag(sdkp, disk->disk_name,
>                                         sreq, buffer);
>                 sd_read_cache_type(sdkp, disk->disk_name, sreq, buffer);
>         }
> 
> and I suppose we could skip sd_read_cache_type() in the
> hot-pluggable case - a flag that USB storage could set.

what about just having a conservative mode for sd?  This could still
internally be a set of flags, just one single way of clearing them all
from slave configure.  For the most conservative setting, we could
probably dump spin up, read write protect, and read cache type.

James



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to