
From: Martin Schwidefsky <schwidefsky@de.ibm.com>

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


---

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

diff -puN drivers/s390/block/dasd_fba.c~s390-4-12-dasd-driver-fix drivers/s390/block/dasd_fba.c
--- 25/drivers/s390/block/dasd_fba.c~s390-4-12-dasd-driver-fix	2004-04-08 13:55:05.725153816 -0700
+++ 25-akpm/drivers/s390/block/dasd_fba.c	2004-04-08 13:55:05.729153208 -0700
@@ -4,7 +4,7 @@
  * Bugreports.to..: <Linux390@de.ibm.com>
  * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000
  *
- * $Revision: 1.32 $
+ * $Revision: 1.33 $
  */
 
 #include <linux/config.h>
@@ -205,7 +205,7 @@ dasd_fba_examine_error(struct dasd_ccw_r
 		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:

_
