summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2000-12-07 22:19:06 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2000-12-07 22:19:06 +0000
commita3671bc8c8df6fab77be05eb87f515614f04a001 (patch)
tree43ca9afe5b389fd6c1fac54949a5833c10971f84
parent8ffced21e870e854784341d3b23fc0f9261bf052 (diff)
Notes
-rw-r--r--sys/dev/hea/eni_intr.c1
-rw-r--r--sys/dev/hea/eni_vcm.c1
-rw-r--r--sys/dev/hfa/fore_intr.c7
-rw-r--r--sys/dev/hfa/fore_load.c8
-rw-r--r--sys/netatm/atm_if.c4
-rw-r--r--sys/netatm/atm_signal.c1
-rw-r--r--sys/netatm/atm_socket.c1
-rw-r--r--sys/netatm/atm_usrreq.c1
-rw-r--r--sys/netatm/ipatm/ipatm_event.c1
-rw-r--r--sys/netatm/ipatm/ipatm_if.c1
-rw-r--r--sys/netatm/ipatm/ipatm_load.c1
-rw-r--r--sys/netatm/ipatm/ipatm_output.c1
-rw-r--r--sys/netatm/ipatm/ipatm_vcm.c1
-rw-r--r--sys/netatm/spans/spans_cls.c1
-rw-r--r--sys/netatm/spans/spans_subr.c1
-rw-r--r--sys/netatm/uni/sscf_uni.c1
-rw-r--r--sys/netatm/uni/sscf_uni_lower.c1
-rw-r--r--sys/netatm/uni/sscf_uni_upper.c1
-rw-r--r--sys/netatm/uni/sscop.c1
-rw-r--r--sys/netatm/uni/sscop_lower.c1
-rw-r--r--sys/netatm/uni/sscop_subr.c1
-rw-r--r--sys/netatm/uni/sscop_upper.c1
-rw-r--r--sys/netatm/uni/uni_load.c1
-rw-r--r--sys/netatm/uni/uniarp_input.c1
-rw-r--r--sys/netatm/uni/uniarp_output.c1
-rw-r--r--sys/netatm/uni/uniarp_vcm.c1
-rw-r--r--sys/netatm/uni/unisig_encode.c1
-rw-r--r--sys/netatm/uni/unisig_mbuf.c1
-rw-r--r--sys/netatm/uni/unisig_msg.c1
-rw-r--r--sys/netatm/uni/unisig_print.c1
-rw-r--r--sys/netatm/uni/unisig_proto.c1
-rw-r--r--sys/netatm/uni/unisig_sigmgr_state.c1
32 files changed, 36 insertions, 12 deletions
diff --git a/sys/dev/hea/eni_intr.c b/sys/dev/hea/eni_intr.c
index 44506272d926..f5f2f58537be 100644
--- a/sys/dev/hea/eni_intr.c
+++ b/sys/dev/hea/eni_intr.c
@@ -36,6 +36,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/socket.h>
#include <sys/syslog.h>
#include <net/if.h>
diff --git a/sys/dev/hea/eni_vcm.c b/sys/dev/hea/eni_vcm.c
index ec3cd5526549..0af1f32166f1 100644
--- a/sys/dev/hea/eni_vcm.c
+++ b/sys/dev/hea/eni_vcm.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/socket.h>
#include <net/if.h>
#include <netatm/port.h>
diff --git a/sys/dev/hfa/fore_intr.c b/sys/dev/hfa/fore_intr.c
index eebc6ec9fe46..2193a5161b6b 100644
--- a/sys/dev/hfa/fore_intr.c
+++ b/sys/dev/hfa/fore_intr.c
@@ -157,13 +157,8 @@ fore_intr(arg)
/*
* Clear the device interrupt
*/
- switch (fup->fu_config.ac_device) {
-
- case DEV_FORE_PCA200E:
+ if (fup->fu_config.ac_device == DEV_FORE_PCA200E)
PCA200E_HCR_SET(*fup->fu_ctlreg, PCA200E_CLR_HBUS_INT);
- break;
-
- }
aap->aali_intr_sent = CP_WRITE(0);
/*
diff --git a/sys/dev/hfa/fore_load.c b/sys/dev/hfa/fore_load.c
index 70433453f456..be586895cc70 100644
--- a/sys/dev/hfa/fore_load.c
+++ b/sys/dev/hfa/fore_load.c
@@ -499,18 +499,14 @@ fore_reset(fup)
if (fup->fu_ctlreg) {
- switch (fup->fu_config.ac_device) {
-
- case DEV_FORE_PCA200E:
+ if (fup->fu_config.ac_device == DEV_FORE_PCA200E) {
/*
* Reset i960 by setting and clearing RESET
*/
PCA200E_HCR_INIT(*fup->fu_ctlreg, PCA200E_RESET);
DELAY(10000);
PCA200E_HCR_CLR(*fup->fu_ctlreg, PCA200E_RESET);
- break;
-
- }
+ }
}
(void) splx(s);
diff --git a/sys/netatm/atm_if.c b/sys/netatm/atm_if.c
index 42bec3ef56a6..0260ee0b72ab 100644
--- a/sys/netatm/atm_if.c
+++ b/sys/netatm/atm_if.c
@@ -36,6 +36,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
@@ -543,6 +544,9 @@ atm_physif_ioctl(code, data, arg)
case MEDIA_UTP155:
ifp->if_baudrate = 155000000;
break;
+ case MEDIA_UNKNOWN:
+ ifp->if_baudrate = 9600;
+ break;
}
#endif
diff --git a/sys/netatm/atm_signal.c b/sys/netatm/atm_signal.c
index 2e107b5f5897..dc31cfefa8f0 100644
--- a/sys/netatm/atm_signal.c
+++ b/sys/netatm/atm_signal.c
@@ -36,6 +36,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
#include <net/if.h>
diff --git a/sys/netatm/atm_socket.c b/sys/netatm/atm_socket.c
index 649ec8913d56..6d87791bc5a6 100644
--- a/sys/netatm/atm_socket.c
+++ b/sys/netatm/atm_socket.c
@@ -36,6 +36,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
diff --git a/sys/netatm/atm_usrreq.c b/sys/netatm/atm_usrreq.c
index 41c2fd96b664..6965d9c9fd3e 100644
--- a/sys/netatm/atm_usrreq.c
+++ b/sys/netatm/atm_usrreq.c
@@ -36,6 +36,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/protosw.h>
#include <sys/socket.h>
diff --git a/sys/netatm/ipatm/ipatm_event.c b/sys/netatm/ipatm/ipatm_event.c
index 7effe3fcb021..5471ef2f2fc4 100644
--- a/sys/netatm/ipatm/ipatm_event.c
+++ b/sys/netatm/ipatm/ipatm_event.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
diff --git a/sys/netatm/ipatm/ipatm_if.c b/sys/netatm/ipatm/ipatm_if.c
index 7e002af1967e..d0f381c5c484 100644
--- a/sys/netatm/ipatm/ipatm_if.c
+++ b/sys/netatm/ipatm/ipatm_if.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/errno.h>
#include <sys/time.h>
#include <sys/socket.h>
diff --git a/sys/netatm/ipatm/ipatm_load.c b/sys/netatm/ipatm/ipatm_load.c
index 242692c1324e..7112b3be0b7e 100644
--- a/sys/netatm/ipatm/ipatm_load.c
+++ b/sys/netatm/ipatm/ipatm_load.c
@@ -41,6 +41,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/errno.h>
#include <sys/time.h>
#include <sys/kernel.h>
diff --git a/sys/netatm/ipatm/ipatm_output.c b/sys/netatm/ipatm/ipatm_output.c
index 50b8c2f22b8e..431f9ff5ecdb 100644
--- a/sys/netatm/ipatm/ipatm_output.c
+++ b/sys/netatm/ipatm/ipatm_output.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/errno.h>
#include <sys/time.h>
#include <sys/socket.h>
diff --git a/sys/netatm/ipatm/ipatm_vcm.c b/sys/netatm/ipatm/ipatm_vcm.c
index 710de5cc7cdd..aceb80457afc 100644
--- a/sys/netatm/ipatm/ipatm_vcm.c
+++ b/sys/netatm/ipatm/ipatm_vcm.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/errno.h>
#include <sys/time.h>
#include <sys/socket.h>
diff --git a/sys/netatm/spans/spans_cls.c b/sys/netatm/spans/spans_cls.c
index 1d63c6548b32..aff39b2a1e85 100644
--- a/sys/netatm/spans/spans_cls.c
+++ b/sys/netatm/spans/spans_cls.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/errno.h>
#include <sys/time.h>
#include <sys/socket.h>
diff --git a/sys/netatm/spans/spans_subr.c b/sys/netatm/spans/spans_subr.c
index b536ed34519b..5dbee5e70557 100644
--- a/sys/netatm/spans/spans_subr.c
+++ b/sys/netatm/spans/spans_subr.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/errno.h>
#include <sys/time.h>
#include <sys/socket.h>
diff --git a/sys/netatm/uni/sscf_uni.c b/sys/netatm/uni/sscf_uni.c
index d0ebf9d77f78..de9c32af844d 100644
--- a/sys/netatm/uni/sscf_uni.c
+++ b/sys/netatm/uni/sscf_uni.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/errno.h>
#include <sys/time.h>
#include <sys/socket.h>
diff --git a/sys/netatm/uni/sscf_uni_lower.c b/sys/netatm/uni/sscf_uni_lower.c
index 02ffa6b2c37b..d8c36773055b 100644
--- a/sys/netatm/uni/sscf_uni_lower.c
+++ b/sys/netatm/uni/sscf_uni_lower.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
diff --git a/sys/netatm/uni/sscf_uni_upper.c b/sys/netatm/uni/sscf_uni_upper.c
index d88f65dfaddc..8f4d0c8f86d5 100644
--- a/sys/netatm/uni/sscf_uni_upper.c
+++ b/sys/netatm/uni/sscf_uni_upper.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
diff --git a/sys/netatm/uni/sscop.c b/sys/netatm/uni/sscop.c
index 3de4ef0bbd90..9381077d51b1 100644
--- a/sys/netatm/uni/sscop.c
+++ b/sys/netatm/uni/sscop.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/errno.h>
#include <sys/time.h>
#include <sys/socket.h>
diff --git a/sys/netatm/uni/sscop_lower.c b/sys/netatm/uni/sscop_lower.c
index dbaf1c4d668e..bfb8eb7bacca 100644
--- a/sys/netatm/uni/sscop_lower.c
+++ b/sys/netatm/uni/sscop_lower.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
diff --git a/sys/netatm/uni/sscop_subr.c b/sys/netatm/uni/sscop_subr.c
index 3d4beb4521d4..7981813031ca 100644
--- a/sys/netatm/uni/sscop_subr.c
+++ b/sys/netatm/uni/sscop_subr.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
diff --git a/sys/netatm/uni/sscop_upper.c b/sys/netatm/uni/sscop_upper.c
index d1e7c7a9c2fd..107c9741a84d 100644
--- a/sys/netatm/uni/sscop_upper.c
+++ b/sys/netatm/uni/sscop_upper.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
diff --git a/sys/netatm/uni/uni_load.c b/sys/netatm/uni/uni_load.c
index fddc8f2f3aeb..a035254f9dc8 100644
--- a/sys/netatm/uni/uni_load.c
+++ b/sys/netatm/uni/uni_load.c
@@ -41,6 +41,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/errno.h>
#include <sys/time.h>
#include <sys/kernel.h>
diff --git a/sys/netatm/uni/uniarp_input.c b/sys/netatm/uni/uniarp_input.c
index e6f42f452a4f..271fcfd881a7 100644
--- a/sys/netatm/uni/uniarp_input.c
+++ b/sys/netatm/uni/uniarp_input.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
diff --git a/sys/netatm/uni/uniarp_output.c b/sys/netatm/uni/uniarp_output.c
index efc6cbd26431..c83a78f0e687 100644
--- a/sys/netatm/uni/uniarp_output.c
+++ b/sys/netatm/uni/uniarp_output.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
diff --git a/sys/netatm/uni/uniarp_vcm.c b/sys/netatm/uni/uniarp_vcm.c
index 95c3c3ebe852..5903e041e612 100644
--- a/sys/netatm/uni/uniarp_vcm.c
+++ b/sys/netatm/uni/uniarp_vcm.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
diff --git a/sys/netatm/uni/unisig_encode.c b/sys/netatm/uni/unisig_encode.c
index d2e0383f5f9c..227130a75ac8 100644
--- a/sys/netatm/uni/unisig_encode.c
+++ b/sys/netatm/uni/unisig_encode.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/errno.h>
#include <sys/time.h>
#include <sys/socket.h>
diff --git a/sys/netatm/uni/unisig_mbuf.c b/sys/netatm/uni/unisig_mbuf.c
index f5d90cf38a23..5123eccc6d07 100644
--- a/sys/netatm/uni/unisig_mbuf.c
+++ b/sys/netatm/uni/unisig_mbuf.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/errno.h>
#include <sys/time.h>
#include <sys/socket.h>
diff --git a/sys/netatm/uni/unisig_msg.c b/sys/netatm/uni/unisig_msg.c
index 246191d08253..542ce18516a0 100644
--- a/sys/netatm/uni/unisig_msg.c
+++ b/sys/netatm/uni/unisig_msg.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/errno.h>
#include <sys/time.h>
#include <sys/socket.h>
diff --git a/sys/netatm/uni/unisig_print.c b/sys/netatm/uni/unisig_print.c
index 37abbe5cc896..a429da26a0c5 100644
--- a/sys/netatm/uni/unisig_print.c
+++ b/sys/netatm/uni/unisig_print.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <net/if.h>
diff --git a/sys/netatm/uni/unisig_proto.c b/sys/netatm/uni/unisig_proto.c
index 8422b9ab89af..65a9d04988bf 100644
--- a/sys/netatm/uni/unisig_proto.c
+++ b/sys/netatm/uni/unisig_proto.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
diff --git a/sys/netatm/uni/unisig_sigmgr_state.c b/sys/netatm/uni/unisig_sigmgr_state.c
index 4de204ca6d16..f1ada5a015c4 100644
--- a/sys/netatm/uni/unisig_sigmgr_state.c
+++ b/sys/netatm/uni/unisig_sigmgr_state.c
@@ -37,6 +37,7 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/time.h>
#include <sys/socket.h>