pci: Remove unused next-pci-[mem|mmio|io] functions
The next-pci-mem and next-pci-mmio Forth words are completely unused, and pci-next-io is only used in one location (which can easily be replaced), so let's get simply rid of these legacy functions. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
This commit is contained in:
parent
fcd31d3e67
commit
11ff4ba277
|
@ -81,7 +81,7 @@ INCLUDE freq.fs
|
|||
0 8a0 config-l!
|
||||
|
||||
\ 8111 has only 16 bits of PCI I/O space. Get the address in range.
|
||||
8000 next-pci-io !
|
||||
8000 pci-next-io !
|
||||
|
||||
\ before disabling EHCI it needs to be reset
|
||||
|
||||
|
|
|
@ -44,13 +44,6 @@ here 100 allot CONSTANT pci-device-vec
|
|||
\ enable/disable creation of hotplug-specific properties
|
||||
0 VALUE pci-hotplug-enabled
|
||||
|
||||
|
||||
\ Fixme Glue to the pci-devices ... remove this later
|
||||
: next-pci-mem ( addr -- addr ) pci-next-mem ;
|
||||
: next-pci-mmio ( addr -- addr ) pci-next-mmio ;
|
||||
: next-pci-io ( addr -- addr ) pci-next-io ;
|
||||
|
||||
|
||||
#include "pci-helper.fs"
|
||||
|
||||
\ Dump out the pci device-slot vector
|
||||
|
|
Loading…
Reference in New Issue