Changeset 72d120e in mainline for uspace/drv/nic/rtl8139/driver.c
- Timestamp:
- 2014-06-16T20:17:44Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5a78e4e
- Parents:
- 9d653e3 (diff), 334bf28 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/rtl8139/driver.c
r9d653e3 r72d120e 1141 1141 1142 1142 ddf_msg(LVL_DEBUG, "Creating buffers"); 1143 1143 1144 rtl8139->tx_buff_virt = AS_AREA_ANY; 1144 1145 rc = dmamem_map_anonymous(TX_PAGES * PAGE_SIZE, DMAMEM_4GiB, 1145 1146 AS_AREA_WRITE, 0, &rtl8139->tx_buff_phys, &rtl8139->tx_buff_virt); … … 1161 1162 ddf_msg(LVL_DEBUG, "Allocating receiver buffer of the size %d bytes", 1162 1163 RxBUF_TOT_LENGTH); 1163 1164 1165 rtl8139->rx_buff_virt = AS_AREA_ANY; 1164 1166 rc = dmamem_map_anonymous(RxBUF_TOT_LENGTH, DMAMEM_4GiB, 1165 1167 AS_AREA_READ, 0, &rtl8139->rx_buff_phys, &rtl8139->rx_buff_virt);
Note:
See TracChangeset
for help on using the changeset viewer.