diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2020-09-13 14:11:29 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2020-09-13 14:11:29 +0000 |
commit | 5e5c2e2bd92a4bf934d1f107d1f3048629f82bf5 (patch) | |
tree | 28abafce761a357616e435922db932ae3f99d506 | |
parent | 1a355689ed3d6d8078a22023dd207e864873a854 (diff) |
The SMC base address and i/o region size is now queried by acpi(4) and
doesn't need to be hard coded anymore.
-rw-r--r-- | sys/dev/acpi/asmc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/acpi/asmc.c b/sys/dev/acpi/asmc.c index 707226591a1..23e396668f5 100644 --- a/sys/dev/acpi/asmc.c +++ b/sys/dev/acpi/asmc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asmc.c,v 1.1 2020/09/12 07:47:26 mglocker Exp $ */ +/* $OpenBSD: asmc.c,v 1.2 2020/09/13 14:11:28 mglocker Exp $ */ /* * Copyright (c) 2015 Joerg Jung <jung@openbsd.org> * @@ -36,9 +36,6 @@ #include <dev/wscons/wsconsio.h> -#define ASMC_BASE 0x300 /* SMC base address */ -#define ASMC_IOSIZE 32 /* I/O region size 0x300-0x31f */ - #define ASMC_DATA 0x00 /* SMC data port offset */ #define ASMC_COMMAND 0x04 /* SMC command port offset */ #define ASMC_STATUS 0x1e /* SMC status port offset */ |