Changeset 848e880f in mainline for uspace/drv/bus/pci/pciintel/pci.c


Ignore:
Timestamp:
2018-06-10T19:30:53Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fe96085
Parents:
121ee4fd
Message:

Let pio_enable_resource return physical address

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/pci/pciintel/pci.c

    r121ee4fd r848e880f  
    739739                if (pio_enable_resource(&bus->pio_win,
    740740                    &hw_resources.resources[0], (void **) &bus->conf_space,
    741                     NULL)) {
     741                    NULL, NULL)) {
    742742                        ddf_msg(LVL_ERROR,
    743743                            "Failed to map configuration space.");
     
    760760                if (pio_enable_resource(&bus->pio_win,
    761761                    &hw_resources.resources[0], (void **) &bus->conf_addr_reg,
    762                     NULL)) {
     762                    NULL, NULL)) {
    763763                        ddf_msg(LVL_ERROR,
    764764                            "Failed to enable configuration ports.");
     
    768768                if (pio_enable_resource(&bus->pio_win,
    769769                    &hw_resources.resources[1], (void **) &bus->conf_data_reg,
    770                     NULL)) {
     770                    NULL, NULL)) {
    771771                        ddf_msg(LVL_ERROR,
    772772                            "Failed to enable configuration ports.");
Note: See TracChangeset for help on using the changeset viewer.