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


Ignore:
Timestamp:
2018-05-10T13:39:19Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
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)
Message:

Selected ccheck-proposed comment fixes.

File:
1 edited

Legend:

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

    rb277bef rae7d03c  
    267267                 * architectures do not support shorter PIO reads offset from
    268268                 * this register.
    269                  */
     269                 */
    270270                val = uint32_t_le2host(pio_read_32(bus->conf_data_reg));
    271271        } else {
     
    301301         * Some architectures do not support shorter PIO writes offset from this
    302302         * register.
    303          */
     303         */
    304304
    305305        if (len < 4) {
    306306                /*
    307                  * We have fewer than full 32-bits, so we need to read the
    308                  * missing bits first.
    309                  */
     307                 * We have fewer than full 32-bits, so we need to read the
     308                 * missing bits first.
     309                 */
    310310                if (bus->conf_addr_reg) {
    311311                        pio_write_32(bus->conf_addr_reg,
     
    534534
    535535        /*
    536          * Unimplemented BARs read back as all 0's.
    537          */
     536         * Unimplemented BARs read back as all 0's.
     537         */
    538538        if (!bar)
    539539                return addr + (addrw64 ? 8 : 4);
Note: See TracChangeset for help on using the changeset viewer.