Changeset b0f00a9 in mainline for uspace/lib/drv/generic/dev_iface.c
- Timestamp:
- 2011-11-06T22:21:05Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 898e847
- Parents:
- 2bdf8313 (diff), 7b5f4c9 (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
-
uspace/lib/drv/generic/dev_iface.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/dev_iface.c
r2bdf8313 rb0f00a9 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.
