Ignore:
Timestamp:
2012-08-14T18:16:39Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
669f5cae
Parents:
76d92db1 (diff), 4802dd7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/infrastructure/rootpc/rootpc.c

    r76d92db1 rcddcc4a3  
    7575};
    7676
    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
     77static hw_resource_t pci_conf_regs[] = {
     78        {
     79                .type = IO_RANGE,
     80                .res.io_range = {
     81                        .address = 0xCF8,
     82                        .size = 4,
     83                        .endianness = LITTLE_ENDIAN
     84                }
     85        },
     86        {
     87                .type = IO_RANGE,
     88                .res.io_range = {
     89                        .address = 0xCFC,
     90                        .size = 4,
     91                        .endianness = LITTLE_ENDIAN
     92                }
    8393        }
    8494};
     
    8696static rootpc_fun_t pci_data = {
    8797        .hw_resources = {
    88                 1,
    89                 &pci_conf_regs
     98                sizeof(pci_conf_regs)/sizeof(pci_conf_regs[0]),
     99                pci_conf_regs
    90100        }
    91101};
Note: See TracChangeset for help on using the changeset viewer.