Changes in / [eca820c:f834dd81] in mainline
- Files:
-
- 5 added
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
reca820c rf834dd81 1 #1 x# 2 2 # Copyright (c) 2006 Martin Decky 3 3 # All rights reserved. -
boot/arch/sparc64/Makefile.inc
reca820c rf834dd81 43 43 bus/pci/pciintel \ 44 44 bus/isa \ 45 intctl/obio \ 45 46 char/ns8250 46 47 47 48 RD_DRV_CFG += \ 48 49 bus/isa 49 50 RD_SRVS_NON_ESSENTIAL +=51 52 RD_SRVS_ESSENTIAL += \53 $(USPACE_PATH)/srv/hw/irc/obio/obio54 50 55 51 SOURCES = \ -
uspace/Makefile
reca820c rf834dd81 135 135 srv/hid/remcons \ 136 136 srv/hw/char/s3c24xx_uart \ 137 srv/hw/irc/obio \138 137 srv/hid/rfb \ 139 138 drv/audio/hdaudio \ … … 170 169 drv/intctl/i8259 \ 171 170 drv/intctl/icp-ic \ 171 drv/intctl/obio \ 172 172 drv/nic/ne2k \ 173 173 drv/nic/e1k \ -
uspace/drv/platform/sun4u/sun4u.c
reca820c rf834dd81 68 68 #define PBM_PCI_MEM_SIZE UINT64_C(0x00100000000) 69 69 70 #define PBM_OBIO_BASE UINT64_C(0) 71 #define PBM_OBIO_SIZE UINT64_C(0x1898) 72 73 70 74 typedef struct sun4u_fun { 71 75 hw_resource_list_t hw_resources; … … 85 89 .name = NAME, 86 90 .driver_ops = &sun4u_ops 91 }; 92 93 static hw_resource_t obio_res[] = { 94 { 95 .type = MEM_RANGE, 96 .res.mem_range = { 97 .address = PBM_BASE + PBM_OBIO_BASE, 98 .size = PBM_OBIO_SIZE, 99 .relative = false, 100 .endianness = LITTLE_ENDIAN 101 } 102 } 103 }; 104 105 static sun4u_fun_t obio_data = { 106 .hw_resources = { 107 .count = sizeof(obio_res) / sizeof(obio_res[0]), 108 .resources = obio_res 109 }, 110 .pio_window = { 111 .mem = { 112 .base = PBM_BASE + PBM_OBIO_BASE, 113 .size = PBM_OBIO_SIZE 114 } 115 } 87 116 }; 88 117 … … 201 230 static bool sun4u_add_functions(ddf_dev_t *dev) 202 231 { 232 if (!sun4u_add_fun(dev, "obio", "ebus/obio", &obio_data)) 233 return false; 234 203 235 return sun4u_add_fun(dev, "pci0", "intel_pci", &pci_data); 204 236 }
Note:
See TracChangeset
for help on using the changeset viewer.