mmc: Import MMC/SDCard support from libusb

This commit is contained in:
Sebastian Huber
2015-03-16 22:10:36 +01:00
parent 024e064449
commit fc9e83bb68
21 changed files with 7140 additions and 53 deletions

64
rtemsbsd/local/mmcbr_if.c Normal file
View File

@@ -0,0 +1,64 @@
#include <machine/rtems-bsd-kernel-space.h>
/*
* 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 <rtems/bsd/sys/param.h>
#include <sys/queue.h>
#include <sys/kernel.h>
#include <sys/kobj.h>
#include <sys/types.h>
#include <sys/bus.h>
#include <dev/mmc/bridge.h>
#include <dev/mmc/mmcreg.h>
#include <rtems/bsd/local/mmcbr_if.h>
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
};

View File

@@ -0,0 +1,47 @@
#include <machine/rtems-bsd-kernel-space.h>
/*
* 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 <rtems/bsd/sys/param.h>
#include <sys/queue.h>
#include <sys/kernel.h>
#include <sys/kobj.h>
#include <sys/bus.h>
#include <dev/mmc/mmcreg.h>
#include <dev/mmc/bridge.h>
#include <rtems/bsd/local/mmcbus_if.h>
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
};