From c10f6edafc014e0fd830997fa9fddb3581c12678 Mon Sep 17 00:00:00 2001 From: bouyer Date: Fri, 4 Dec 1998 11:17:54 +0000 Subject: [PATCH] AT_ERROR should be different from AT_TIMEOUT. pointed out by Matthias Drochner. --- sys/dev/ata/atavar.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/ata/atavar.h b/sys/dev/ata/atavar.h index fe2fc4b23df7..40d2297ab812 100644 --- a/sys/dev/ata/atavar.h +++ b/sys/dev/ata/atavar.h @@ -1,4 +1,4 @@ -/* $NetBSD: atavar.h,v 1.7 1998/12/02 10:52:24 bouyer Exp $ */ +/* $NetBSD: atavar.h,v 1.8 1998/12/04 11:17:54 bouyer Exp $ */ /* * Copyright (c) 1998 Manuel Bouyer. @@ -123,9 +123,9 @@ struct wdc_command { #define AT_POLL 0x0010 /* poll for command completion (no interrupts) */ #define AT_DONE 0x0020 /* command is done */ #define AT_ERROR 0x0040 /* command is done with error */ -#define AT_TIMEOU 0x0040 /* command timed out */ -#define AT_DF 0x0080 /* Drive fault */ -#define AT_READREG 0x0100 /* Read registers on completion */ +#define AT_TIMEOU 0x0080 /* command timed out */ +#define AT_DF 0x0100 /* Drive fault */ +#define AT_READREG 0x0200 /* Read registers on completion */ int timeout; /* timeout (in ms) */ void *data; /* Data buffer address */ int bcount; /* number of bytes to transfer */