diff options
author | Thomas Huth <thuth@linux.vnet.ibm.com> | 2011-08-01 14:21:37 +0200 |
---|---|---|
committer | Thomas Huth <thuth@linux.vnet.ibm.com> | 2011-10-12 16:21:48 +0200 |
commit | c6919593897c1c04a47e420ee34458eca7011e3f (patch) | |
tree | ca0b6c2fe719d685068e62849497dd6bd5557eea /slof | |
parent | c3ef350a8a3f4075299d7b14d5e603574c21a6de (diff) | |
download | SLOF-c6919593897c1c04a47e420ee34458eca7011e3f.zip SLOF-c6919593897c1c04a47e420ee34458eca7011e3f.tar.gz SLOF-c6919593897c1c04a47e420ee34458eca7011e3f.tar.bz2 |
Set up PCI nodes on board-qemu
Populate the PCI device tree nodes with additional properties and words, and
provide enough of the SLOF PCI framework to be able to use the nodes with our
device specific drivers.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Diffstat (limited to 'slof')
-rw-r--r-- | slof/fs/devices/pci-device_10de_0141.fs | 4 | ||||
-rw-r--r-- | slof/fs/pci-device.fs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/slof/fs/devices/pci-device_10de_0141.fs b/slof/fs/devices/pci-device_10de_0141.fs index 507c383..dd62ca7 100644 --- a/slof/fs/devices/pci-device_10de_0141.fs +++ b/slof/fs/devices/pci-device_10de_0141.fs @@ -14,8 +14,8 @@ my-space pci-class-name type my-space pci-device-generic-setup -enable-io-access -enable-mem-access +pci-io-enable +pci-mem-enable 30 config-l@ pci-find-fcode execute-rom-fcode diff --git a/slof/fs/pci-device.fs b/slof/fs/pci-device.fs index fbb4c61..ad9f5fd 100644 --- a/slof/fs/pci-device.fs +++ b/slof/fs/pci-device.fs @@ -11,7 +11,7 @@ \ ****************************************************************************/ \ get the PUID from the node above -s" my-puid" $call-parent CONSTANT my-puid +s" my-puid" get-node parent $call-static CONSTANT my-puid \ define the config reads : config-b@ puid >r my-puid TO puid my-space + rtas-config-b@ r> TO puid ; |