Changeset 9af56b6 in mainline for uspace/drv/nic/virtio-net/virtio-net.c
- Timestamp:
- 2018-05-23T21:12:28Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 31cf8c3c
- Parents:
- 85be731
- git-author:
- Jakub Jermar <jakub@…> (2018-05-23 21:12:24)
- git-committer:
- Jakub Jermar <jakub@…> (2018-05-23 21:12:28)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/virtio-net/virtio-net.c
r85be731 r9af56b6 123 123 * Discover and configure the virtqueues 124 124 */ 125 uint16_t num_queues = pio_read_ 16(&cfg->num_queues);125 uint16_t num_queues = pio_read_le16(&cfg->num_queues); 126 126 if (num_queues != VIRTIO_NET_NUM_QUEUES) { 127 127 ddf_msg(LVL_NOTE, "Unsupported number of virtqueues: %u",
Note:
See TracChangeset
for help on using the changeset viewer.