summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2005-08-17 15:39:04 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2005-08-17 15:39:04 +0000
commita62ed7b1fd32f84c0c2fb90a91c024bd850714b8 (patch)
tree33f4212d970fce88ae0863df193802a84982ec56
parentef0119927c1be424f764ed890a45a4cc4cc102d5 (diff)
Move WRITE_BUFFER to appropriate spot. Bad dlg@
Add SEND_DIAGNOSTIC as valid command.
-rw-r--r--sys/dev/ic/ami.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/ami.c b/sys/dev/ic/ami.c
index b12ed19504c..1742ecb87b1 100644
--- a/sys/dev/ic/ami.c
+++ b/sys/dev/ic/ami.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ami.c,v 1.63 2005/08/17 06:41:06 dlg Exp $ */
+/* $OpenBSD: ami.c,v 1.64 2005/08/17 15:39:03 marco Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -1354,6 +1354,8 @@ ami_scsi_raw_cmd(xs)
case WRITE_COMMAND:
case WRITE_BIG:
case SYNCHRONIZE_CACHE:
+ case SEND_DIAGNOSTIC:
+ case WRITE_BUFFER:
direction = AMI_PT_OUT;
break;
/* from target */
@@ -1363,7 +1365,6 @@ ami_scsi_raw_cmd(xs)
case READ_CAPACITY:
case READ_COMMAND:
case READ_BIG:
- case WRITE_BUFFER:
case READ_BUFFER:
case RECEIVE_DIAGNOSTIC:
if (!cold) /* XXX bogus */