LOG(3, "cmd=%p %x ctx=%p result=0x%x status=0x%x,%x\n",
cmd, cmd->cmnd[0], ctx, cmd->result, btstat, sdstat);
+ printk(KERN_ERR "pvscsi: cmd=%p %x ctx=%p result=0x%x status=0x%x,%x\n",
+ cmd, cmd->cmnd[0], ctx, cmd->result, btstat, sdstat);
cmd->scsi_done(cmd);
}
e->flags = PVSCSI_FLAG_CMD_DIR_NONE;
else
e->flags = 0;
+ { static int i = 0;
+ if (++i%2)
+ //e->flags |= PVSCSI_FLAG_CMD_OUT_OF_BAND_CDB;
+ e->flags |= (1 << 5);
+ }
pvscsi_map_buffers(adapter, ctx, cmd, e);
host->max_channel = 0;
host->max_id = 16;
host->max_lun = 1;
+ host->max_cmd_len = 16;
pci_read_config_byte(pdev, PCI_CLASS_REVISION, &adapter->rev);
#define PVSCSI_FLAG_CMD_DIR_TOHOST (1 << 3)
#define PVSCSI_FLAG_CMD_DIR_TODEVICE (1 << 4)
+#define PVSCSI_FLAG_RESERVED_MASK (~MASK(5))
+
typedef
#include "vmware_pack_begin.h"
struct PVSCSIRingReqDesc {
#ifndef _PVSCSI_VERSION_H_
#define _PVSCSI_VERSION_H_
-#define PVSCSI_DRIVER_VERSION_STRING "1.0.0.0"
+#define PVSCSI_DRIVER_VERSION_STRING "1.0.1.0"
#endif /* _PVSCSI_VERSION_H_ */