UASP: updates and merges
I've merged the latest master (dd9c154). The UASP driver saw the following update:
[USB] UASP: Unlock device after reset; EP updates
* Unlock the device after reset.
* Initialize urb->ep directly. struct uasp_tport_info already records the struct usb_host_endpoint which makes it easy to directly initialize urb->ep. This anticipates when drivers would have to initialize the ep in the urb directly as opposed to the USB core having to use pipes.
* Use the UAS pipe macros throughout the code for endpoint indexes.
The branch can be found here off of master:
https://github.com/ltuikov/linux-2.6
Original posting of the UASP driver can be found here:
http://marc.info/?l=linux-usb&m=129165511732388&w=2
Luben
Quoted 32 lines · Luben Tuikov
From: Luben Tuikov <ltuikov-/[email protected]>
Subject: UASP: updates and merges
To: [email protected], [email protected], [email protected], "Greg KH" <[email protected]>
Date: Thursday, January 13, 2011, 2:45 AM
The UASP driver allows you to connect
to UAS devices and use them
as SCSI devices.I've merged latest master (f87813) and resolved a conflict in
drivers/scsi/sd.cby adding back the truncation of the mode sense data.The UASP driver saw the following update:
[USB] UASP: factor out GFP flags and make
themGFP_ATOMIC
Factor out the GFP flags and make them
atomic:
1) The SCSI subsystem usesGFP_ATOMIC, e.g.
before
calling the host'sslave_alloccallback (at
the
time of this commit).
2) As we are a storage driver doing I/O, we
should
use the lowest denominator (highest
priority)
allocation, and of course we shouldn't sleep,
thus
useGFP_ATOMIC.
Quoted 9 lines
The branch can be found here (off of master):
https://github.com/ltuikov/linux-2.6Original posting of the UASP driver can be found here:
http://marc.info/?l=linux-usb&m=129165511732388&w=2Luben
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html