Changes in uspace/drv/infrastructure/rootpc/rootpc.c [d9cf684a:230385c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/infrastructure/rootpc/rootpc.c
rd9cf684a r230385c 77 77 }; 78 78 79 static hw_resource_t pci_conf_regs = { 80 .type = IO_RANGE, 81 .res.io_range = { 82 .address = 0xCF8, 83 .size = 8, 84 .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 } 85 95 } 86 96 }; … … 88 98 static rootpc_fun_t pci_data = { 89 99 .hw_resources = { 90 1,91 &pci_conf_regs100 sizeof(pci_conf_regs)/sizeof(pci_conf_regs[0]), 101 pci_conf_regs 92 102 } 93 103 };
Note:
See TracChangeset
for help on using the changeset viewer.