• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This file is produced automatically.
3  * Do not modify anything in here by hand.
4  *
5  * Created from source file
6  *   device_if.m
7  * with
8  *   makeobjops.awk
9  *
10  * See the source file for legal information
11  */
12 
13 #include <sys/param.h>
14 #include <sys/queue.h>
15 #include <sys/kernel.h>
16 #include <sys/kobj.h>
17 #include <sys/bus.h>
18 #include "device_if.h"
19 
20 
null_shutdown(device_t dev)21 static int null_shutdown(device_t dev)
22 {
23     return 0;
24 }
25 
null_suspend(device_t dev)26 static int null_suspend(device_t dev)
27 {
28     return 0;
29 }
30 
null_resume(device_t dev)31 static int null_resume(device_t dev)
32 {
33     return 0;
34 }
35 
null_quiesce(device_t dev)36 static int null_quiesce(device_t dev)
37 {
38     return 0;
39 }
40 
null_register(device_t dev)41 static void * null_register(device_t dev)
42 {
43 	return NULL;
44 }
45 
46 struct kobjop_desc device_probe_desc = {
47 	0, { &device_probe_desc, (kobjop_t)kobj_error_method }
48 };
49 
50 struct kobjop_desc device_identify_desc = {
51 	0, { &device_identify_desc, (kobjop_t)kobj_error_method }
52 };
53 
54 struct kobjop_desc device_attach_desc = {
55 	0, { &device_attach_desc, (kobjop_t)kobj_error_method }
56 };
57 
58 struct kobjop_desc device_detach_desc = {
59 	0, { &device_detach_desc, (kobjop_t)kobj_error_method }
60 };
61 
62 struct kobjop_desc device_shutdown_desc = {
63 	0, { &device_shutdown_desc, (kobjop_t)null_shutdown }
64 };
65 
66 struct kobjop_desc device_suspend_desc = {
67 	0, { &device_suspend_desc, (kobjop_t)null_suspend }
68 };
69 
70 struct kobjop_desc device_resume_desc = {
71 	0, { &device_resume_desc, (kobjop_t)null_resume }
72 };
73 
74 struct kobjop_desc device_quiesce_desc = {
75 	0, { &device_quiesce_desc, (kobjop_t)null_quiesce }
76 };
77 
78 struct kobjop_desc device_register_desc = {
79 	0, { &device_register_desc, (kobjop_t)null_register }
80 };
81 
82