Changes in uspace/drv/infrastructure/rootpc/rootpc.c [230385c:e882e3a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/infrastructure/rootpc/rootpc.c
r230385c re882e3a 48 48 #include <ddf/driver.h> 49 49 #include <ddf/log.h> 50 #include <devman.h>51 #include <ipc/devman.h>52 50 #include <ipc/dev_iface.h> 53 51 #include <ops/hw_res.h> … … 77 75 }; 78 76 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 } 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 95 83 } 96 84 }; … … 98 86 static rootpc_fun_t pci_data = { 99 87 .hw_resources = { 100 sizeof(pci_conf_regs)/sizeof(pci_conf_regs[0]),101 pci_conf_regs88 1, 89 &pci_conf_regs 102 90 } 103 91 };
Note:
See TracChangeset
for help on using the changeset viewer.