From d36d45fab122d199bf41453f2ebf35fcc376a353 Mon Sep 17 00:00:00 2001 From: Alexander Yurchenko Date: Thu, 16 Oct 2003 20:21:08 +0000 Subject: New flag to mark SATA drives --- sys/dev/ata/atavar.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev') diff --git a/sys/dev/ata/atavar.h b/sys/dev/ata/atavar.h index 506573d6631..63f9620f3b8 100644 --- a/sys/dev/ata/atavar.h +++ b/sys/dev/ata/atavar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: atavar.h,v 1.15 2003/10/16 20:03:40 grange Exp $ */ +/* $OpenBSD: atavar.h,v 1.16 2003/10/16 20:21:07 grange Exp $ */ /* $NetBSD: atavar.h,v 1.13 1999/03/10 13:11:43 bouyer Exp $ */ /* @@ -53,6 +53,7 @@ struct ata_drive_datas { #define DRIVE_DSCBA 0x0200 /* DSC in buffer availability mode */ #define DRIVE_DSCWAIT 0x0400 /* In wait for DSC to be asserted */ #define DRIVE_DEVICE_RESET 0x0800 /* Drive supports DEVICE RESET command */ +#define DRIVE_SATA 0x1000 /* SATA drive */ /* * Current setting of drive's PIO, DMA and UDMA modes. * Is initialised by the disks drivers at attach time, and may be -- cgit v1.2.3