OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [drivers/] [s390/] [block/] [dasd_9343_erp.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/*
2
 * File...........: linux/drivers/s390/block/dasd_9345_erp.h
3
 * Author(s)......: Holger Smolinski <Holger.Smolinski@de.ibm.com>
4
 * Bugreports.to..: <Linux390@de.ibm.com>
5
 * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 2000
6
 */
7
 
8
#include <asm/ccwcache.h>
9
#include "dasd_int.h"
10
 
11
#ifdef PRINTK_HEADER
12
#undef PRINTK_HEADER
13
#define PRINTK_HEADER "dasd_erp(9343)"
14
#endif                          /* PRINTK_HEADER */
15
 
16
dasd_era_t dasd_9343_erp_examine (ccw_req_t * cqr, devstat_t * stat)
17
{
18
        if (stat->cstat == 0x00 &&
19
            stat->dstat == (DEV_STAT_CHN_END | DEV_STAT_DEV_END))
20
                    return dasd_era_none;
21
        return dasd_era_recover;
22
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.