xref: /haiku/src/libs/compat/freebsd_network/compat/sys/method-ids.h (revision 268f99dd7dc4bd7474a8bd2742d3f1ec1de6752a)
1 /*
2  * Copyright 2019, Haiku, Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _FBSD_COMPAT_SYS_METHOD_IDS_H
6 #define _FBSD_COMPAT_SYS_METHOD_IDS_H
7 
8 
9 enum device_method_ids {
10 	ID_device_register = 1,
11 	ID_device_probe,
12 	ID_device_attach,
13 	ID_device_detach,
14 	ID_device_suspend,
15 	ID_device_resume,
16 	ID_device_shutdown,
17 
18 	ID_miibus_readreg,
19 	ID_miibus_writereg,
20 	ID_miibus_statchg,
21 	ID_miibus_linkchg,
22 	ID_miibus_mediainit,
23 
24 	ID_bus_child_location_str,
25 	ID_bus_child_pnpinfo_str,
26 	ID_bus_hinted_child,
27 	ID_bus_print_child,
28 	ID_bus_read_ivar,
29 	ID_bus_get_dma_tag,
30 
31 	ID_ifdi_knlist_add,
32 	ID_ifdi_knote_event,
33 	ID_ifdi_object_info_get,
34 	ID_ifdi_attach_pre,
35 	ID_ifdi_attach_post,
36 	ID_ifdi_reinit_pre,
37 	ID_ifdi_reinit_post,
38 	ID_ifdi_cloneattach,
39 	ID_ifdi_detach,
40 	ID_ifdi_suspend,
41 	ID_ifdi_shutdown,
42 	ID_ifdi_resume,
43 	ID_ifdi_tx_queues_alloc,
44 	ID_ifdi_rx_queues_alloc,
45 	ID_ifdi_queues_free,
46 	ID_ifdi_rx_clset,
47 	ID_ifdi_init,
48 	ID_ifdi_stop,
49 	ID_ifdi_msix_intr_assign,
50 	ID_ifdi_intr_enable,
51 	ID_ifdi_intr_disable,
52 	ID_ifdi_rx_queue_intr_enable,
53 	ID_ifdi_tx_queue_intr_enable,
54 	ID_ifdi_link_intr_enable,
55 	ID_ifdi_multi_set,
56 	ID_ifdi_mtu_set,
57 	ID_ifdi_mac_set,
58 	ID_ifdi_media_set,
59 	ID_ifdi_promisc_set,
60 	ID_ifdi_crcstrip_set,
61 	ID_ifdi_vflr_handle,
62 	ID_ifdi_iov_init,
63 	ID_ifdi_iov_uninit,
64 	ID_ifdi_iov_vf_add,
65 	ID_ifdi_update_admin_status,
66 	ID_ifdi_media_status,
67 	ID_ifdi_media_change,
68 	ID_ifdi_get_counter,
69 	ID_ifdi_priv_ioctl,
70 	ID_ifdi_i2c_req,
71 	ID_ifdi_txq_setup,
72 	ID_ifdi_rxq_setup,
73 	ID_ifdi_timer,
74 	ID_ifdi_watchdog_reset,
75 	ID_ifdi_watchdog_reset_queue,
76 	ID_ifdi_led_func,
77 	ID_ifdi_vlan_register,
78 	ID_ifdi_vlan_unregister,
79 	ID_ifdi_sysctl_int_delay,
80 	ID_ifdi_debug,
81 	ID_ifdi_needs_restart,
82 };
83 
84 
85 #endif /* _FBSD_COMPAT_SYS_METHOD_IDS_H */
86