diff options
author | Nikunj A. Dadhania <nikunj@linux.vnet.ibm.com> | 2013-01-04 11:39:27 +0530 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-06-03 16:28:58 +1000 |
commit | 41deea102e8233b7278155a0c41bf850bc5a6d07 (patch) | |
tree | ae13ed3b66aeb650cc64995b3a139b141eb32cd6 /board-qemu/slof | |
parent | 220637a1372ae1c4dad108c136c43f12ece62563 (diff) | |
download | SLOF-41deea102e8233b7278155a0c41bf850bc5a6d07.zip SLOF-41deea102e8233b7278155a0c41bf850bc5a6d07.tar.gz SLOF-41deea102e8233b7278155a0c41bf850bc5a6d07.tar.bz2 |
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>
Diffstat (limited to 'board-qemu/slof')
-rw-r--r-- | board-qemu/slof/Makefile | 1 | ||||
-rw-r--r-- | board-qemu/slof/pci-device_1af4_1004.fs | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/board-qemu/slof/Makefile b/board-qemu/slof/Makefile index 33bb45f..efa2567 100644 --- a/board-qemu/slof/Makefile +++ b/board-qemu/slof/Makefile @@ -58,6 +58,7 @@ USB_FFS_FILES = \ VIO_FFS_FILES = \ $(SLOFBRDDIR)/pci-device_1af4_1000.fs \ $(SLOFBRDDIR)/pci-device_1af4_1001.fs \ + $(SLOFBRDDIR)/pci-device_1af4_1004.fs \ $(SLOFBRDDIR)/pci-device_1af4_1009.fs \ $(SLOFBRDDIR)/vio-hvterm.fs \ $(SLOFBRDDIR)/vio-vscsi.fs \ diff --git a/board-qemu/slof/pci-device_1af4_1004.fs b/board-qemu/slof/pci-device_1af4_1004.fs new file mode 100644 index 0000000..9637a7d --- /dev/null +++ b/board-qemu/slof/pci-device_1af4_1004.fs @@ -0,0 +1,21 @@ +\ ***************************************************************************** +\ * Copyright (c) 2012 IBM Corporation +\ * All rights reserved. +\ * This program and the accompanying materials +\ * are made available under the terms of the BSD License +\ * which accompanies this distribution, and is available at +\ * http://www.opensource.org/licenses/bsd-license.php +\ * +\ * Contributors: +\ * IBM Corporation - initial implementation +\ ****************************************************************************/ + +\ Handle virtio-net device + +s" virtio [ scsi ]" type cr + +my-space pci-device-generic-setup +pci-master-enable +pci-mem-enable +pci-io-enable +pci-device-disable |