diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2005-08-17 15:39:04 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2005-08-17 15:39:04 +0000 |
commit | a62ed7b1fd32f84c0c2fb90a91c024bd850714b8 (patch) | |
tree | 33f4212d970fce88ae0863df193802a84982ec56 | |
parent | ef0119927c1be424f764ed890a45a4cc4cc102d5 (diff) |
Move WRITE_BUFFER to appropriate spot. Bad dlg@
Add SEND_DIAGNOSTIC as valid command.
-rw-r--r-- | sys/dev/ic/ami.c | 5 |
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 */ |