The 1010-66 always generate AIP values on the bus, regardless of the SCNTL4
settings. Disable AIP completely, as this confuse pre-Ultra160 drives. From FreeBSD.
This commit is contained in:
parent
567e3c10bc
commit
eefc140c02
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: siop_common.c,v 1.32 2003/01/31 00:26:31 thorpej Exp $ */
|
||||
/* $NetBSD: siop_common.c,v 1.33 2004/03/10 22:02:53 bouyer Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000, 2002 Manuel Bouyer.
|
||||
|
@ -33,7 +33,7 @@
|
|||
/* SYM53c7/8xx PCI-SCSI I/O Processors driver */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: siop_common.c,v 1.32 2003/01/31 00:26:31 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: siop_common.c,v 1.33 2004/03/10 22:02:53 bouyer Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -193,6 +193,9 @@ siop_common_reset(sc)
|
|||
1 << sc->sc_chan.chan_id);
|
||||
bus_space_write_1(sc->sc_rt, sc->sc_rh, SIOP_DCNTL,
|
||||
(sc->features & SF_CHIP_PF) ? DCNTL_COM | DCNTL_PFEN : DCNTL_COM);
|
||||
if (sc->features & SF_CHIP_AAIP)
|
||||
bus_space_write_1(sc->sc_rt, sc->sc_rh,
|
||||
SIOP_AIPCNTL1, AIPCNTL1_DIS);
|
||||
|
||||
/* enable clock doubler or quadruler if appropriate */
|
||||
if (sc->features & (SF_CHIP_DBLR | SF_CHIP_QUAD)) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: siopvar_common.h,v 1.26 2003/11/10 08:51:52 wiz Exp $ */
|
||||
/* $NetBSD: siopvar_common.h,v 1.27 2004/03/10 22:02:53 bouyer Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000 Manuel Bouyer.
|
||||
|
@ -170,6 +170,7 @@ struct siop_common_softc {
|
|||
#define SF_CHIP_DFBC 0x00020000 /* Use DFBC register */
|
||||
#define SF_CHIP_DT 0x00040000 /* DT clocking */
|
||||
#define SF_CHIP_GEBUG 0x00080000 /* SCSI gross error bug */
|
||||
#define SF_CHIP_AAIP 0x00100000 /* Always generate AIP regardless of SNCTL4*/
|
||||
|
||||
#define SF_PCI_RL 0x01000000 /* PCI read line */
|
||||
#define SF_PCI_RM 0x02000000 /* PCI read multiple */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: siop_pci_common.c,v 1.21 2003/10/25 21:31:20 christos Exp $ */
|
||||
/* $NetBSD: siop_pci_common.c,v 1.22 2004/03/10 22:02:53 bouyer Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000 Manuel Bouyer.
|
||||
|
@ -32,7 +32,7 @@
|
|||
/* SYM53c8xx PCI-SCSI I/O Processors driver: PCI front-end */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: siop_pci_common.c,v 1.21 2003/10/25 21:31:20 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: siop_pci_common.c,v 1.22 2004/03/10 22:02:53 bouyer Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -192,6 +192,7 @@ const struct siop_product_desc siop_products[] = {
|
|||
SF_PCI_RL | SF_PCI_CLS | SF_PCI_WRI | SF_PCI_RM |
|
||||
SF_CHIP_LEDC | SF_CHIP_FIFO | SF_CHIP_PF | SF_CHIP_RAM |
|
||||
SF_CHIP_LS | SF_CHIP_10REGS | SF_CHIP_DFBC | SF_CHIP_DBLR | SF_CHIP_DT |
|
||||
SF_CHIP_AAIP |
|
||||
SF_BUS_ULTRA3 | SF_BUS_WIDE,
|
||||
7, 62, 0, 62, 8192
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue