Commit Graph

3 Commits

Author SHA1 Message Date
Nikunj A. Dadhania 45b6e9201c SLOF: virtio-scsi block driver code
Forth implementation for virtio-scsi as a block driver. Uses
scsi-support.fs for the scsi command protocol

Signed-off-by: Nikunj A. Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-06-05 16:12:39 +10:00
Nikunj A. Dadhania b5595b4565 SLOF: virtio-scsi helper routines
* initialize/shutdown virtio-scsi device
* routine for sending scsi commands to virtio-scsi device

[ Modified to pass the whole virtio req/resp from forth
  to allow better handling of status and sense buffer
  -- BenH
]

Signed-off-by: Nikunj A. Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-06-05 16:12:31 +10:00
Nikunj A. Dadhania 41deea102e SLOF: virtio-scsi - add pci device file
Create pci device file to take care of a virtio-scsi by qemu.

Signed-off-by: Nikunj A. Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-06-03 16:28:58 +10:00