Changes in uspace/drv/infrastructure/rootpc/rootpc.c [e882e3a:230385c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/infrastructure/rootpc/rootpc.c
re882e3a r230385c 48 48 #include <ddf/driver.h> 49 49 #include <ddf/log.h> 50 #include <devman.h> 51 #include <ipc/devman.h> 50 52 #include <ipc/dev_iface.h> 51 53 #include <ops/hw_res.h> … … 75 77 }; 76 78 77 static hw_resource_t pci_conf_regs = { 78 .type = IO_RANGE, 79 .res.io_range = { 80 .address = 0xCF8, 81 .size = 8, 82 .endianness = LITTLE_ENDIAN 79 static hw_resource_t pci_conf_regs[] = { 80 { 81 .type = IO_RANGE, 82 .res.io_range = { 83 .address = 0xCF8, 84 .size = 4, 85 .endianness = LITTLE_ENDIAN 86 } 87 }, 88 { 89 .type = IO_RANGE, 90 .res.io_range = { 91 .address = 0xCFC, 92 .size = 4, 93 .endianness = LITTLE_ENDIAN 94 } 83 95 } 84 96 }; … … 86 98 static rootpc_fun_t pci_data = { 87 99 .hw_resources = { 88 1,89 &pci_conf_regs100 sizeof(pci_conf_regs)/sizeof(pci_conf_regs[0]), 101 pci_conf_regs 90 102 } 91 103 };
Note:
See TracChangeset
for help on using the changeset viewer.