diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-12-03 15:44:28 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-12-03 15:44:28 +0000 |
commit | 1e4a7d413d1f4a49d0938c059cb44d75adc31774 (patch) | |
tree | 96390a3d71334a8eb25cfd6ad47f6611d337e940 /c/src/libnetworking/pppd/modem_example/modem.h | |
parent | Made to compile on other CPU families. (diff) | |
download | rtems-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.h | 45 |
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
|