Add definitions for the ATA power management commands

This commit is contained in:
kenh 1998-11-05 22:49:09 +00:00
parent bda913305b
commit e58cf6b359
1 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: wdcreg.h,v 1.18 1998/10/12 16:09:18 bouyer Exp $ */
/* $NetBSD: wdcreg.h,v 1.19 1998/11/05 22:49:09 kenh Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@ -121,6 +121,12 @@
#define WDCC_IDENTIFY 0xec /* read parameters from controller */
#define SET_FEATURES 0xef /* set features */
#define WDCC_IDLE 0xe3 /* set idle timer & enter idle mode */
#define WDCC_IDLE_IMMED 0xe1 /* enter idle mode */
#define WDCC_SLEEP 0xe6 /* enter sleep mode */
#define WDCC_STANDBY 0xe2 /* set standby timer & enter standby mode */
#define WDCC_STANDBY_IMMED 0xe0 /* enter standby mode */
/* Subcommands for SET_FEATURES (features register ) */
#define WDSF_EN_WR_CACHE 0x02
#define WDSF_SET_MODE 0x03