1. Fixed potential problem that would cause out-of-order requests in twe_startio.
2. Changed version. Submitted by: scottl Reviewed by: vkashyap Approved by: re
This commit is contained in:
parent
6f186a7411
commit
9e7102b84f
@ -396,13 +396,13 @@ twe_startio(struct twe_softc *sc)
|
||||
/* build a command from an outstanding bio */
|
||||
if (tr == NULL) {
|
||||
|
||||
/* see if there's work to be done */
|
||||
if ((bp = twe_dequeue_bio(sc)) == NULL)
|
||||
/* get a command to handle the bio with */
|
||||
if (twe_get_request(sc, &tr))
|
||||
break;
|
||||
|
||||
/* get a command to handle the bio with */
|
||||
if (twe_get_request(sc, &tr)) {
|
||||
twe_enqueue_bio(sc, bp); /* failed, put the bio back */
|
||||
/* see if there's work to be done */
|
||||
if ((bp = twe_dequeue_bio(sc)) == NULL) {
|
||||
twe_release_request(tr);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -100,7 +100,7 @@
|
||||
|
||||
/* PCI related defines */
|
||||
#define TWE_IO_CONFIG_REG 0x10
|
||||
#define TWE_DEVICE_NAME "3ware 7000 series Storage Controller"
|
||||
#define TWE_DEVICE_NAME "3ware Storage Controller"
|
||||
#define TWE_VENDOR_ID 0x13C1
|
||||
#define TWE_DEVICE_ID 0x1000
|
||||
#define TWE_DEVICE_ID_ASIC 0x1001
|
||||
|
@ -27,11 +27,7 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
/*
|
||||
* The scheme for the driver version is:
|
||||
* <major change>.<external release>.<3ware internal release>.<development release>
|
||||
*/
|
||||
#define TWE_DRIVER_VERSION_STRING "1.50.01.000"
|
||||
#define TWE_DRIVER_VERSION_STRING "1.50.01.001"
|
||||
|
||||
#ifdef TWE_DEBUG
|
||||
#define debug(level, fmt, args...) \
|
||||
|
Loading…
Reference in New Issue
Block a user