Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch swwdog(4): Add to GENERIC kernels.



details:   https://anonhg.NetBSD.org/src/rev/791efec56ca8
branches:  trunk
changeset: 371221:791efec56ca8
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Sep 29 10:10:05 2022 +0000

description:
swwdog(4): Add to GENERIC kernels.

Plus a handful of others that I'm familiar with.  Lots of special-
purpose kernels should probably have this too but I'm not going
through all the arm, mips, and ppc evaluation board kernels to see
which ones are relevant.

Omitted from systems I know to be very small:
- sun2/GENERIC
- dreamcast/GENERIC
Feel free to remove it from others that need to be kept smaller.

Compile-tested a few of these just in case:
- alpha/GENERIC
- amd64/GENERIC
- evbmips/OCTEON
- i386/GENERIC
- riscv/GENERIC

PR kern/29702

diffstat:

 sys/arch/acorn32/conf/GENERIC                  |  5 +++--
 sys/arch/alpha/conf/GENERIC                    |  5 +++--
 sys/arch/amd64/conf/GENERIC                    |  5 +++--
 sys/arch/amiga/conf/GENERIC                    |  5 +++--
 sys/arch/amigappc/conf/GENERIC                 |  5 +++--
 sys/arch/arc/conf/GENERIC                      |  5 +++--
 sys/arch/bebox/conf/GENERIC                    |  5 +++--
 sys/arch/cats/conf/GENERIC                     |  3 ++-
 sys/arch/cesfic/conf/GENERIC                   |  3 ++-
 sys/arch/cobalt/conf/GENERIC                   |  5 +++--
 sys/arch/dreamcast/conf/GENERIC                |  3 ++-
 sys/arch/emips/conf/GENERIC                    |  5 +++--
 sys/arch/epoc32/conf/GENERIC                   |  5 +++--
 sys/arch/evbarm/conf/GENERIC.common            |  3 ++-
 sys/arch/evbmips/conf/OCTEON                   |  5 +++--
 sys/arch/evbppc/conf/TWRP1025                  |  5 +++--
 sys/arch/ews4800mips/conf/GENERIC              |  5 +++--
 sys/arch/hp300/conf/GENERIC                    |  5 +++--
 sys/arch/hpcmips/conf/GENERIC                  |  5 +++--
 sys/arch/hpcsh/conf/GENERIC                    |  3 ++-
 sys/arch/hppa/conf/GENERIC                     |  5 +++--
 sys/arch/i386/conf/GENERIC                     |  5 +++--
 sys/arch/ia64/conf/GENERIC                     |  6 +++---
 sys/arch/ibmnws/conf/GENERIC                   |  3 ++-
 sys/arch/iyonix/conf/GENERIC                   |  5 +++--
 sys/arch/landisk/conf/GENERIC                  |  5 +++--
 sys/arch/luna68k/conf/GENERIC                  |  5 +++--
 sys/arch/mipsco/conf/GENERIC                   |  3 ++-
 sys/arch/mmeye/conf/GENERIC                    |  5 +++--
 sys/arch/mvme68k/conf/GENERIC                  |  5 +++--
 sys/arch/mvmeppc/conf/GENERIC                  |  5 +++--
 sys/arch/netwinder/conf/GENERIC                |  3 ++-
 sys/arch/news68k/conf/GENERIC                  |  5 +++--
 sys/arch/newsmips/conf/GENERIC                 |  5 +++--
 sys/arch/ofppc/conf/GENERIC                    |  5 +++--
 sys/arch/playstation2/conf/config.playstation2 |  3 ++-
 sys/arch/pmax/conf/GENERIC                     |  5 +++--
 sys/arch/prep/conf/GENERIC                     |  5 +++--
 sys/arch/riscv/conf/GENERIC                    |  5 +++--
 sys/arch/rs6000/conf/GENERIC                   |  5 +++--
 sys/arch/sandpoint/conf/GENERIC                |  5 +++--
 sys/arch/sbmips/conf/GENERIC                   |  5 +++--
 sys/arch/shark/conf/GENERIC                    |  5 +++--
 sys/arch/sparc/conf/GENERIC                    |  5 +++--
 sys/arch/sparc64/conf/GENERIC                  |  5 +++--
 sys/arch/sun3/conf/GENERIC                     |  5 +++--
 sys/arch/vax/conf/GENERIC                      |  5 +++--
 sys/arch/x68k/conf/GENERIC                     |  5 +++--
 sys/arch/zaurus/conf/GENERIC                   |  3 ++-
 49 files changed, 137 insertions(+), 89 deletions(-)

diffs (truncated from 1171 to 300 lines):

diff -r 89c2fc455ce2 -r 791efec56ca8 sys/arch/acorn32/conf/GENERIC
--- a/sys/arch/acorn32/conf/GENERIC     Thu Sep 29 07:22:49 2022 +0000
+++ b/sys/arch/acorn32/conf/GENERIC     Thu Sep 29 10:10:05 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: GENERIC,v 1.135 2022/08/07 02:52:23 simonb Exp $
+#      $NetBSD: GENERIC,v 1.136 2022/09/29 10:10:05 riastradh Exp $
 #
 #      GENERIC --- NetBSD/acorn32 complete configuration
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.135 $"
+#ident         "GENERIC-$Revision: 1.136 $"
 
 # estimated number of users
 maxusers       32
@@ -321,6 +321,7 @@
 pseudo-device  drvctl                  # user control of drive subsystem
 pseudo-device  ksyms                   # /dev/ksyms
 pseudo-device  putter                  # for puffs and pud
+pseudo-device  swwdog                  # software watchdog timer -- swwdog(4)
 
 #
 # accept filters
diff -r 89c2fc455ce2 -r 791efec56ca8 sys/arch/alpha/conf/GENERIC
--- a/sys/arch/alpha/conf/GENERIC       Thu Sep 29 07:22:49 2022 +0000
+++ b/sys/arch/alpha/conf/GENERIC       Thu Sep 29 10:10:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.415 2022/08/07 02:52:23 simonb Exp $
+# $NetBSD: GENERIC,v 1.416 2022/09/29 10:10:05 riastradh Exp $
 #
 # This machine description file is used to generate the default NetBSD
 # kernel.
@@ -19,7 +19,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-ident          "GENERIC-$Revision: 1.415 $"
+ident          "GENERIC-$Revision: 1.416 $"
 
 maxusers 32
 
@@ -733,6 +733,7 @@
 pseudo-device  bcsp                    # BlueCore Serial Protocol
 pseudo-device  btuart                  # Bluetooth HCI UART (H4)
 pseudo-device  putter                  # for puffs and pud
+pseudo-device  swwdog                  # software watchdog timer -- swwdog(4)
 
 include "dev/veriexec.config"
 
diff -r 89c2fc455ce2 -r 791efec56ca8 sys/arch/amd64/conf/GENERIC
--- a/sys/arch/amd64/conf/GENERIC       Thu Sep 29 07:22:49 2022 +0000
+++ b/sys/arch/amd64/conf/GENERIC       Thu Sep 29 10:10:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.598 2022/09/24 11:05:17 riastradh Exp $
+# $NetBSD: GENERIC,v 1.599 2022/09/29 10:10:05 riastradh Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.598 $"
+#ident         "GENERIC-$Revision: 1.599 $"
 
 maxusers       64              # estimated number of users
 
@@ -1211,6 +1211,7 @@
 pseudo-device  bcsp                    # BlueCore Serial Protocol
 pseudo-device  btuart                  # Bluetooth HCI UART (H4)
 #pseudo-device nvmm                    # NetBSD Virtual Machine Monitor
+pseudo-device  swwdog                  # software watchdog timer -- swwdog(4)
 
 # wscons pseudo-devices
 pseudo-device  wsmux                   # mouse & keyboard multiplexor
diff -r 89c2fc455ce2 -r 791efec56ca8 sys/arch/amiga/conf/GENERIC
--- a/sys/arch/amiga/conf/GENERIC       Thu Sep 29 07:22:49 2022 +0000
+++ b/sys/arch/amiga/conf/GENERIC       Thu Sep 29 10:10:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.336 2022/08/07 02:53:42 simonb Exp $
+# $NetBSD: GENERIC,v 1.337 2022/09/29 10:10:05 riastradh Exp $
 #
 # This file was automatically created.
 # Changes will be lost when make is run in this directory.
@@ -29,7 +29,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.336 $"
+#ident                 "GENERIC-$Revision: 1.337 $"
 
 makeoptions    COPTS="-O2 -fno-reorder-blocks -fno-omit-frame-pointer"
        # See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for
@@ -595,6 +595,7 @@
 pseudo-device  ksyms                   # /dev/ksyms (kernel symbols)
 pseudo-device   bcsp                    # BlueCore Serial Protocol
 pseudo-device   btuart                  # Bluetooth HCI UART (H4)
+pseudo-device  swwdog                  # software watchdog timer -- swwdog(4)
 
 # Veriexec
 include "dev/veriexec.config"
diff -r 89c2fc455ce2 -r 791efec56ca8 sys/arch/amigappc/conf/GENERIC
--- a/sys/arch/amigappc/conf/GENERIC    Thu Sep 29 07:22:49 2022 +0000
+++ b/sys/arch/amigappc/conf/GENERIC    Thu Sep 29 10:10:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.43 2022/08/07 02:52:24 simonb Exp $
+# $NetBSD: GENERIC,v 1.44 2022/09/29 10:10:05 riastradh Exp $
 #
 # GENERIC machine description file
 # 
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident          "GENERIC-$Revision: 1.43 $"
+#ident          "GENERIC-$Revision: 1.44 $"
 
 maxusers       8
 
@@ -429,6 +429,7 @@
 #options       RND_COM                 # use "com" randomness as well (BROKEN)
 
 pseudo-device  ksyms                   # /dev/ksyms (kernel symbols)
+pseudo-device  swwdog                  # software watchdog timer -- swwdog(4)
 
 include "dev/veriexec.config"
 
diff -r 89c2fc455ce2 -r 791efec56ca8 sys/arch/arc/conf/GENERIC
--- a/sys/arch/arc/conf/GENERIC Thu Sep 29 07:22:49 2022 +0000
+++ b/sys/arch/arc/conf/GENERIC Thu Sep 29 10:10:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.201 2022/08/07 02:52:24 simonb Exp $
+# $NetBSD: GENERIC,v 1.202 2022/09/29 10:10:05 riastradh Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.201 $"
+#ident         "GENERIC-$Revision: 1.202 $"
 
 maxusers       32              # estimated number of users
 
@@ -471,6 +471,7 @@
 # rnd works; RND_COM does not on port arc yet.
 #options       RND_COM                 # use "com" randomness as well (BROKEN)
 pseudo-device  clockctl                # user control of clock subsystem
+pseudo-device  swwdog                  # software watchdog timer -- swwdog(4)
 
 # a pseudo device needed for Coda      # also needs CODA (above)
 #pseudo-device vcoda                   # coda minicache <-> venus comm.
diff -r 89c2fc455ce2 -r 791efec56ca8 sys/arch/bebox/conf/GENERIC
--- a/sys/arch/bebox/conf/GENERIC       Thu Sep 29 07:22:49 2022 +0000
+++ b/sys/arch/bebox/conf/GENERIC       Thu Sep 29 10:10:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.167 2022/08/07 02:52:24 simonb Exp $
+# $NetBSD: GENERIC,v 1.168 2022/09/29 10:10:05 riastradh Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.167 $"
+#ident                 "GENERIC-$Revision: 1.168 $"
 
 maxusers       32
 
@@ -306,6 +306,7 @@
 pseudo-device  lockstat                # lock profiling
 #pseudo-device bcsp                    # BlueCore Serial Protocol
 #pseudo-device btuart                  # Bluetooth HCI UART (H4)
+pseudo-device  swwdog                  # software watchdog timer -- swwdog(4)
 
 # a pseudo device needed for Coda      # also needs CODA (above)
 #pseudo-device vcoda                   # coda minicache <-> venus comm.
diff -r 89c2fc455ce2 -r 791efec56ca8 sys/arch/cats/conf/GENERIC
--- a/sys/arch/cats/conf/GENERIC        Thu Sep 29 07:22:49 2022 +0000
+++ b/sys/arch/cats/conf/GENERIC        Thu Sep 29 10:10:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.185 2022/08/07 02:52:24 simonb Exp $
+# $NetBSD: GENERIC,v 1.186 2022/09/29 10:10:05 riastradh Exp $
 #
 # GENERIC machine description file
 #
@@ -552,6 +552,7 @@
 #options       RND_COM                 # use "com" randomness as well (BROKEN)
 pseudo-device  clockctl                # user control of clock subsystem
 pseudo-device  drvctl                  # user control of drive subsystem
+pseudo-device  swwdog                  # software watchdog timer -- swwdog(4)
 
 # a pseudo device needed for Coda      # also needs CODA (above)
 #pseudo-device vcoda                   # coda minicache <-> venus comm.
diff -r 89c2fc455ce2 -r 791efec56ca8 sys/arch/cesfic/conf/GENERIC
--- a/sys/arch/cesfic/conf/GENERIC      Thu Sep 29 07:22:49 2022 +0000
+++ b/sys/arch/cesfic/conf/GENERIC      Thu Sep 29 10:10:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.76 2022/08/07 02:52:24 simonb Exp $
+# $NetBSD: GENERIC,v 1.77 2022/09/29 10:10:05 riastradh Exp $
 #
 # GENERIC machine description file
 # 
@@ -134,5 +134,6 @@
 #pseudo-device npf                     # NPF packet filter
 pseudo-device  clockctl                # user control of clock subsystem
 pseudo-device  ksyms                   # /dev/ksyms
+pseudo-device  swwdog                  # software watchdog timer -- swwdog(4)
 
 include "dev/veriexec.config"
diff -r 89c2fc455ce2 -r 791efec56ca8 sys/arch/cobalt/conf/GENERIC
--- a/sys/arch/cobalt/conf/GENERIC      Thu Sep 29 07:22:49 2022 +0000
+++ b/sys/arch/cobalt/conf/GENERIC      Thu Sep 29 10:10:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.171 2022/08/07 02:52:24 simonb Exp $
+# $NetBSD: GENERIC,v 1.172 2022/09/29 10:10:06 riastradh Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.171 $"
+#ident                 "GENERIC-$Revision: 1.172 $"
 
 maxusers       32
 
@@ -337,6 +337,7 @@
 #options       RND_COM                         # use "com" randomness (BROKEN)
 pseudo-device  clockctl                # user control of clock subsystem
 pseudo-device  nullcons                        # no-op console
+pseudo-device  swwdog                  # software watchdog timer -- swwdog(4)
 
 # A pseudo device needed for Coda              # also needs CODA (above)
 #pseudo-device vcoda                           # coda minicache <-> venus comm.
diff -r 89c2fc455ce2 -r 791efec56ca8 sys/arch/dreamcast/conf/GENERIC
--- a/sys/arch/dreamcast/conf/GENERIC   Thu Sep 29 07:22:49 2022 +0000
+++ b/sys/arch/dreamcast/conf/GENERIC   Thu Sep 29 10:10:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.135 2022/08/07 02:52:25 simonb Exp $
+# $NetBSD: GENERIC,v 1.136 2022/09/29 10:10:06 riastradh Exp $
 #
 # GENERIC machine description file
 # 
@@ -218,6 +218,7 @@
 pseudo-device  drvctl                  # user control of drive subsystem
 pseudo-device  wsmux                   # mouse & keyboard multiplexor
 pseudo-device  ksyms                   # /dev/ksyms
+pseudo-device  swwdog                  # software watchdog timer -- swwdog(4)
 
 # Veriexec
 # include "dev/veriexec.config"
diff -r 89c2fc455ce2 -r 791efec56ca8 sys/arch/emips/conf/GENERIC
--- a/sys/arch/emips/conf/GENERIC       Thu Sep 29 07:22:49 2022 +0000
+++ b/sys/arch/emips/conf/GENERIC       Thu Sep 29 10:10:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.25 2022/08/07 02:52:25 simonb Exp $
+# $NetBSD: GENERIC,v 1.26 2022/09/29 10:10:06 riastradh Exp $
 #
 # GENERIC machine description file
 # 
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.25 $"
+#ident         "GENERIC-$Revision: 1.26 $"
 
 maxusers       64
 
@@ -209,3 +209,4 @@
 
 pseudo-device  clockctl                # user control of clock subsystem
 pseudo-device  ksyms                   # /dev/ksyms
+pseudo-device  swwdog                  # software watchdog timer -- swwdog(4)
diff -r 89c2fc455ce2 -r 791efec56ca8 sys/arch/epoc32/conf/GENERIC
--- a/sys/arch/epoc32/conf/GENERIC      Thu Sep 29 07:22:49 2022 +0000
+++ b/sys/arch/epoc32/conf/GENERIC      Thu Sep 29 10:10:05 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: GENERIC,v 1.16 2022/08/07 02:52:25 simonb Exp $
+#      $NetBSD: GENERIC,v 1.17 2022/09/29 10:10:06 riastradh Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.16 $"
+#ident                 "GENERIC-$Revision: 1.17 $"
 
 maxusers       32                      # estimated number of users
 
@@ -188,6 +188,7 @@



Home | Main Index | Thread Index | Old Index