summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mpc8260ads/network/if_hdlcsubr.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-22 14:46:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-22 14:46:02 +0000
commit5edbffe3f64131c582839e0bbd389fda5eeb407c (patch)
tree81ab7ce00a76f8f8cae955ef5fac8fb4cd9cc7f1 /c/src/lib/libbsp/powerpc/mpc8260ads/network/if_hdlcsubr.h
parent2001-10-22 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-5edbffe3f64131c582839e0bbd389fda5eeb407c.tar.bz2
01-10-22 Andy Dachs <a.dachs@sstl.co.uk>
* mpc8260ads added as new BSP. tm27 reported not to run at this time. * ChangeLog, Makefile.am, README, aclocal.m4, bsp_specs, clock/.cvsignore, clock/Makefile.am, clock/p_clock.c, configure.in, console/Makefile.am, console/console.c, include/Makefile.am, include/bsp.h, include/coverhd.h, irq/.cvsignore, irq/Makefile.am, irq/irq.c, irq/irq.h, irq/irq_asm.S, irq/irq_init.c, network/Makefile.am, network/README, network/if_hdlcsubr.c, network/if_hdlcsubr.h, network/network.c, start/Makefile.am, start/start.S, startup/Makefile.am, startup/bspstart.c, startup/cpuinit.c, startup/linkcmds, startup/setvec.c, times, vectors/.cvsignore, vectors/Makefile.am, vectors/vectors.S, vectors/vectors.h, vectors/vectors_init.c, wrapup/Makefile.am: New files.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mpc8260ads/network/if_hdlcsubr.h')
-rw-r--r--c/src/lib/libbsp/powerpc/mpc8260ads/network/if_hdlcsubr.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/network/if_hdlcsubr.h b/c/src/lib/libbsp/powerpc/mpc8260ads/network/if_hdlcsubr.h
new file mode 100644
index 0000000000..48faf5a9d3
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/network/if_hdlcsubr.h
@@ -0,0 +1,40 @@
+/*
+ * RTEMS/TCPIP driver for MPC8260 SCC HDLC networking
+ *
+ * Submitted by Andy Dachs <a.dachs@sstl.co.uk>
+ * (c) Surrey Satellite Technology Limited, 2001
+ *
+ * On the ADS board the ethernet interface is connected to FCC2
+ * but in my application I want TCP over HDLC (see README)
+ * so will use SCC3 as the network interface. I have other plans
+ * for the FCCs so am unlikely to add true ethernet support to
+ * this BSP. Contributions welcome!
+ *
+ * COPYRIGHT (c) 1989-1997.
+ * On-Line Applications Research Corporation (OAR).
+ * Copyright assigned to U.S. Government, 1994.
+ *
+ * The license and distribution terms for this file may in
+ * the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+#ifndef __IF_HDLCSUBR_H
+#define __IF_HDLCSUBR_H
+
+
+struct ifnet;
+struct mbuf;
+struct sockaddr;
+struct rtentry;
+
+
+
+void hdlc_ifattach __P((struct ifnet *));
+void hdlc_input __P((struct ifnet *, struct mbuf *));
+int hdlc_output __P((struct ifnet *,
+ struct mbuf *, struct sockaddr *, struct rtentry *));
+int hdlc_ioctl __P((struct ifnet *, int , caddr_t ));
+
+#endif \ No newline at end of file