Changes in uspace/lib/drv/generic/dev_iface.c [22027b6e:609243f4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/dev_iface.c
r22027b6e r609243f4 41 41 #include "remote_hw_res.h" 42 42 #include "remote_char_dev.h" 43 #include "remote_nic.h" 44 #include "remote_usb.h" 45 #include "remote_usbhc.h" 46 #include "remote_usbhid.h" 47 #include "remote_pci.h" 43 48 44 49 static iface_dipatch_table_t remote_ifaces = { 45 50 .ifaces = { 46 51 &remote_hw_res_iface, 47 &remote_char_dev_iface 52 &remote_char_dev_iface, 53 &remote_nic_iface, 54 &remote_pci_iface, 55 &remote_usb_iface, 56 &remote_usbhc_iface, 57 &remote_usbhid_iface 48 58 } 49 59 }; … … 58 68 get_remote_method(remote_iface_t *rem_iface, sysarg_t iface_method_idx) 59 69 { 60 if (iface_method_idx >= rem_iface->method_count) {70 if (iface_method_idx >= rem_iface->method_count) 61 71 return NULL; 62 } 63 72 64 73 return rem_iface->methods[iface_method_idx]; 65 74 }
Note:
See TracChangeset
for help on using the changeset viewer.