source: rtems-libbsd/rtemsbsd/local/pcib_if.c @ e58b898

55-freebsd-126-freebsd-12freebsd-9.3
Last change on this file since e58b898 was 66659ff, checked in by Sebastian Huber <sebastian.huber@…>, on 11/06/13 at 15:20:21

Update to FreeBSD 9.2

  • Property mode set to 100644
File size: 2.5 KB
Line 
1#include <machine/rtems-bsd-kernel-space.h>
2
3/*
4 * This file is produced automatically.
5 * Do not modify anything in here by hand.
6 *
7 * Created from source file
8 *   freebsd-org/sys/dev/pci/pcib_if.m
9 * with
10 *   makeobjops.awk
11 *
12 * See the source file for legal information
13 */
14
15#include <rtems/bsd/sys/param.h>
16#include <sys/queue.h>
17#include <sys/kernel.h>
18#include <sys/kobj.h>
19#include <sys/bus.h>
20#include <dev/pci/pcivar.h>
21#include <rtems/bsd/local/pcib_if.h>
22
23
24static int
25null_route_interrupt(device_t pcib, device_t dev, int pin)
26{
27        return (PCI_INVALID_IRQ);
28}
29
30struct kobj_method pcib_maxslots_method_default = {
31        &pcib_maxslots_desc, (kobjop_t) kobj_error_method
32};
33
34struct kobjop_desc pcib_maxslots_desc = {
35        0, &pcib_maxslots_method_default
36};
37
38struct kobj_method pcib_read_config_method_default = {
39        &pcib_read_config_desc, (kobjop_t) kobj_error_method
40};
41
42struct kobjop_desc pcib_read_config_desc = {
43        0, &pcib_read_config_method_default
44};
45
46struct kobj_method pcib_write_config_method_default = {
47        &pcib_write_config_desc, (kobjop_t) kobj_error_method
48};
49
50struct kobjop_desc pcib_write_config_desc = {
51        0, &pcib_write_config_method_default
52};
53
54struct kobj_method pcib_route_interrupt_method_default = {
55        &pcib_route_interrupt_desc, (kobjop_t) null_route_interrupt
56};
57
58struct kobjop_desc pcib_route_interrupt_desc = {
59        0, &pcib_route_interrupt_method_default
60};
61
62struct kobj_method pcib_alloc_msi_method_default = {
63        &pcib_alloc_msi_desc, (kobjop_t) kobj_error_method
64};
65
66struct kobjop_desc pcib_alloc_msi_desc = {
67        0, &pcib_alloc_msi_method_default
68};
69
70struct kobj_method pcib_release_msi_method_default = {
71        &pcib_release_msi_desc, (kobjop_t) kobj_error_method
72};
73
74struct kobjop_desc pcib_release_msi_desc = {
75        0, &pcib_release_msi_method_default
76};
77
78struct kobj_method pcib_alloc_msix_method_default = {
79        &pcib_alloc_msix_desc, (kobjop_t) kobj_error_method
80};
81
82struct kobjop_desc pcib_alloc_msix_desc = {
83        0, &pcib_alloc_msix_method_default
84};
85
86struct kobj_method pcib_release_msix_method_default = {
87        &pcib_release_msix_desc, (kobjop_t) kobj_error_method
88};
89
90struct kobjop_desc pcib_release_msix_desc = {
91        0, &pcib_release_msix_method_default
92};
93
94struct kobj_method pcib_map_msi_method_default = {
95        &pcib_map_msi_desc, (kobjop_t) kobj_error_method
96};
97
98struct kobjop_desc pcib_map_msi_desc = {
99        0, &pcib_map_msi_method_default
100};
101
102struct kobj_method pcib_power_for_sleep_method_default = {
103        &pcib_power_for_sleep_desc, (kobjop_t) kobj_error_method
104};
105
106struct kobjop_desc pcib_power_for_sleep_desc = {
107        0, &pcib_power_for_sleep_method_default
108};
109
Note: See TracBrowser for help on using the repository browser.