summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1997-08-23 21:53:47 +0000
committerse <se@FreeBSD.org>1997-08-23 21:53:47 +0000
commit04d16ead287b8596bc79d47fcdc0bd9f3be30a76 (patch)
treed623bed8abbe826fee2e9aa2d22c2b747de6aab7
parent3c2efe40eee388e83fcbab16d1c5d758f5732bb0 (diff)
downloadFreeBSD-src-04d16ead287b8596bc79d47fcdc0bd9f3be30a76.zip
FreeBSD-src-04d16ead287b8596bc79d47fcdc0bd9f3be30a76.tar.gz
Minor corrections to the code added in rev. 1.100 and 1.101:
- fix features of 53c860 - correctly adjust data structure to cache line boundary (32 bytes) Submitted by: Gerard Roudier <groudier@club-internet.fr>
-rw-r--r--sys/pci/ncr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index 09f3b6f..9a0683c 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: ncr.c,v 1.102 1997/07/29 21:50:04 se Exp $
+** $Id: ncr.c,v 1.103 1997/08/02 14:33:11 bde Exp $
**
** Device driver for the NCR 53C810 PCI-SCSI-Controller.
**
@@ -868,7 +868,7 @@ struct ccb {
** This filler ensure that the global header is
** cache line size aligned.
*/
- ncrcmd filler[2];
+ ncrcmd filler[4];
/*
** during reselection the ncr jumps to this point.
@@ -1346,7 +1346,7 @@ static void ncr_attach (pcici_t tag, int unit);
static char ident[] =
- "\n$Id: ncr.c,v 1.102 1997/07/29 21:50:04 se Exp $\n";
+ "\n$Id: ncr.c,v 1.103 1997/08/02 14:33:11 bde Exp $\n";
static const u_long ncr_version = NCR_VERSION * 11
+ (u_long) sizeof (struct ncb) * 7
@@ -3329,7 +3329,7 @@ static ncr_chip ncr_chip_table[] = {
FE_WIDE|FE_CACHE_SET|FE_BOF|FE_DFS|FE_LDSTR|FE_PFEN|FE_RAM}
,
{NCR_860_ID, 0xff, "ncr 53c860 fast20 scsi", 4, 8, 5,
- FE_WIDE|FE_ULTRA|FE_CLK80|FE_CACHE_SET|FE_BOF|FE_LDSTR|FE_PFEN|FE_RAM}
+ FE_ULTRA|FE_CLK80|FE_CACHE_SET|FE_BOF|FE_LDSTR|FE_PFEN}
,
{NCR_875_ID, 0x01, "ncr 53c875 fast20 wide scsi", 7, 16, 5,
FE_WIDE|FE_ULTRA|FE_CLK80|FE_CACHE_SET|FE_BOF|FE_DFS|FE_LDSTR|FE_PFEN|FE_RAM}
OpenPOWER on IntegriCloud