summaryrefslogtreecommitdiff
path: root/sys/dev/ic/slivar.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/slivar.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/slivar.h')
-rw-r--r--sys/dev/ic/slivar.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/ic/slivar.h b/sys/dev/ic/slivar.h
index fd06163e627..723418e740e 100644
--- a/sys/dev/ic/slivar.h
+++ b/sys/dev/ic/slivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: slivar.h,v 1.1 2007/05/15 01:00:15 dlg Exp $ */
+/* $OpenBSD: slivar.h,v 1.2 2007/05/16 04:33:57 dlg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -19,6 +19,13 @@
struct sli_softc {
struct device sc_dev;
struct scsi_link sc_link;
+
+ bus_space_tag_t sc_iot_slim;
+ bus_space_handle_t sc_ioh_slim;
+ bus_size_t sc_ios_slim;
+ bus_space_tag_t sc_iot_reg;
+ bus_space_handle_t sc_ioh_reg;
+ bus_size_t sc_ios_reg;
};
#define DEVNAME(_s) ((_s)->sc_dev.dv_xname)