Changes in uspace/drv/bus/pci/pciintel/pci.c [587478b:848e880f] in mainline
- File:
-
- 1 edited
-
uspace/drv/bus/pci/pciintel/pci.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/pci/pciintel/pci.c
r587478b r848e880f 63 63 #define NAME "pciintel" 64 64 65 #define CONF_ADDR_ENABLE ( ((unsigned)1)<< 31)65 #define CONF_ADDR_ENABLE (1 << 31) 66 66 #define CONF_ADDR(bus, dev, fn, reg) \ 67 67 ((bus << 16) | (dev << 11) | (fn << 8) | (reg & ~3)) … … 738 738 739 739 if (pio_enable_resource(&bus->pio_win, 740 &hw_resources.resources[0], 741 (void **) &bus->conf_space)) {740 &hw_resources.resources[0], (void **) &bus->conf_space, 741 NULL, NULL)) { 742 742 ddf_msg(LVL_ERROR, 743 743 "Failed to map configuration space."); … … 759 759 760 760 if (pio_enable_resource(&bus->pio_win, 761 &hw_resources.resources[0], 762 (void **) &bus->conf_addr_reg)) {761 &hw_resources.resources[0], (void **) &bus->conf_addr_reg, 762 NULL, NULL)) { 763 763 ddf_msg(LVL_ERROR, 764 764 "Failed to enable configuration ports."); … … 767 767 } 768 768 if (pio_enable_resource(&bus->pio_win, 769 &hw_resources.resources[1], 770 (void **) &bus->conf_data_reg)) {769 &hw_resources.resources[1], (void **) &bus->conf_data_reg, 770 NULL, NULL)) { 771 771 ddf_msg(LVL_ERROR, 772 772 "Failed to enable configuration ports.");
Note:
See TracChangeset
for help on using the changeset viewer.
