diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-12-03 21:43:36 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-12-03 21:43:36 +0000 |
commit | 374132a48661c8761bff970cf02630c948b05ba2 (patch) | |
tree | 7e61dab2ef531b6ff9a9be61ed873c0a8d77707e /sys/dev/pci | |
parent | 94830ce395b0cadf46d62dce924e37a23a95d406 (diff) |
Move "struct head header" in struct ncb down to where it used to
be. Found by Ken, fixed by Niklas.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/ncr.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/sys/dev/pci/ncr.c b/sys/dev/pci/ncr.c index b2458859639..c6a30369dd3 100644 --- a/sys/dev/pci/ncr.c +++ b/sys/dev/pci/ncr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ncr.c,v 1.32 1997/12/01 18:58:48 millert Exp $ */ +/* $OpenBSD: ncr.c,v 1.33 1997/12/03 21:43:35 millert Exp $ */ /* $NetBSD: ncr.c,v 1.63 1997/09/23 02:39:15 perry Exp $ */ /************************************************************************** @@ -1069,6 +1069,7 @@ struct ccb { */ struct ncb { +#ifndef __OpenBSD__ /* ** The global header. ** Accessible to both the host and the @@ -1076,6 +1077,7 @@ struct ncb { ** We assume it is cache line size aligned. */ struct head header; +#endif #ifdef __OpenBSD__ struct device sc_dev; @@ -1227,6 +1229,16 @@ struct ncb { u_long disc_phys; u_long disc_ref; +#ifdef __OpenBSD__ + /* + ** The global header. + ** Accessible to both the host and the + ** script-processor. + ** We assume it is cache line size aligned. + */ + struct head header; +#endif + /* ** The global control block. ** It's used only during the configuration phase. @@ -1449,7 +1461,7 @@ static void ncr_attach (pcici_t tag, int unit); #if 0 static char ident[] = - "\n$OpenBSD: ncr.c,v 1.32 1997/12/01 18:58:48 millert Exp $\n"; + "\n$OpenBSD: ncr.c,v 1.33 1997/12/03 21:43:35 millert Exp $\n"; #endif static const u_long ncr_version = NCR_VERSION * 11 |