summaryrefslogtreecommitdiffstats
path: root/rtems/freebsd/local/miibus_if.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-03-07 09:52:04 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-03-07 09:52:04 -0600
commita9153ec3040f54fa52b68e14dafed2aba7b780ae (patch)
treefda80e3380dfebf7d97868507aa185757852e882 /rtems/freebsd/local/miibus_if.c
downloadrtems-libbsd-a9153ec3040f54fa52b68e14dafed2aba7b780ae.tar.bz2
Initial import
Code is based on FreeBSD 8.2 with USB support from Sebastian Huber and Thomas Doerfler. Initial TCP/IP stack work is from Kevel Kirspel.
Diffstat (limited to 'rtems/freebsd/local/miibus_if.c')
-rw-r--r--rtems/freebsd/local/miibus_if.c61
1 files changed, 61 insertions, 0 deletions
diff --git a/rtems/freebsd/local/miibus_if.c b/rtems/freebsd/local/miibus_if.c
new file mode 100644
index 00000000..fcf76f10
--- /dev/null
+++ b/rtems/freebsd/local/miibus_if.c
@@ -0,0 +1,61 @@
+#include <rtems/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 <rtems/freebsd/sys/param.h>
+#include <rtems/freebsd/sys/queue.h>
+#include <rtems/freebsd/sys/kernel.h>
+#include <rtems/freebsd/sys/kobj.h>
+#include <rtems/freebsd/sys/bus.h>
+#include <rtems/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
+};
+