patch-2.1.23 linux/drivers/ap1000/plc.h
Next file: linux/drivers/ap1000/ringbuf.c
Previous file: linux/drivers/ap1000/plc.c
Back to the patch index
Back to the overall index
- Lines: 54
- Date:
Sun Jan 26 12:07:10 1997
- Orig file:
v2.1.22/linux/drivers/ap1000/plc.h
- Orig date:
Thu Jan 1 02:00:00 1970
diff -u --recursive --new-file v2.1.22/linux/drivers/ap1000/plc.h linux/drivers/ap1000/plc.h
@@ -0,0 +1,53 @@
+ /*
+ * Copyright 1996 The Australian National University.
+ * Copyright 1996 Fujitsu Laboratories Limited
+ *
+ * This software may be distributed under the terms of the Gnu
+ * Public License version 2 or later
+ */
+/*
+ * Definitions for PLC state structures etc.
+ */
+
+struct plc_info {
+ PortType port_type;
+ TimerTwosComplement c_min;
+ TimerTwosComplement tl_min;
+ TimerTwosComplement tb_min;
+ TimerTwosComplement t_out;
+ TimerTwosComplement lc_short;
+ TimerTwosComplement lc_medium;
+ TimerTwosComplement lc_long;
+ TimerTwosComplement lc_extended;
+ TimerTwosComplement t_scrub;
+ TimerTwosComplement ns_max;
+ Counter link_errors;
+ Counter viol_syms;
+ Counter mini_occur;
+ int min_idle_gap;
+ double link_error_rate;
+};
+
+void plc_init(struct plc_info *pip);
+int plc_inited(struct plc_info *pip);
+void pc_start(LoopbackType loopback);
+void plc_sleep(void);
+void plc_poll(void);
+void pc_stop(void);
+void pc_restart(void);
+void pcm_dump_rtcodes(void);
+void pcm_pseudo_code(void);
+void pcm_lct_done(void);
+void pcm_enabled(void);
+void pcm_trace_prop(void);
+
+
+
+
+
+
+
+
+
+
+
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov