On Fri, Mar 22, 2019 at 10:22:15AM +0000, Stuart Henderson wrote:
| $ for i in */conf/GENERIC; do grep -q ^udcf $i && grep -q ^umbg $i || echo 
${i%%/*}; done

Did you want to only find archs which DO have udcf(4) but not umbg(4)?
Because not all of those in your list have udcf.  This adds ubmg where
we already have udcf.

As mentioned, this has not been tested at all.

Index: arm64/conf/GENERIC
===================================================================
RCS file: /home/OpenBSD/cvs/src/sys/arch/arm64/conf/GENERIC,v
retrieving revision 1.96
diff -u -p -r1.96 GENERIC
--- arm64/conf/GENERIC  3 Feb 2019 14:03:36 -0000       1.96
+++ arm64/conf/GENERIC  22 Mar 2019 10:50:20 -0000
@@ -299,6 +299,7 @@ urtw*               at uhub?                # Realtek 8187
 rsu*           at uhub?                # Realtek RTL8188SU/RTL8191SU/RTL8192SU
 urtwn*         at uhub?                # Realtek RTL8188CU/RTL8192CU
 udcf*          at uhub?                # Gude Expert mouseCLOCK
+umbg*          at uhub?                # Meinberg Funkuhren USB5131/DCF600USB
 uthum*         at uhidev?              # TEMPerHUM sensor
 ugold*         at uhidev?              # gold TEMPer sensor
 utrh*          at uhidev?              # USBRH sensor
Index: armv7/conf/GENERIC
===================================================================
RCS file: /home/OpenBSD/cvs/src/sys/arch/armv7/conf/GENERIC,v
retrieving revision 1.121
diff -u -p -r1.121 GENERIC
--- armv7/conf/GENERIC  12 Jan 2019 19:37:16 -0000      1.121
+++ armv7/conf/GENERIC  22 Mar 2019 10:50:34 -0000
@@ -326,6 +326,7 @@ urtw*       at uhub?                # Realtek 8187
 rsu*   at uhub?                # Realtek RTL8188SU/RTL8191SU/RTL8192SU
 urtwn* at uhub?                # Realtek RTL8188CU/RTL8192CU
 udcf*  at uhub?                # Gude Expert mouseCLOCK
+umbg*  at uhub?                # Meinberg Funkuhren USB5131/DCF600USB
 uthum* at uhidev?              # TEMPerHUM sensor
 ugold* at uhidev?              # gold TEMPer sensor
 utrh*  at uhidev?              # USBRH sensor
Index: landisk/conf/GENERIC
===================================================================
RCS file: /home/OpenBSD/cvs/src/sys/arch/landisk/conf/GENERIC,v
retrieving revision 1.53
diff -u -p -r1.53 GENERIC
--- landisk/conf/GENERIC        22 Aug 2018 15:38:46 -0000      1.53
+++ landisk/conf/GENERIC        22 Mar 2019 10:50:53 -0000
@@ -162,6 +162,7 @@ rsu*        at uhub?                # Realtek 
RTL8188SU/RTL81
 urtwn* at uhub?                # Realtek RTL8188CU/RTL8192CU
 zyd*   at uhub?                # Zydas ZD1211
 udcf*  at uhub?                # Gude Expert mouseCLOCK
+umbg*  at uhub?                # Meinberg Funkuhren USB5131/DCF600USB
 uthum* at uhidev?              # TEMPerHUM sensor
 ugold* at uhidev?              # gold TEMPer sensor
 utwitch* at uhidev?            # YUREX BBU sensor
Index: loongson/conf/GENERIC
===================================================================
RCS file: /home/OpenBSD/cvs/src/sys/arch/loongson/conf/GENERIC,v
retrieving revision 1.59
diff -u -p -r1.59 GENERIC
--- loongson/conf/GENERIC       22 Aug 2018 15:38:46 -0000      1.59
+++ loongson/conf/GENERIC       22 Mar 2019 10:51:09 -0000
@@ -192,6 +192,7 @@ wi*         at uhub?        # WaveLAN IEEE 802.11DS
 zyd*           at uhub?        # Zydas ZD1211
 uberry*                at uhub?        # Research In Motion BlackBerry 
 udcf*          at uhub?        # Gude Expert mouseCLOCK
+umbg*          at uhub?        # Meinberg Funkuhren USB5131/DCF600USB
 uthum*         at uhidev?      # TEMPerHUM sensor
 ugold*         at uhidev?      # gold TEMPer sensor
 utwitch*       at uhidev?      # YUREX BBU sensor

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to