diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2003-09-06 22:24:15 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2003-09-06 22:24:15 +0000 |
commit | 26436ffa8c425e275487cb04c9b48e76cf5c1ff8 (patch) | |
tree | a51a97ddf1c862db85cb17cc6e9ef9781abaefa8 /sys/dev/ic/siopvar.h | |
parent | 82222111187dc4f6b4ee306751765ea7e73df985 (diff) |
A couple of hppa-only changes, allowing siop to work on pci hppa
machines.
Align siop_xfer on 128 byte boundary, and don't use on-board RAM.
Aligning siop_xfer will be made general, post-3.4.
From mickey@.
ok deraadt@ mickey@.
Diffstat (limited to 'sys/dev/ic/siopvar.h')
-rw-r--r-- | sys/dev/ic/siopvar.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/ic/siopvar.h b/sys/dev/ic/siopvar.h index 7cbde2ef2b8..25f74aa6fb2 100644 --- a/sys/dev/ic/siopvar.h +++ b/sys/dev/ic/siopvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: siopvar.h,v 1.6 2002/09/16 00:53:12 krw Exp $ */ +/* $OpenBSD: siopvar.h,v 1.7 2003/09/06 22:24:14 krw Exp $ */ /* $NetBSD: siopvar.h,v 1.18 2002/04/23 20:41:15 bouyer Exp $ */ /* @@ -43,7 +43,12 @@ struct siop_xfer { struct siop_common_xfer siop_tables; /* u_int32_t resel[sizeof(load_dsa) / sizeof(load_dsa[0])]; */ +#ifdef __hppa__ + /* XXX Add some entries to make size 384 bytes (256+128) */ + u_int32_t resel[36]; +#else u_int32_t resel[25]; +#endif } __attribute__((__packed__)); /* |