summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/amdmsr.h
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2008-06-18 20:15:55 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2008-06-18 20:15:55 +0000
commite7593dfd3bf30b03bc13c583d7d854d4033623a3 (patch)
tree486d33f9b5be95c75b074f55c11c65cd677ca763 /sys/arch/i386/include/amdmsr.h
parentac238f83fd79da2c18b67cae1451b058c7913d03 (diff)
Attach amdmsr(4) at mainbus in a way that it can be disabled in UKC or the
config file, only configure the driver when we have an AMD Geode LX CPU and the graphics processor is available. mainbus part by miod, ok miod, matthieu
Diffstat (limited to 'sys/arch/i386/include/amdmsr.h')
-rw-r--r--sys/arch/i386/include/amdmsr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arch/i386/include/amdmsr.h b/sys/arch/i386/include/amdmsr.h
index 9e3ca730c70..78abbd689eb 100644
--- a/sys/arch/i386/include/amdmsr.h
+++ b/sys/arch/i386/include/amdmsr.h
@@ -25,4 +25,8 @@ struct amdmsr_req {
#define RDMSR _IOWR('M', 0, struct amdmsr_req)
#define WRMSR _IOW('M', 1, struct amdmsr_req)
+#ifdef _KERNEL
+int amdmsr_probe(void);
+#endif
+
#endif /* !_SYS_AMDMSR_H_ */