diff options
-rw-r--r-- | etc/etc.arm64/MAKEDEV.md | 4 | ||||
-rw-r--r-- | sys/arch/arm64/arm64/conf.c | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/etc/etc.arm64/MAKEDEV.md b/etc/etc.arm64/MAKEDEV.md index a1687f0a62e..16e5dd593a2 100644 --- a/etc/etc.arm64/MAKEDEV.md +++ b/etc/etc.arm64/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,arm64)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.4 2019/12/17 13:08:55 reyk Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.5 2019/12/22 18:18:02 kettenis Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> @@ -66,6 +66,7 @@ _DEV(fdesc, 22) _DEV(fuse, 92) _DEV(gpio, 88) _DEV(hotplug, 82) +_DEV(ipmi, 96) dnl _DEV(joy, 26) _DEV(pci, 72) _DEV(pf, 73) @@ -110,5 +111,6 @@ target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl target(all, vnd, 0, 1, 2, 3)dnl target(all, bktr, 0)dnl target(all, gpio, 0, 1, 2)dnl +target(all, ipmi, 0)dnl target(all, switch, 0, 1, 2, 3)dnl twrget(ramd, wsdisp, ttyC, 0)dnl diff --git a/sys/arch/arm64/arm64/conf.c b/sys/arch/arm64/arm64/conf.c index b4dd68e2505..17aba177828 100644 --- a/sys/arch/arm64/arm64/conf.c +++ b/sys/arch/arm64/arm64/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.9 2019/12/17 13:08:55 reyk Exp $ */ +/* $OpenBSD: conf.c,v 1.10 2019/12/22 18:18:02 kettenis Exp $ */ /* * Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved. @@ -146,6 +146,7 @@ cdev_decl(pci); #include "fuse.h" #include "openprom.h" #include "gpio.h" +#include "ipmi.h" #include "switch.h" struct cdevsw cdevsw[] = @@ -254,7 +255,7 @@ struct cdevsw cdevsw[] = cdev_tun_init(NTUN,tap), /* 93: Ethernet network tunnel */ cdev_notdef(), /* 94 */ cdev_notdef(), /* 95 */ - cdev_notdef(), /* 96 */ + 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 */ }; |