Changeset ab87db5 in mainline for uspace/drv/nic
- Timestamp:
- 2019-02-23T17:16:01Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8c193d83, ca0e838
- Parents:
- bc417660 (diff), 95a47b0 (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. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-23 17:16:01)
- git-committer:
- GitHub <noreply@…> (2019-02-23 17:16:01)
- Location:
- uspace/drv/nic
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/e1k/e1k.c
rbc417660 rab87db5 1244 1244 ddf_dev_t *dev) 1245 1245 { 1246 uint32_t icr = (uint32_t) IPC_GET_ARG2(*icall);1246 uint32_t icr = (uint32_t) ipc_get_arg2(icall); 1247 1247 nic_t *nic = NIC_DATA_DEV(dev); 1248 1248 e1000_t *e1000 = DRIVER_DATA_NIC(nic); -
uspace/drv/nic/ne2k/ne2k.c
rbc417660 rab87db5 52 52 * 53 53 */ 54 #define IRQ_GET_ISR(call) ((int) IPC_GET_ARG2(call))54 #define IRQ_GET_ISR(call) ((int) ipc_get_arg2(&call)) 55 55 56 56 /** Return the TSR from the interrupt call. … … 59 59 * 60 60 */ 61 #define IRQ_GET_TSR(call) ((int) IPC_GET_ARG3(call))61 #define IRQ_GET_TSR(call) ((int) ipc_get_arg3(&call)) 62 62 63 63 #define DRIVER_DATA(dev) ((nic_t *) ddf_dev_data_get(dev)) -
uspace/drv/nic/rtl8139/driver.c
rbc417660 rab87db5 827 827 assert(icall); 828 828 829 uint16_t isr = (uint16_t) IPC_GET_ARG2(*icall);829 uint16_t isr = (uint16_t) ipc_get_arg2(icall); 830 830 nic_t *nic_data = nic_get_from_ddf_dev(dev); 831 831 rtl8139_t *rtl8139 = nic_get_specific(nic_data); -
uspace/drv/nic/rtl8169/driver.c
rbc417660 rab87db5 1038 1038 assert(icall); 1039 1039 1040 uint16_t isr = (uint16_t) IPC_GET_ARG2(*icall) & INT_KNOWN;1040 uint16_t isr = (uint16_t) ipc_get_arg2(icall) & INT_KNOWN; 1041 1041 nic_t *nic_data = nic_get_from_ddf_dev(dev); 1042 1042 rtl8169_t *rtl8169 = nic_get_specific(nic_data);
Note:
See TracChangeset
for help on using the changeset viewer.