From d9bd4e14591a8f3b752b27d7080b2cfcd09e59d0 Mon Sep 17 00:00:00 2001 From: downsj Date: Mon, 9 Sep 1996 06:17:29 +0000 Subject: [PATCH] Remove duplicated defines. --- sys/dev/isa/wdreg.h | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/sys/dev/isa/wdreg.h b/sys/dev/isa/wdreg.h index 07e54e39f35..2df0bd03a27 100644 --- a/sys/dev/isa/wdreg.h +++ b/sys/dev/isa/wdreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wdreg.h,v 1.3 1996/06/09 08:59:58 downsj Exp $ */ +/* $OpenBSD: wdreg.h,v 1.4 1996/09/09 06:17:29 downsj Exp $ */ /* $NetBSD: wdreg.h,v 1.13 1995/03/29 21:56:46 briggs Exp $ */ /*- @@ -143,29 +143,6 @@ #define PHASE_COMPLETED (WDCI_IN | WDCI_CMD) #define PHASE_ABORTED 0 -/* Commands for ATAPI devices */ -#define ATAPI_CHECK_POWER_MODE 0xe5 -#define ATAPI_EXEC_DRIVE_DIAGS 0x90 -#define ATAPI_IDLE_IMMEDIATE 0xe1 -#define ATAPI_NOP 0x00 -#define ATAPI_PACKET_COMMAND 0xa0 -#define ATAPI_IDENTIFY_DEVICE 0xa1 -#define ATAPI_SOFT_RESET 0x08 -#define ATAPI_SET_FEATURES 0xef -#define ATAPI_SLEEP 0xe6 -#define ATAPI_STANDBY_IMMEDIATE 0xe0 - -/* ireason */ -#define WDCI_CMD 0x01 /* command(1) or data(0) */ -#define WDCI_IN 0x02 /* transfer to(1) or from(0) the host */ -#define WDCI_RELEASE 0x04 /* bus released until completion */ - -#define PHASE_CMDOUT (WDCS_DRQ | WDCI_CMD) -#define PHASE_DATAIN (WDCS_DRQ | WDCI_IN) -#define PHASE_DATAOUT WDCS_DRQ -#define PHASE_COMPLETED (WDCI_IN | WDCI_CMD) -#define PHASE_ABORTED 0 - #ifdef _KERNEL /* -- 2.20.1