Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ata unbreak the build, someone forgot to commit more...



details:   https://anonhg.NetBSD.org/src/rev/67844e55126a
branches:  trunk
changeset: 998033:67844e55126a
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Apr 05 20:44:09 2019 +0000

description:
unbreak the build, someone forgot to commit more stuff :-)

diffstat:

 sys/dev/ata/atavar.h |  31 ++++++++++++++++---------------
 1 files changed, 16 insertions(+), 15 deletions(-)

diffs (45 lines):

diff -r c2f7977c67f5 -r 67844e55126a sys/dev/ata/atavar.h
--- a/sys/dev/ata/atavar.h      Fri Apr 05 20:09:29 2019 +0000
+++ b/sys/dev/ata/atavar.h      Fri Apr 05 20:44:09 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atavar.h,v 1.101 2018/10/24 19:38:00 jdolecek Exp $    */
+/*     $NetBSD: atavar.h,v 1.102 2019/04/05 20:44:09 christos Exp $    */
 
 /*
  * Copyright (c) 1998, 2001 Manuel Bouyer.
@@ -103,20 +103,21 @@
                                   command */
        volatile uint16_t flags;
 
-#define AT_READ     0x0001 /* There is data to read */
-#define AT_WRITE    0x0002 /* There is data to write (excl. with AT_READ) */
-#define AT_WAIT     0x0008 /* wait in controller code for command completion */
-#define AT_POLL     0x0010 /* poll for command completion (no interrupts) */
-#define AT_DONE     0x0020 /* command is done */
-#define AT_XFDONE   0x0040 /* data xfer is done */
-#define AT_ERROR    0x0080 /* command is done with error */
-#define AT_TIMEOU   0x0100 /* command timed out */
-#define AT_DF       0x0200 /* Drive fault */
-#define AT_RESET    0x0400 /* command terminated by channel reset */
-#define AT_GONE     0x0800 /* command terminated because device is gone */
-#define AT_READREG  0x1000 /* Read registers on completion */
-#define AT_LBA      0x2000 /* LBA28 */
-#define AT_LBA48    0x4000 /* LBA48 */
+#define AT_READ        0x0001 /* There is data to read */
+#define AT_WRITE       0x0002 /* There is data to write (excl. with AT_READ) */
+#define AT_WAIT        0x0008 /* wait in controller for command completion */
+#define AT_POLL        0x0010 /* poll for command completion (no interrupts) */
+#define AT_DONE        0x0020 /* command is done */
+#define AT_XFDONE      0x0040 /* data xfer is done */
+#define AT_ERROR       0x0080 /* command is done with error */
+#define AT_TIMEOU      0x0100 /* command timed out */
+#define AT_DF          0x0200 /* Drive fault */
+#define AT_RESET       0x0400 /* command terminated by channel reset */
+#define AT_GONE        0x0800 /* command terminated because device is gone */
+#define AT_READREG     0x1000 /* Read registers on completion */
+#define AT_LBA         0x2000 /* LBA28 */
+#define AT_LBA48       0x4000 /* LBA48 */
+#define AT_RST_NOCMD   0x8000 /* ??? */
 
        int timeout;            /* timeout (in ms) */
        void *data;             /* Data buffer address */



Home | Main Index | Thread Index | Old Index