Changes in uspace/drv/infrastructure/rootmac/rootmac.c [cb3dbb63:827ec41] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/infrastructure/rootmac/rootmac.c
rcb3dbb63 r827ec41 52 52 } rootmac_fun_t; 53 53 54 static hw_resource_t pci_conf_regs[] = { 55 { 56 .type = IO_RANGE, 57 .res.io_range = { 58 .address = 0xfec00000, 59 .size = 4, 60 .endianness = LITTLE_ENDIAN 61 } 62 }, 63 { 64 .type = IO_RANGE, 65 .res.io_range = { 66 .address = 0xfee00000, 67 .size = 4, 68 .endianness = LITTLE_ENDIAN 69 } 54 static hw_resource_t pci_conf_regs = { 55 .type = IO_RANGE, 56 .res.io_range = { 57 .address = 0xCF8, 58 .size = 8, 59 .endianness = LITTLE_ENDIAN 70 60 } 71 61 }; … … 73 63 static rootmac_fun_t pci_data = { 74 64 .hw_resources = { 75 2,76 pci_conf_regs65 1, 66 &pci_conf_regs 77 67 } 78 68 }; … … 138 128 { 139 129 /* Register functions */ 140 if (!rootmac_add_fun(dev, "pci0", " intel_pci", &pci_data))130 if (!rootmac_add_fun(dev, "pci0", "pangea_pci", &pci_data)) 141 131 ddf_msg(LVL_ERROR, "Failed to add functions for Mac platform."); 142 132
Note:
See TracChangeset
for help on using the changeset viewer.