diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-08-09 12:19:33 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-08-09 12:19:33 +0000 |
commit | 8c436ec2613b075cd296f7213e234bd2ae6c6f2e (patch) | |
tree | 1c7db5bf203143d627170f2015ab6b83bb08cdc1 /sys/arch/armv7 | |
parent | 1badf1232f3e154536bba270963bb6519bd550be (diff) |
Define __HAVE_ACPI on arm64 and __HAVE_FDT on arm64, armv7 and octeon
so that we can include firmware-dependant code in generic drivers to be
able to extract metadata information like MAC addresses and out-of-band
interrupts from the ACPI/FDT tables.
ok kettenis@
Diffstat (limited to 'sys/arch/armv7')
-rw-r--r-- | sys/arch/armv7/include/param.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/armv7/include/param.h b/sys/arch/armv7/include/param.h index 7ef21258ee0..4bf05a66f07 100644 --- a/sys/arch/armv7/include/param.h +++ b/sys/arch/armv7/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.2 2016/08/20 19:42:55 kettenis Exp $ */ +/* $OpenBSD: param.h,v 1.3 2018/08/09 12:19:32 patrick Exp $ */ /* * Copyright (c) 1994,1995 Mark Brinicombe. @@ -44,4 +44,8 @@ #define MSGBUFSIZE (8 * PAGE_SIZE) #endif +#ifdef _KERNEL +#define __HAVE_FDT +#endif + #endif /* _MACHINE_PARAM_H_ */ |