summaryrefslogtreecommitdiff
path: root/sys/dev/pci/glxvar.h
diff options
context:
space:
mode:
authorPaul Irofti <pirofti@cvs.openbsd.org>2010-10-14 21:23:06 +0000
committerPaul Irofti <pirofti@cvs.openbsd.org>2010-10-14 21:23:06 +0000
commit9c9cf5e82e30158f5b322404363bb7ad65ffbe6d (patch)
treeb70fe0c98526bc9850ed7f97363efb6b6756a764 /sys/dev/pci/glxvar.h
parentdb174ed465747271bae79ec96239d613fc347f3d (diff)
Move glxpcib(4) to MI land unifying the two MD drivers.
Specific features of the companion chip will be handled in MD land. Okay deraadt@.
Diffstat (limited to 'sys/dev/pci/glxvar.h')
-rw-r--r--sys/dev/pci/glxvar.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/dev/pci/glxvar.h b/sys/dev/pci/glxvar.h
new file mode 100644
index 00000000000..93c80a7ccba
--- /dev/null
+++ b/sys/dev/pci/glxvar.h
@@ -0,0 +1,22 @@
+/* $OpenBSD: glxvar.h,v 1.1 2010/10/14 21:23:05 pirofti Exp $ */
+
+/*
+ * Copyright (c) 2009 Miodrag Vallat.
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+void glx_init(pci_chipset_tag_t, pcitag_t, int);
+
+uint64_t rdmsr(uint);
+void wrmsr(uint, uint64_t);