On Sun, Mar 04, 2001 at 11:14:14AM -0800, Matthew Dharm wrote:
> We're definately getting closer here...

I think I might be even closer with this patch.  I've progressed from
13k down to 2k.  This is a great lesson on how kernel hacking is easier
than it seems.

> For now, I'd rather have a patch which uses a "standard" 8 byte header on
> the INQUIRY data, and then when we find a device which needs a fake inquiry
> response which isn't a direct-access device, we can look at what actually
> needs to be changed and change it appropriately.  Right now, we're trying
> to solve a problem we may not even have.

You're right.  I don't think there are going to be many USB-storage
devices that aren't direct-access and broken.  I moved the 8 byte header
into usb.c in the block that handles this case.  There isn't any added
bloat to struct us_unusual_dev.

> Tho I definately like the way to intercept the command and use the flag
> now.

:)

I noticed one thing while jumping around the code.  There is a comment
that talks about US_FL_DUMMY_INQUIRY, but the flag is never implemented.  
I wonder what was going on when the comment was added.

Nate

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to