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/mmcbr_if.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++ rtemsbsd/local/mmcbus_if.c | 47 ++++++++++++++++++++++++++++++++++ 2 files changed, 111 insertions(+) create mode 100644 rtemsbsd/local/mmcbr_if.c create mode 100644 rtemsbsd/local/mmcbus_if.c (limited to 'rtemsbsd/local') diff --git a/rtemsbsd/local/mmcbr_if.c b/rtemsbsd/local/mmcbr_if.c new file mode 100644 index 00000000..1ce2d263 --- /dev/null +++ b/rtemsbsd/local/mmcbr_if.c @@ -0,0 +1,64 @@ +#include + +/* + * This file is produced automatically. + * Do not modify anything in here by hand. + * + * Created from source file + * freebsd-org/sys/dev/mmc/mmcbr_if.m + * with + * makeobjops.awk + * + * See the source file for legal information + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +struct kobj_method mmcbr_update_ios_method_default = { + &mmcbr_update_ios_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc mmcbr_update_ios_desc = { + 0, &mmcbr_update_ios_method_default +}; + +struct kobj_method mmcbr_request_method_default = { + &mmcbr_request_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc mmcbr_request_desc = { + 0, &mmcbr_request_method_default +}; + +struct kobj_method mmcbr_get_ro_method_default = { + &mmcbr_get_ro_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc mmcbr_get_ro_desc = { + 0, &mmcbr_get_ro_method_default +}; + +struct kobj_method mmcbr_acquire_host_method_default = { + &mmcbr_acquire_host_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc mmcbr_acquire_host_desc = { + 0, &mmcbr_acquire_host_method_default +}; + +struct kobj_method mmcbr_release_host_method_default = { + &mmcbr_release_host_desc, (kobjop_t) kobj_error_method +}; + +struct kobjop_desc mmcbr_release_host_desc = { + 0, &mmcbr_release_host_method_default +}; + 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