summaryrefslogtreecommitdiff
path: root/sys/dev/ic/slireg.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-05-16 04:33:58 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-05-16 04:33:58 +0000
commit46395f39999cb5f2fcfda90bcd9e6f3ed6eb90c1 (patch)
tree75b43b5a16528d113c81fbd88fdb789178480ac0 /sys/dev/ic/slireg.h
parent8b0d29bcc34c76f263907e4d69da85a47a1f690f (diff)
map the pci BARs that we're interested in. this gives us access to the
chips registers and io interface, but whats actually in them is still a mystery to me.
Diffstat (limited to 'sys/dev/ic/slireg.h')
-rw-r--r--sys/dev/ic/slireg.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/ic/slireg.h b/sys/dev/ic/slireg.h
index b253f6d9488..264ea13c662 100644
--- a/sys/dev/ic/slireg.h
+++ b/sys/dev/ic/slireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: slireg.h,v 1.1 2007/05/15 01:00:15 dlg Exp $ */
+/* $OpenBSD: slireg.h,v 1.2 2007/05/16 04:33:57 dlg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -15,3 +15,8 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+
+#define SLI_PCI_BAR_SLIM 0x10
+#define SLI_PCI_BAR_REGISTER 0x18
+#define SLI_PCI_BAR_BIU 0x20
+#define SLI_PCI_BAR_REGISTER_IO 0x24