Changes in uspace/drv/bus/pci/pciintel/pci.c [d51838f:c81132d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/pci/pciintel/pci.c
rd51838f rc81132d 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 ;295 uint32_t val = 0; 296 296 297 297 fibril_mutex_lock(&bus->conf_mutex); … … 514 514 #define MEM_MASK (~0xf) 515 515 516 io = ( bool) (val & 1);516 io = (val & 1) != 0; 517 517 if (io) { 518 518 addrw64 = false;
Note:
See TracChangeset
for help on using the changeset viewer.