diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2020-01-23 02:40:23 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2020-01-23 02:40:23 +0000 |
commit | 94c195c3601999a9f61b5f206c6c9ff29e3b0323 (patch) | |
tree | 92d3dc26e81e77208310c61b009ec7ef2d000a34 /sys | |
parent | b39475a1faa6d7fd0b5bbcde94de3a490bd3a008 (diff) |
wire up pppac(4) to some majors on each arch.
i was lazy and just put them at the end of the existing set. fyi,
i think major 51 is free on all archs if anyone is looking for
another one.
ok claudio@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/alpha/alpha/conf.c | 3 | ||||
-rw-r--r-- | sys/arch/amd64/amd64/conf.c | 3 | ||||
-rw-r--r-- | sys/arch/arm/arm/conf.c | 3 | ||||
-rw-r--r-- | sys/arch/arm64/arm64/conf.c | 3 | ||||
-rw-r--r-- | sys/arch/hppa/hppa/conf.c | 3 | ||||
-rw-r--r-- | sys/arch/i386/i386/conf.c | 3 | ||||
-rw-r--r-- | sys/arch/landisk/landisk/conf.c | 3 | ||||
-rw-r--r-- | sys/arch/loongson/loongson/conf.c | 3 | ||||
-rw-r--r-- | sys/arch/luna88k/luna88k/conf.c | 3 | ||||
-rw-r--r-- | sys/arch/macppc/macppc/conf.c | 3 | ||||
-rw-r--r-- | sys/arch/octeon/octeon/conf.c | 3 | ||||
-rw-r--r-- | sys/arch/sgi/sgi/conf.c | 3 | ||||
-rw-r--r-- | sys/arch/sparc64/sparc64/conf.c | 3 |
13 files changed, 26 insertions, 13 deletions
diff --git a/sys/arch/alpha/alpha/conf.c b/sys/arch/alpha/alpha/conf.c index 533c8c9359c..ba22561c1ef 100644 --- a/sys/arch/alpha/alpha/conf.c +++ b/sys/arch/alpha/alpha/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.85 2019/12/17 13:08:54 reyk Exp $ */ +/* $OpenBSD: conf.c,v 1.86 2020/01/23 02:40:21 dlg Exp $ */ /* $NetBSD: conf.c,v 1.16 1996/10/18 21:26:57 cgd Exp $ */ /*- @@ -204,6 +204,7 @@ struct cdevsw cdevsw[] = cdev_tun_init(NTUN,tap), /* 68: Ethernet network tunnel */ cdev_switch_init(NSWITCH,switch), /* 69: switch(4) control interface */ cdev_fido_init(NFIDO,fido), /* 70: FIDO/U2F security key */ + cdev_pppx_init(NPPPX,pppac), /* 71: PPP Access Concentrator */ }; int nchrdev = nitems(cdevsw); diff --git a/sys/arch/amd64/amd64/conf.c b/sys/arch/amd64/amd64/conf.c index d456a10c054..330dcbf8e10 100644 --- a/sys/arch/amd64/amd64/conf.c +++ b/sys/arch/amd64/amd64/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.66 2020/01/21 16:16:22 mpi Exp $ */ +/* $OpenBSD: conf.c,v 1.67 2020/01/23 02:40:21 dlg Exp $ */ /* * Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved. @@ -300,6 +300,7 @@ struct cdevsw cdevsw[] = cdev_ipmi_init(NIPMI,ipmi), /* 96: ipmi */ cdev_switch_init(NSWITCH,switch), /* 97: switch(4) control interface */ cdev_fido_init(NFIDO,fido), /* 98: FIDO/U2F security keys */ + cdev_pppx_init(NPPPX,pppac), /* 99: PPP Access Concentrator */ }; int nchrdev = nitems(cdevsw); diff --git a/sys/arch/arm/arm/conf.c b/sys/arch/arm/arm/conf.c index 2491a459225..11ca6622462 100644 --- a/sys/arch/arm/arm/conf.c +++ b/sys/arch/arm/arm/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.53 2020/01/21 16:16:22 mpi Exp $ */ +/* $OpenBSD: conf.c,v 1.54 2020/01/23 02:40:21 dlg Exp $ */ /* $NetBSD: conf.c,v 1.10 2002/04/19 01:04:38 wiz Exp $ */ /* @@ -381,6 +381,7 @@ struct cdevsw cdevsw[] = { cdev_tun_init(NTUN,tap), /* 104: Ethernet tap */ cdev_switch_init(NSWITCH,switch), /* 105: switch(4) control interface */ cdev_fido_init(NFIDO,fido), /* 106: FIDO/U2F security key */ + cdev_pppx_init(NPPPX,pppac), /* 107: PPP Access Concentrator */ }; int nblkdev = nitems(bdevsw); diff --git a/sys/arch/arm64/arm64/conf.c b/sys/arch/arm64/arm64/conf.c index d7c814e58c0..2d98de8f62e 100644 --- a/sys/arch/arm64/arm64/conf.c +++ b/sys/arch/arm64/arm64/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.11 2020/01/21 16:16:22 mpi Exp $ */ +/* $OpenBSD: conf.c,v 1.12 2020/01/23 02:40:21 dlg Exp $ */ /* * Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved. @@ -259,6 +259,7 @@ struct cdevsw cdevsw[] = cdev_ipmi_init(NIPMI,ipmi), /* 96: ipmi */ cdev_switch_init(NSWITCH,switch), /* 97: switch(4) control interface */ cdev_fido_init(NFIDO,fido), /* 98: FIDO/U2F security key */ + cdev_pppx_init(NPPPX,pppac), /* 99: PPP Access Concentrator */ }; int nchrdev = nitems(cdevsw); diff --git a/sys/arch/hppa/hppa/conf.c b/sys/arch/hppa/hppa/conf.c index ff36e34aca4..a2de2e78726 100644 --- a/sys/arch/hppa/hppa/conf.c +++ b/sys/arch/hppa/hppa/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.67 2019/12/17 13:08:55 reyk Exp $ */ +/* $OpenBSD: conf.c,v 1.68 2020/01/23 02:40:21 dlg Exp $ */ /*- * Copyright (c) 1991 The Regents of the University of California. @@ -188,6 +188,7 @@ struct cdevsw cdevsw[] = cdev_tun_init(NTUN,tap), /* 59: Ethernet network tunnel */ cdev_switch_init(NSWITCH,switch), /* 60: switch(4) control interface */ cdev_fido_init(NFIDO,fido), /* 61: FIDO/U2F security key */ + cdev_pppx_init(NPPPX,pppac), /* 62: PPP Access Concentrator */ }; int nchrdev = nitems(cdevsw); diff --git a/sys/arch/i386/i386/conf.c b/sys/arch/i386/i386/conf.c index c624c06c0f6..4b305c20f44 100644 --- a/sys/arch/i386/i386/conf.c +++ b/sys/arch/i386/i386/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.165 2020/01/21 16:16:22 mpi Exp $ */ +/* $OpenBSD: conf.c,v 1.166 2020/01/23 02:40:21 dlg Exp $ */ /* $NetBSD: conf.c,v 1.75 1996/05/03 19:40:20 christos Exp $ */ /* @@ -293,6 +293,7 @@ struct cdevsw cdevsw[] = cdev_ipmi_init(NIPMI,ipmi), /* 96: ipmi */ cdev_switch_init(NSWITCH,switch), /* 97: switch(4) control interface */ cdev_fido_init(NFIDO,fido), /* 98: FIDO/U2F security key */ + cdev_pppx_init(NPPPX,pppac), /* 99: PPP Access Concentrator */ }; int nchrdev = nitems(cdevsw); diff --git a/sys/arch/landisk/landisk/conf.c b/sys/arch/landisk/landisk/conf.c index e2d891c673a..b4f236fd8cb 100644 --- a/sys/arch/landisk/landisk/conf.c +++ b/sys/arch/landisk/landisk/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.40 2020/01/21 16:16:22 mpi Exp $ */ +/* $OpenBSD: conf.c,v 1.41 2020/01/23 02:40:21 dlg Exp $ */ /* * Copyright (c) 1994-1998 Mark Brinicombe. @@ -355,6 +355,7 @@ struct cdevsw cdevsw[] = { cdev_tun_init(NTUN,tap), /* 104: Ethernet network tap */ cdev_switch_init(NSWITCH,switch), /* 105: switch(4) control interface */ cdev_fido_init(NFIDO,fido), /* 106: FIDO/U2F security key */ + cdev_pppx_init(NPPPX,pppac), /* 107: PPP Access Concentrator */ }; int nblkdev = nitems(bdevsw); diff --git a/sys/arch/loongson/loongson/conf.c b/sys/arch/loongson/loongson/conf.c index ff0fa19e6de..e996376616d 100644 --- a/sys/arch/loongson/loongson/conf.c +++ b/sys/arch/loongson/loongson/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.27 2020/01/21 16:16:22 mpi Exp $ */ +/* $OpenBSD: conf.c,v 1.28 2020/01/23 02:40:21 dlg Exp $ */ /* * Copyright (c) 1992, 1993 @@ -226,6 +226,7 @@ struct cdevsw cdevsw[] = cdev_notdef(), /* 86 */ cdev_drm_init(NDRM,drm), /* 87: drm */ cdev_fido_init(NFIDO,fido), /* 88: FIDO/U2F security key */ + cdev_pppx_init(NPPPX,pppac), /* 89: PPP Access Concentrator */ }; int nchrdev = nitems(cdevsw); diff --git a/sys/arch/luna88k/luna88k/conf.c b/sys/arch/luna88k/luna88k/conf.c index 571593d55a4..62bade4f97b 100644 --- a/sys/arch/luna88k/luna88k/conf.c +++ b/sys/arch/luna88k/luna88k/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.32 2020/01/21 16:16:23 mpi Exp $ */ +/* $OpenBSD: conf.c,v 1.33 2020/01/23 02:40:21 dlg Exp $ */ /*- * Copyright (c) 1991 The Regents of the University of California. @@ -160,6 +160,7 @@ struct cdevsw cdevsw[] = cdev_pppx_init(NPPPX,pppx), /* 55: pppx */ cdev_tun_init(NTUN,tap), /* 56: Ethernet network tunnel */ cdev_switch_init(NSWITCH,switch), /* 57: switch(4) control interface */ + cdev_pppx_init(NPPPX,pppac), /* 58: PPP Access Concentrator */ }; int nchrdev = nitems(cdevsw); diff --git a/sys/arch/macppc/macppc/conf.c b/sys/arch/macppc/macppc/conf.c index 8907b7ce398..5885cdac2b6 100644 --- a/sys/arch/macppc/macppc/conf.c +++ b/sys/arch/macppc/macppc/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.70 2020/01/21 16:16:23 mpi Exp $ */ +/* $OpenBSD: conf.c,v 1.71 2020/01/23 02:40:21 dlg Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -229,6 +229,7 @@ struct cdevsw cdevsw[] = { cdev_fuse_init(NFUSE,fuse), /* 88: fuse */ cdev_switch_init(NSWITCH,switch), /* 89: switch(4) control interface */ cdev_fido_init(NFIDO,fido), /* 90: FIDO/U2F security key */ + cdev_pppx_init(NPPPX,pppac), /* 91: PPP Access Concentrator */ }; int nchrdev = nitems(cdevsw); diff --git a/sys/arch/octeon/octeon/conf.c b/sys/arch/octeon/octeon/conf.c index 4447d97c1ab..a9a9cda2f62 100644 --- a/sys/arch/octeon/octeon/conf.c +++ b/sys/arch/octeon/octeon/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.23 2020/01/21 16:16:23 mpi Exp $ */ +/* $OpenBSD: conf.c,v 1.24 2020/01/23 02:40:21 dlg Exp $ */ /* * Copyright (c) 1992, 1993 @@ -233,6 +233,7 @@ struct cdevsw cdevsw[] = cdev_tun_init(NTUN,tap), /* 74: Ethernet network tunnel */ cdev_switch_init(NSWITCH,switch), /* 75: switch(4) control interface */ cdev_fido_init(NFIDO,fido), /* 76: FIDO/U2F security key */ + cdev_pppx_init(NPPPX,pppac), /* 77: PPP Access Concentrator */ }; int nchrdev = nitems(cdevsw); diff --git a/sys/arch/sgi/sgi/conf.c b/sys/arch/sgi/sgi/conf.c index 7d9baf94a9b..5b0a9d5b429 100644 --- a/sys/arch/sgi/sgi/conf.c +++ b/sys/arch/sgi/sgi/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.41 2020/01/21 16:16:23 mpi Exp $ */ +/* $OpenBSD: conf.c,v 1.42 2020/01/23 02:40:21 dlg Exp $ */ /* * Copyright (c) 1992, 1993 @@ -213,6 +213,7 @@ struct cdevsw cdevsw[] = cdev_tun_init(NTUN,tap), /* 74: Ethernet network tunnel */ cdev_switch_init(NSWITCH,switch), /* 75: switch(4) control interface */ cdev_fido_init(NFIDO,fido), /* 76: FIDO/U2F security key */ + cdev_pppx_init(NPPPX,pppac), /* 77: PPP Access Concentrator */ }; int nchrdev = nitems(cdevsw); diff --git a/sys/arch/sparc64/sparc64/conf.c b/sys/arch/sparc64/sparc64/conf.c index 9cba85deb65..fcb23b6c5cc 100644 --- a/sys/arch/sparc64/sparc64/conf.c +++ b/sys/arch/sparc64/sparc64/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.82 2020/01/21 16:16:23 mpi Exp $ */ +/* $OpenBSD: conf.c,v 1.83 2020/01/23 02:40:22 dlg Exp $ */ /* $NetBSD: conf.c,v 1.17 2001/03/26 12:33:26 lukem Exp $ */ /* @@ -295,6 +295,7 @@ struct cdevsw cdevsw[] = cdev_tun_init(NTUN,tap), /* 135: Ethernet network tunnel */ cdev_switch_init(NSWITCH,switch), /* 136: switch(4) control interface */ cdev_fido_init(NFIDO,fido), /* 137: FIDO/U2F security key */ + cdev_pppx_init(NPPPX,pppac), /* 138: PPP Access Concentrator */ }; int nchrdev = nitems(cdevsw); |