2004-04-08 14:30:21

by Martin Schwidefsky

[permalink] [raw]
Subject: [PATCH] s390 (4/12): dasd driver fix.

dasd driver changes:
- Fix check for device type in error recovery for fba devices.

diffstat:
drivers/s390/block/dasd_fba.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff -urN linux-2.6/drivers/s390/block/dasd_fba.c linux-2.6-s390/drivers/s390/block/dasd_fba.c
--- linux-2.6/drivers/s390/block/dasd_fba.c Sun Apr 4 05:37:36 2004
+++ linux-2.6-s390/drivers/s390/block/dasd_fba.c Thu Apr 8 15:21:25 2004
@@ -4,7 +4,7 @@
* Bugreports.to..: <[email protected]>
* (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000
*
- * $Revision: 1.32 $
+ * $Revision: 1.33 $
*/

#include <linux/config.h>
@@ -205,7 +205,7 @@
return dasd_era_none;

cdev = device->cdev;
- switch (cdev->id.dev_model) {
+ switch (cdev->id.dev_type) {
case 0x3370:
return dasd_3370_erp_examine(cqr, irb);
case 0x9336: