summaryrefslogtreecommitdiffstats
path: root/c/src/libnetworking/pppd/modem_example/modem.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-12-03 15:44:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-12-03 15:44:28 +0000
commit1e4a7d413d1f4a49d0938c059cb44d75adc31774 (patch)
tree96390a3d71334a8eb25cfd6ad47f6611d337e940 /c/src/libnetworking/pppd/modem_example/modem.h
parentMade to compile on other CPU families. (diff)
downloadrtems-1e4a7d413d1f4a49d0938c059cb44d75adc31774.tar.bz2
Modem example driver for ppp by Tomasz Domin <dot@comarch.pl> of ComArch SA.
This was used on a mpc823 based system.
Diffstat (limited to '')
-rw-r--r--c/src/libnetworking/pppd/modem_example/modem.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/c/src/libnetworking/pppd/modem_example/modem.h b/c/src/libnetworking/pppd/modem_example/modem.h
new file mode 100644
index 0000000000..cd4b4db52d
--- /dev/null
+++ b/c/src/libnetworking/pppd/modem_example/modem.h
@@ -0,0 +1,45 @@
+#ifndef _MODEM_H_
+#define _MODEM_H_
+
+void modem_reserve_resources(
+ rtems_configuration_table * configuration
+);
+
+rtems_device_driver modem_initialize(
+ rtems_device_major_number,
+ rtems_device_minor_number,
+ void *
+);
+
+rtems_device_driver modem_open(
+ rtems_device_major_number,
+ rtems_device_minor_number,
+ void *
+);
+
+rtems_device_driver modem_close(
+ rtems_device_major_number,
+ rtems_device_minor_number,
+ void *
+);
+
+rtems_device_driver modem_read(
+ rtems_device_major_number,
+ rtems_device_minor_number,
+ void *
+);
+
+rtems_device_driver modem_write(
+ rtems_device_major_number,
+ rtems_device_minor_number,
+ void *
+);
+
+rtems_device_driver modem_control(
+ rtems_device_major_number,
+ rtems_device_minor_number,
+ void *
+);
+
+
+#endif