Changeset ae7d03c in mainline for uspace/drv/bus/pci/pciintel/pci.c
- Timestamp:
- 2018-05-10T13:39:19Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e8975278
- Parents:
- b277bef
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-10 07:38:12)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-10 13:39:19)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/pci/pciintel/pci.c
rb277bef rae7d03c 267 267 * architectures do not support shorter PIO reads offset from 268 268 * this register. 269 269 */ 270 270 val = uint32_t_le2host(pio_read_32(bus->conf_data_reg)); 271 271 } else { … … 301 301 * Some architectures do not support shorter PIO writes offset from this 302 302 * register. 303 303 */ 304 304 305 305 if (len < 4) { 306 306 /* 307 308 309 307 * We have fewer than full 32-bits, so we need to read the 308 * missing bits first. 309 */ 310 310 if (bus->conf_addr_reg) { 311 311 pio_write_32(bus->conf_addr_reg, … … 534 534 535 535 /* 536 537 536 * Unimplemented BARs read back as all 0's. 537 */ 538 538 if (!bar) 539 539 return addr + (addrw64 ? 8 : 4);
Note:
See TracChangeset
for help on using the changeset viewer.