summaryrefslogtreecommitdiffstats
path: root/sys/dev/ipmi
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-09-22 22:16:20 +0000
committerjhb <jhb@FreeBSD.org>2006-09-22 22:16:20 +0000
commit27a1cd23f4f380a4eb1655bf0cdd2bfee51f1ca9 (patch)
treead0dbf563e9f2495b7d2e55b872a18c36bb4fc6b /sys/dev/ipmi
parentcdd54d372bfbeaef61a9ae75207eb95fcea95a5a (diff)
downloadFreeBSD-src-27a1cd23f4f380a4eb1655bf0cdd2bfee51f1ca9.zip
FreeBSD-src-27a1cd23f4f380a4eb1655bf0cdd2bfee51f1ca9.tar.gz
Map pmap_{un,}mapbios() to pmap_{un,}mapdev() on 6.x and earlier.
Diffstat (limited to 'sys/dev/ipmi')
-rw-r--r--sys/dev/ipmi/ipmi_smbios.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/ipmi/ipmi_smbios.c b/sys/dev/ipmi/ipmi_smbios.c
index 8d2e4dc..dbc11ed 100644
--- a/sys/dev/ipmi/ipmi_smbios.c
+++ b/sys/dev/ipmi/ipmi_smbios.c
@@ -47,6 +47,11 @@ __FBSDID("$FreeBSD$");
#include <dev/ipmi/ipmivars.h>
#endif
+#if __FreeBSD_version < 700020
+#define pmap_mapbios pmap_mapdev
+#define pmap_unmapbios pmap_unmapdev
+#endif
+
struct smbios_table_entry {
uint8_t anchor_string[4];
uint8_t checksum;
OpenPOWER on IntegriCloud