#include <devscsi.h>
#include <blkdev.h>
+#ifdef CONFIG_SCSI
+
/* The live command block */
struct Sidcmd si_dcb;
uint8_t si_user;
static struct Sierr error;
static uint8_t status[2];
-#ifdef CONFIG_SCSI
/*
- * Si_cmdend() Wait till end of scsi comand and return errors.
+ * Si_cmdend() Wait till end of scsi command and return errors.
*/
static uint8_t si_cmdend(void) {
int err;
- status[0] = -1;
+ status[0] = 0xFF;
si_dcb.length = 2;
si_user = 0;
/* Gets status and message byte */