Changeset be1b1e68 in mainline for uspace/drv/platform/sun4u/sun4u.c
- Timestamp:
- 2017-10-24T10:10:00Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 48adf0f
- Parents:
- cc92076
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/platform/sun4u/sun4u.c
rcc92076 rbe1b1e68 85 85 .name = NAME, 86 86 .driver_ops = &sun4u_ops 87 }; 88 89 static hw_resource_t obio_res[] = { 90 { 91 .type = MEM_RANGE, 92 .res.mem_range = { 93 .address = PBM_BASE + PBM_PCI_CONFIG_BASE, 94 .size = PBM_PCI_CONFIG_SIZE, 95 .relative = false, 96 .endianness = LITTLE_ENDIAN 97 } 98 } 99 }; 100 101 static sun4u_fun_t obio_data = { 102 .hw_resources = { 103 .count = sizeof(obio_res) / sizeof(obio_res[0]), 104 .resources = obio_res 105 }, 106 .pio_window = { 107 .mem = { 108 .base = PBM_BASE + PBM_PCI_MEM_BASE, 109 .size = PBM_PCI_MEM_SIZE 110 } 111 } 87 112 }; 88 113 … … 201 226 static bool sun4u_add_functions(ddf_dev_t *dev) 202 227 { 228 if (!sun4u_add_fun(dev, "obio", "ebus/obio", &obio_data)) 229 return false; 230 203 231 return sun4u_add_fun(dev, "pci0", "intel_pci", &pci_data); 204 232 }
Note:
See TracChangeset
for help on using the changeset viewer.