Commit 482ac593 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] s390: dasd driver fix

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

dasd driver changes:
 - Fix check for device type in error recovery for fba devices.
parent 2152527f
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Bugreports.to..: <Linux390@de.ibm.com> * Bugreports.to..: <Linux390@de.ibm.com>
* (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000 * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000
* *
* $Revision: 1.32 $ * $Revision: 1.33 $
*/ */
#include <linux/config.h> #include <linux/config.h>
...@@ -205,7 +205,7 @@ dasd_fba_examine_error(struct dasd_ccw_req * cqr, struct irb * irb) ...@@ -205,7 +205,7 @@ dasd_fba_examine_error(struct dasd_ccw_req * cqr, struct irb * irb)
return dasd_era_none; return dasd_era_none;
cdev = device->cdev; cdev = device->cdev;
switch (cdev->id.dev_model) { switch (cdev->id.dev_type) {
case 0x3370: case 0x3370:
return dasd_3370_erp_examine(cqr, irb); return dasd_3370_erp_examine(cqr, irb);
case 0x9336: case 0x9336:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment