Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 48adf0f in mainline for uspace/drv/platform/sun4u/sun4u.c


Ignore:
Timestamp:
2017-10-30T18:02:36Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
2b11c3c
Parents:
be1b1e68
Message:

OBIO should take base address from platform driver.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/platform/sun4u/sun4u.c

    rbe1b1e68 r48adf0f  
    6868#define PBM_PCI_MEM_SIZE        UINT64_C(0x00100000000)
    6969
     70#define PBM_OBIO_BASE           UINT64_C(0)
     71#define PBM_OBIO_SIZE           UINT64_C(0x1898)
     72
     73
    7074typedef struct sun4u_fun {
    7175        hw_resource_list_t hw_resources;
     
    9195                .type = MEM_RANGE,
    9296                .res.mem_range = {
    93                         .address = PBM_BASE + PBM_PCI_CONFIG_BASE,
    94                         .size = PBM_PCI_CONFIG_SIZE,
     97                        .address = PBM_BASE + PBM_OBIO_BASE,
     98                        .size = PBM_OBIO_SIZE,
    9599                        .relative = false,
    96100                        .endianness = LITTLE_ENDIAN
     
    106110        .pio_window = {
    107111                .mem = {
    108                         .base = PBM_BASE + PBM_PCI_MEM_BASE,
    109                         .size = PBM_PCI_MEM_SIZE
     112                        .base = PBM_BASE + PBM_OBIO_BASE,
     113                        .size = PBM_OBIO_SIZE
    110114                }
    111115        }
Note: See TracChangeset for help on using the changeset viewer.