Changes in uspace/drv/bus/pci/pciintel/pci.c [c81132d:d51838f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/pci/pciintel/pci.c
rc81132d rd51838f 293 293 const uint32_t conf_addr = CONF_ADDR(fun->bus, fun->dev, fun->fn, reg); 294 294 pci_bus_t *bus = pci_bus_from_fun(fun); 295 uint32_t val = 0;295 uint32_t val; 296 296 297 297 fibril_mutex_lock(&bus->conf_mutex); … … 514 514 #define MEM_MASK (~0xf) 515 515 516 io = ( val & 1) != 0;516 io = (bool) (val & 1); 517 517 if (io) { 518 518 addrw64 = false;
Note:
See TracChangeset
for help on using the changeset viewer.