Changeset eb13ef8 in mainline for uspace/drv/nic
- Timestamp:
- 2019-02-06T13:25:12Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fafb8e5
- Parents:
- bb97118
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 14:04:02)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-06 13:25:12)
- Location:
- uspace/drv/nic
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/e1k/e1k.c
rbb97118 reb13ef8 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
rbb97118 reb13ef8 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
rbb97118 reb13ef8 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
rbb97118 reb13ef8 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.