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
|
#include <machine/rtems-bsd-config.h>
/*
* This file is produced automatically.
* Do not modify anything in here by hand.
*
* Created from source file
* dev/pci/pcib_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 <dev/pci/pcivar.h>
#include <rtems/bsd/local/pcib_if.h>
static int
null_route_interrupt(device_t pcib, device_t dev, int pin)
{
return (PCI_INVALID_IRQ);
}
struct kobj_method pcib_maxslots_method_default = {
&pcib_maxslots_desc, (kobjop_t) kobj_error_method
};
struct kobjop_desc pcib_maxslots_desc = {
0, &pcib_maxslots_method_default
};
struct kobj_method pcib_read_config_method_default = {
&pcib_read_config_desc, (kobjop_t) kobj_error_method
};
struct kobjop_desc pcib_read_config_desc = {
0, &pcib_read_config_method_default
};
struct kobj_method pcib_write_config_method_default = {
&pcib_write_config_desc, (kobjop_t) kobj_error_method
};
struct kobjop_desc pcib_write_config_desc = {
0, &pcib_write_config_method_default
};
struct kobj_method pcib_route_interrupt_method_default = {
&pcib_route_interrupt_desc, (kobjop_t) null_route_interrupt
};
struct kobjop_desc pcib_route_interrupt_desc = {
0, &pcib_route_interrupt_method_default
};
struct kobj_method pcib_alloc_msi_method_default = {
&pcib_alloc_msi_desc, (kobjop_t) kobj_error_method
};
struct kobjop_desc pcib_alloc_msi_desc = {
0, &pcib_alloc_msi_method_default
};
struct kobj_method pcib_release_msi_method_default = {
&pcib_release_msi_desc, (kobjop_t) kobj_error_method
};
struct kobjop_desc pcib_release_msi_desc = {
0, &pcib_release_msi_method_default
};
struct kobj_method pcib_alloc_msix_method_default = {
&pcib_alloc_msix_desc, (kobjop_t) kobj_error_method
};
struct kobjop_desc pcib_alloc_msix_desc = {
0, &pcib_alloc_msix_method_default
};
struct kobj_method pcib_release_msix_method_default = {
&pcib_release_msix_desc, (kobjop_t) kobj_error_method
};
struct kobjop_desc pcib_release_msix_desc = {
0, &pcib_release_msix_method_default
};
struct kobj_method pcib_map_msi_method_default = {
&pcib_map_msi_desc, (kobjop_t) kobj_error_method
};
struct kobjop_desc pcib_map_msi_desc = {
0, &pcib_map_msi_method_default
};
|