From fc9e83bb68ff851be89a4b24097b0948ef160c4f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 16 Mar 2015 22:10:36 +0100 Subject: mmc: Import MMC/SDCard support from libusb --- rtemsbsd/local/mmcbus_if.c | 47 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 rtemsbsd/local/mmcbus_if.c (limited to 'rtemsbsd/local/mmcbus_if.c') diff --git a/rtemsbsd/local/mmcbus_if.c b/rtemsbsd/local/mmcbus_if.c new file mode 100644 index 00000000..a757a561 --- /dev/null +++ b/rtemsbsd/local/mmcbus_if.c @@ -0,0 +1,47 @@ +#include + +/* + * This file is produced automatically. + * Do not modify anything in here by hand. + * + * Created from source file + * freebsd-org/sys/dev/mmc/mmcbus_if.m + * with + * makeobjops.awk + * + * See the source file for legal information + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +struct kobj_method mmcbus_wait_for_request_method_default = { + &mmcbus_wait_for_request_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc mmcbus_wait_for_request_desc = { + 0, &mmcbus_wait_for_request_method_default +}; + +struct kobj_method mmcbus_acquire_bus_method_default = { + &mmcbus_acquire_bus_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc mmcbus_acquire_bus_desc = { + 0, &mmcbus_acquire_bus_method_default +}; + +struct kobj_method mmcbus_release_bus_method_default = { + &mmcbus_release_bus_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc mmcbus_release_bus_desc = { + 0, &mmcbus_release_bus_method_default +}; + -- cgit v1.2.3