1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
#include <machine/rtems-bsd-config.h>
/*
* This file is produced automatically.
* Do not modify anything in here by hand.
*
* Created from source file
* freebsd-org/sys/kern/device_if.m
* with
* makeobjops.awk
*
* See the source file for legal information
*/
#include <rtems/bsd/sys/param.h>
#include <sys/queue.h>
#include <sys/kernel.h>
#include <sys/kobj.h>
#include <sys/bus.h>
#include <rtems/bsd/local/device_if.h>
static int null_shutdown(device_t dev)
{
return 0;
}
static int null_suspend(device_t dev)
{
return 0;
}
static int null_resume(device_t dev)
{
return 0;
}
static int null_quiesce(device_t dev)
{
return EOPNOTSUPP;
}
struct kobj_method device_probe_method_default = {
&device_probe_desc, (kobjop_t) kobj_error_method
};
struct kobjop_desc device_probe_desc = {
0, &device_probe_method_default
};
struct kobj_method device_identify_method_default = {
&device_identify_desc, (kobjop_t) kobj_error_method
};
struct kobjop_desc device_identify_desc = {
0, &device_identify_method_default
};
struct kobj_method device_attach_method_default = {
&device_attach_desc, (kobjop_t) kobj_error_method
};
struct kobjop_desc device_attach_desc = {
0, &device_attach_method_default
};
struct kobj_method device_detach_method_default = {
&device_detach_desc, (kobjop_t) kobj_error_method
};
struct kobjop_desc device_detach_desc = {
0, &device_detach_method_default
};
struct kobj_method device_shutdown_method_default = {
&device_shutdown_desc, (kobjop_t) null_shutdown
};
struct kobjop_desc device_shutdown_desc = {
0, &device_shutdown_method_default
};
struct kobj_method device_suspend_method_default = {
&device_suspend_desc, (kobjop_t) null_suspend
};
struct kobjop_desc device_suspend_desc = {
0, &device_suspend_method_default
};
struct kobj_method device_resume_method_default = {
&device_resume_desc, (kobjop_t) null_resume
};
struct kobjop_desc device_resume_desc = {
0, &device_resume_method_default
};
struct kobj_method device_quiesce_method_default = {
&device_quiesce_desc, (kobjop_t) null_quiesce
};
struct kobjop_desc device_quiesce_desc = {
0, &device_quiesce_method_default
};
|