diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-10-09 22:42:09 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-10-10 09:06:58 +0200 |
commit | bceabc95c1c85d793200446fa85f1ddc6313ea29 (patch) | |
tree | 973c8bd8deca9fd69913f2895cc91e0e6114d46c /rtemsbsd/local | |
parent | Add FreeBSD sources as a submodule (diff) | |
download | rtems-libbsd-bceabc95c1c85d793200446fa85f1ddc6313ea29.tar.bz2 |
Move files to match FreeBSD layout
Diffstat (limited to 'rtemsbsd/local')
-rw-r--r-- | rtemsbsd/local/bus_if.c | 273 | ||||
-rw-r--r-- | rtemsbsd/local/cryptodev_if.c | 54 | ||||
-rw-r--r-- | rtemsbsd/local/device_if.c | 106 | ||||
-rw-r--r-- | rtemsbsd/local/miibus_if.c | 61 | ||||
-rw-r--r-- | rtemsbsd/local/pci_if.c | 172 | ||||
-rw-r--r-- | rtemsbsd/local/pcib_if.c | 101 | ||||
-rw-r--r-- | rtemsbsd/local/usb_if.c | 29 |
7 files changed, 796 insertions, 0 deletions
diff --git a/rtemsbsd/local/bus_if.c b/rtemsbsd/local/bus_if.c new file mode 100644 index 00000000..10f9ef46 --- /dev/null +++ b/rtemsbsd/local/bus_if.c @@ -0,0 +1,273 @@ +#include <freebsd/machine/rtems-bsd-config.h> + +/* + * This file is produced automatically. + * Do not modify anything in here by hand. + * + * Created from source file + * kern/bus_if.m + * with + * makeobjops.awk + * + * See the source file for legal information + */ + +#include <freebsd/sys/param.h> +#include <freebsd/sys/queue.h> +#include <freebsd/sys/kernel.h> +#include <freebsd/sys/kobj.h> +#include <freebsd/sys/types.h> +#include <freebsd/sys/systm.h> +#include <freebsd/sys/bus.h> +#include <freebsd/local/bus_if.h> + + +static struct resource * +null_alloc_resource(device_t dev, device_t child, + int type, int *rid, u_long start, u_long end, + u_long count, u_int flags) +{ + return (0); +} + +static int +null_remap_intr(device_t bus, device_t dev, u_int irq) +{ + + if (dev != NULL) + return (BUS_REMAP_INTR(dev, NULL, irq)); + return (ENXIO); +} + +static device_t +null_add_child(device_t bus, int order, const char *name, + int unit) +{ + + panic("bus_add_child is not implemented"); +} + +struct kobj_method bus_print_child_method_default = { + &bus_print_child_desc, (kobjop_t) bus_generic_print_child +}; + +struct kobjop_desc bus_print_child_desc = { + 0, &bus_print_child_method_default +}; + +struct kobj_method bus_probe_nomatch_method_default = { + &bus_probe_nomatch_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc bus_probe_nomatch_desc = { + 0, &bus_probe_nomatch_method_default +}; + +struct kobj_method bus_read_ivar_method_default = { + &bus_read_ivar_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc bus_read_ivar_desc = { + 0, &bus_read_ivar_method_default +}; + +struct kobj_method bus_write_ivar_method_default = { + &bus_write_ivar_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc bus_write_ivar_desc = { + 0, &bus_write_ivar_method_default +}; + +struct kobj_method bus_child_detached_method_default = { + &bus_child_detached_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc bus_child_detached_desc = { + 0, &bus_child_detached_method_default +}; + +struct kobj_method bus_driver_added_method_default = { + &bus_driver_added_desc, (kobjop_t) bus_generic_driver_added +}; + +struct kobjop_desc bus_driver_added_desc = { + 0, &bus_driver_added_method_default +}; + +struct kobj_method bus_add_child_method_default = { + &bus_add_child_desc, (kobjop_t) null_add_child +}; + +struct kobjop_desc bus_add_child_desc = { + 0, &bus_add_child_method_default +}; + +struct kobj_method bus_alloc_resource_method_default = { + &bus_alloc_resource_desc, (kobjop_t) null_alloc_resource +}; + +struct kobjop_desc bus_alloc_resource_desc = { + 0, &bus_alloc_resource_method_default +}; + +struct kobj_method bus_activate_resource_method_default = { + &bus_activate_resource_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc bus_activate_resource_desc = { + 0, &bus_activate_resource_method_default +}; + +struct kobj_method bus_deactivate_resource_method_default = { + &bus_deactivate_resource_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc bus_deactivate_resource_desc = { + 0, &bus_deactivate_resource_method_default +}; + +struct kobj_method bus_release_resource_method_default = { + &bus_release_resource_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc bus_release_resource_desc = { + 0, &bus_release_resource_method_default +}; + +struct kobj_method bus_setup_intr_method_default = { + &bus_setup_intr_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc bus_setup_intr_desc = { + 0, &bus_setup_intr_method_default +}; + +struct kobj_method bus_teardown_intr_method_default = { + &bus_teardown_intr_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc bus_teardown_intr_desc = { + 0, &bus_teardown_intr_method_default +}; + +struct kobj_method bus_set_resource_method_default = { + &bus_set_resource_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc bus_set_resource_desc = { + 0, &bus_set_resource_method_default +}; + +struct kobj_method bus_get_resource_method_default = { + &bus_get_resource_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc bus_get_resource_desc = { + 0, &bus_get_resource_method_default +}; + +struct kobj_method bus_delete_resource_method_default = { + &bus_delete_resource_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc bus_delete_resource_desc = { + 0, &bus_delete_resource_method_default +}; + +struct kobj_method bus_get_resource_list_method_default = { + &bus_get_resource_list_desc, (kobjop_t) bus_generic_get_resource_list +}; + +struct kobjop_desc bus_get_resource_list_desc = { + 0, &bus_get_resource_list_method_default +}; + +struct kobj_method bus_child_present_method_default = { + &bus_child_present_desc, (kobjop_t) bus_generic_child_present +}; + +struct kobjop_desc bus_child_present_desc = { + 0, &bus_child_present_method_default +}; + +struct kobj_method bus_child_pnpinfo_str_method_default = { + &bus_child_pnpinfo_str_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc bus_child_pnpinfo_str_desc = { + 0, &bus_child_pnpinfo_str_method_default +}; + +struct kobj_method bus_child_location_str_method_default = { + &bus_child_location_str_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc bus_child_location_str_desc = { + 0, &bus_child_location_str_method_default +}; + +struct kobj_method bus_bind_intr_method_default = { + &bus_bind_intr_desc, (kobjop_t) bus_generic_bind_intr +}; + +struct kobjop_desc bus_bind_intr_desc = { + 0, &bus_bind_intr_method_default +}; + +struct kobj_method bus_config_intr_method_default = { + &bus_config_intr_desc, (kobjop_t) bus_generic_config_intr +}; + +struct kobjop_desc bus_config_intr_desc = { + 0, &bus_config_intr_method_default +}; + +struct kobj_method bus_describe_intr_method_default = { + &bus_describe_intr_desc, (kobjop_t) bus_generic_describe_intr +}; + +struct kobjop_desc bus_describe_intr_desc = { + 0, &bus_describe_intr_method_default +}; + +struct kobj_method bus_hinted_child_method_default = { + &bus_hinted_child_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc bus_hinted_child_desc = { + 0, &bus_hinted_child_method_default +}; + +struct kobj_method bus_get_dma_tag_method_default = { + &bus_get_dma_tag_desc, (kobjop_t) bus_generic_get_dma_tag +}; + +struct kobjop_desc bus_get_dma_tag_desc = { + 0, &bus_get_dma_tag_method_default +}; + +struct kobj_method bus_hint_device_unit_method_default = { + &bus_hint_device_unit_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc bus_hint_device_unit_desc = { + 0, &bus_hint_device_unit_method_default +}; + +struct kobj_method bus_new_pass_method_default = { + &bus_new_pass_desc, (kobjop_t) bus_generic_new_pass +}; + +struct kobjop_desc bus_new_pass_desc = { + 0, &bus_new_pass_method_default +}; + +struct kobj_method bus_remap_intr_method_default = { + &bus_remap_intr_desc, (kobjop_t) null_remap_intr +}; + +struct kobjop_desc bus_remap_intr_desc = { + 0, &bus_remap_intr_method_default +}; + diff --git a/rtemsbsd/local/cryptodev_if.c b/rtemsbsd/local/cryptodev_if.c new file mode 100644 index 00000000..d4875e46 --- /dev/null +++ b/rtemsbsd/local/cryptodev_if.c @@ -0,0 +1,54 @@ +#include <freebsd/machine/rtems-bsd-config.h> + +/* + * This file is produced automatically. + * Do not modify anything in here by hand. + * + * Created from source file + * opencrypto/cryptodev_if.m + * with + * makeobjops.awk + * + * See the source file for legal information + */ + +#include <freebsd/sys/param.h> +#include <freebsd/sys/queue.h> +#include <freebsd/sys/kernel.h> +#include <freebsd/sys/kobj.h> +#include <freebsd/sys/malloc.h> +#include <freebsd/opencrypto/cryptodev.h> +#include <freebsd/local/cryptodev_if.h> + +struct kobj_method cryptodev_newsession_method_default = { + &cryptodev_newsession_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc cryptodev_newsession_desc = { + 0, &cryptodev_newsession_method_default +}; + +struct kobj_method cryptodev_freesession_method_default = { + &cryptodev_freesession_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc cryptodev_freesession_desc = { + 0, &cryptodev_freesession_method_default +}; + +struct kobj_method cryptodev_process_method_default = { + &cryptodev_process_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc cryptodev_process_desc = { + 0, &cryptodev_process_method_default +}; + +struct kobj_method cryptodev_kprocess_method_default = { + &cryptodev_kprocess_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc cryptodev_kprocess_desc = { + 0, &cryptodev_kprocess_method_default +}; + diff --git a/rtemsbsd/local/device_if.c b/rtemsbsd/local/device_if.c new file mode 100644 index 00000000..e6f3189a --- /dev/null +++ b/rtemsbsd/local/device_if.c @@ -0,0 +1,106 @@ +#include <freebsd/machine/rtems-bsd-config.h> + +/* + * This file is produced automatically. + * Do not modify anything in here by hand. + * + * Created from source file + * kern/device_if.m + * with + * makeobjops.awk + * + * See the source file for legal information + */ + +#include <freebsd/sys/param.h> +#include <freebsd/sys/queue.h> +#include <freebsd/sys/kernel.h> +#include <freebsd/sys/kobj.h> +#include <freebsd/sys/bus.h> +#include <freebsd/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 +}; + diff --git a/rtemsbsd/local/miibus_if.c b/rtemsbsd/local/miibus_if.c new file mode 100644 index 00000000..2f5127e8 --- /dev/null +++ b/rtemsbsd/local/miibus_if.c @@ -0,0 +1,61 @@ +#include <freebsd/machine/rtems-bsd-config.h> + +/* + * This file is produced automatically. + * Do not modify anything in here by hand. + * + * Created from source file + * dev/mii/miibus_if.m + * with + * makeobjops.awk + * + * See the source file for legal information + */ + +#include <freebsd/sys/param.h> +#include <freebsd/sys/queue.h> +#include <freebsd/sys/kernel.h> +#include <freebsd/sys/kobj.h> +#include <freebsd/sys/bus.h> +#include <freebsd/local/miibus_if.h> + +struct kobj_method miibus_readreg_method_default = { + &miibus_readreg_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc miibus_readreg_desc = { + 0, &miibus_readreg_method_default +}; + +struct kobj_method miibus_writereg_method_default = { + &miibus_writereg_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc miibus_writereg_desc = { + 0, &miibus_writereg_method_default +}; + +struct kobj_method miibus_statchg_method_default = { + &miibus_statchg_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc miibus_statchg_desc = { + 0, &miibus_statchg_method_default +}; + +struct kobj_method miibus_linkchg_method_default = { + &miibus_linkchg_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc miibus_linkchg_desc = { + 0, &miibus_linkchg_method_default +}; + +struct kobj_method miibus_mediainit_method_default = { + &miibus_mediainit_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc miibus_mediainit_desc = { + 0, &miibus_mediainit_method_default +}; + diff --git a/rtemsbsd/local/pci_if.c b/rtemsbsd/local/pci_if.c new file mode 100644 index 00000000..257e890b --- /dev/null +++ b/rtemsbsd/local/pci_if.c @@ -0,0 +1,172 @@ +#include <freebsd/machine/rtems-bsd-config.h> + +/* + * This file is produced automatically. + * Do not modify anything in here by hand. + * + * Created from source file + * dev/pci/pci_if.m + * with + * makeobjops.awk + * + * See the source file for legal information + */ + +#include <freebsd/sys/param.h> +#include <freebsd/sys/queue.h> +#include <freebsd/sys/kernel.h> +#include <freebsd/sys/kobj.h> +#include <freebsd/sys/bus.h> +#include <freebsd/local/pci_if.h> + + +static int +null_msi_count(device_t dev, device_t child) +{ + return (0); +} + +struct kobj_method pci_read_config_method_default = { + &pci_read_config_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc pci_read_config_desc = { + 0, &pci_read_config_method_default +}; + +struct kobj_method pci_write_config_method_default = { + &pci_write_config_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc pci_write_config_desc = { + 0, &pci_write_config_method_default +}; + +struct kobj_method pci_get_powerstate_method_default = { + &pci_get_powerstate_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc pci_get_powerstate_desc = { + 0, &pci_get_powerstate_method_default +}; + +struct kobj_method pci_set_powerstate_method_default = { + &pci_set_powerstate_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc pci_set_powerstate_desc = { + 0, &pci_set_powerstate_method_default +}; + +struct kobj_method pci_get_vpd_ident_method_default = { + &pci_get_vpd_ident_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc pci_get_vpd_ident_desc = { + 0, &pci_get_vpd_ident_method_default +}; + +struct kobj_method pci_get_vpd_readonly_method_default = { + &pci_get_vpd_readonly_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc pci_get_vpd_readonly_desc = { + 0, &pci_get_vpd_readonly_method_default +}; + +struct kobj_method pci_enable_busmaster_method_default = { + &pci_enable_busmaster_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc pci_enable_busmaster_desc = { + 0, &pci_enable_busmaster_method_default +}; + +struct kobj_method pci_disable_busmaster_method_default = { + &pci_disable_busmaster_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc pci_disable_busmaster_desc = { + 0, &pci_disable_busmaster_method_default +}; + +struct kobj_method pci_enable_io_method_default = { + &pci_enable_io_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc pci_enable_io_desc = { + 0, &pci_enable_io_method_default +}; + +struct kobj_method pci_disable_io_method_default = { + &pci_disable_io_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc pci_disable_io_desc = { + 0, &pci_disable_io_method_default +}; + +struct kobj_method pci_assign_interrupt_method_default = { + &pci_assign_interrupt_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc pci_assign_interrupt_desc = { + 0, &pci_assign_interrupt_method_default +}; + +struct kobj_method pci_find_extcap_method_default = { + &pci_find_extcap_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc pci_find_extcap_desc = { + 0, &pci_find_extcap_method_default +}; + +struct kobj_method pci_alloc_msi_method_default = { + &pci_alloc_msi_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc pci_alloc_msi_desc = { + 0, &pci_alloc_msi_method_default +}; + +struct kobj_method pci_alloc_msix_method_default = { + &pci_alloc_msix_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc pci_alloc_msix_desc = { + 0, &pci_alloc_msix_method_default +}; + +struct kobj_method pci_remap_msix_method_default = { + &pci_remap_msix_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc pci_remap_msix_desc = { + 0, &pci_remap_msix_method_default +}; + +struct kobj_method pci_release_msi_method_default = { + &pci_release_msi_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc pci_release_msi_desc = { + 0, &pci_release_msi_method_default +}; + +struct kobj_method pci_msi_count_method_default = { + &pci_msi_count_desc, (kobjop_t) null_msi_count +}; + +struct kobjop_desc pci_msi_count_desc = { + 0, &pci_msi_count_method_default +}; + +struct kobj_method pci_msix_count_method_default = { + &pci_msix_count_desc, (kobjop_t) null_msi_count +}; + +struct kobjop_desc pci_msix_count_desc = { + 0, &pci_msix_count_method_default +}; + diff --git a/rtemsbsd/local/pcib_if.c b/rtemsbsd/local/pcib_if.c new file mode 100644 index 00000000..cc460893 --- /dev/null +++ b/rtemsbsd/local/pcib_if.c @@ -0,0 +1,101 @@ +#include <freebsd/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 <freebsd/sys/param.h> +#include <freebsd/sys/queue.h> +#include <freebsd/sys/kernel.h> +#include <freebsd/sys/kobj.h> +#include <freebsd/sys/bus.h> +#include <freebsd/dev/pci/pcivar.h> +#include <freebsd/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 +}; + diff --git a/rtemsbsd/local/usb_if.c b/rtemsbsd/local/usb_if.c new file mode 100644 index 00000000..db9b2670 --- /dev/null +++ b/rtemsbsd/local/usb_if.c @@ -0,0 +1,29 @@ +#include <freebsd/machine/rtems-bsd-config.h> + +/* + * This file is produced automatically. + * Do not modify anything in here by hand. + * + * Created from source file + * dev/usb/usb_if.m + * with + * makeobjops.awk + * + * See the source file for legal information + */ + +#include <freebsd/sys/param.h> +#include <freebsd/sys/queue.h> +#include <freebsd/sys/kernel.h> +#include <freebsd/sys/kobj.h> +#include <freebsd/sys/bus.h> +#include <freebsd/local/usb_if.h> + +struct kobj_method usb_handle_request_method_default = { + &usb_handle_request_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc usb_handle_request_desc = { + 0, &usb_handle_request_method_default +}; + |