diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-07-09 20:10:41 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-07-09 20:10:41 +0000 |
commit | a2823ff75bf00100cdc94114aea8cc7070da3d35 (patch) | |
tree | d8fd1301ce844f466dfe2625872f253b58c71047 /sys | |
parent | 4a3c0cd4a4b401ded2b70eb26ebb7223850de705 (diff) |
ch_flags should be ch_status
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ata/ata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/ata.c b/sys/dev/ata/ata.c index 5a235e9102b..8975a858823 100644 --- a/sys/dev/ata/ata.c +++ b/sys/dev/ata/ata.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ata.c,v 1.10 2001/03/25 13:11:55 csapuntz Exp $ */ +/* $OpenBSD: ata.c,v 1.11 2001/07/09 20:10:40 csapuntz Exp $ */ /* $NetBSD: ata.c,v 1.9 1999/04/15 09:41:09 bouyer Exp $ */ /* * Copyright (c) 1998 Manuel Bouyer. All rights reserved. @@ -115,7 +115,7 @@ ata_get_params(drvp, flags, prms) it is sent a command */ if (try == 0 && (drvp->drive_flags & DRIVE_ATA) && (wdc_c.flags & AT_TIMEOU) && - !(chp->ch_flags & WDCS_BSY)) { + !(chp->ch_status & WDCS_BSY)) { WDCDEBUG_PRINT(("Retrying IDENTIFY\n"), DEBUG_PROBE); try++; goto again; |