diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/device/device.h | 1 | ||||
-rw-r--r-- | src/include/device/pci.h | 1 | ||||
-rw-r--r-- | src/include/pc80/isa-dma.h | 6 |
3 files changed, 8 insertions, 0 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h index 54ac36389e..2691e4e21c 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -59,6 +59,7 @@ struct device { unsigned int enabled : 1; /* set if we should enable the device */ unsigned int initialized : 1; /* set if we have initialized the device */ unsigned int have_resources : 1; /* Set if we have read the devices resources */ + unsigned int on_mainboard : 1; uint8_t command; diff --git a/src/include/device/pci.h b/src/include/device/pci.h index 13414a7df6..228d4f6e7e 100644 --- a/src/include/device/pci.h +++ b/src/include/device/pci.h @@ -50,6 +50,7 @@ void pci_bus_enable_resources(device_t dev); unsigned int pci_scan_bridge(device_t bus, unsigned int max); unsigned int pci_scan_bus(struct bus *bus, unsigned min_devfn, unsigned max_devfn, unsigned int max); struct resource *pci_get_resource(struct device *dev, unsigned long index); +void pci_dev_set_subsystem(device_t dev, unsigned vendor, unsigned device); #define PCI_IO_BRIDGE_ALIGN 4096 #define PCI_MEM_BRIDGE_ALIGN (1024*1024) diff --git a/src/include/pc80/isa-dma.h b/src/include/pc80/isa-dma.h new file mode 100644 index 0000000000..205a1b4d70 --- /dev/null +++ b/src/include/pc80/isa-dma.h @@ -0,0 +1,6 @@ +#ifndef PC80_ISA_DMA_H +#define PC80_ISA_DMA_H + +void isa_dma_init(void); + +#endif /* PC80_ISA_DMA_H */ |