diff options
author | Jim Rees <rees@cvs.openbsd.org> | 1997-12-10 23:11:14 +0000 |
---|---|---|
committer | Jim Rees <rees@cvs.openbsd.org> | 1997-12-10 23:11:14 +0000 |
commit | a2cdc2102a8443c969adae11ffa0899c3dfa6a5a (patch) | |
tree | 253030a64ce10b77fd32583be0d518c8c1677047 /sys/dev/isa | |
parent | b45e0265381aa1590bbd51bf460b190e7ffad617 (diff) |
move error count to xfer struct
(see bug list in wdc.c change log)
Diffstat (limited to 'sys/dev/isa')
-rw-r--r-- | sys/dev/isa/wdlink.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/wdlink.h b/sys/dev/isa/wdlink.h index b25b67b2c99..a8ebb6aa495 100644 --- a/sys/dev/isa/wdlink.h +++ b/sys/dev/isa/wdlink.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wdlink.h,v 1.8 1997/07/06 18:10:19 niklas Exp $ */ +/* $OpenBSD: wdlink.h,v 1.9 1997/12/10 23:11:13 rees Exp $ */ /* * Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved. @@ -63,7 +63,6 @@ struct wdc_softc { #define WDCF_IRQ_WAIT 0x10 /* controller is waiting for irq */ #define WDCF_ONESLAVE 0x20 /* ctrl. has one ATAPI slave attached */ #define WDCF_BROKENPOLL 0x40 /* or, generally fucked up */ - int sc_errors; /* errors during current transfer */ u_char sc_status; /* copy of status register */ u_char sc_error; /* copy of error register */ }; @@ -129,6 +128,7 @@ struct wdc_xfer { int c_nblks; /* number of blocks currently transferring */ int c_nbytes; /* number of bytes currently transferring */ u_int32_t c_p_offset; /* offset of the partition */ + int c_errors; /* errors during current transfer */ TAILQ_ENTRY(wdc_xfer) c_xferchain; LIST_ENTRY(wdc_xfer) free_list; }; |