From owner-freebsd-scsi Fri Nov 26 12: 4:33 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from front2.grolier.fr (front2.grolier.fr [194.158.96.52]) by hub.freebsd.org (Postfix) with ESMTP id 24A94150AF for ; Fri, 26 Nov 1999 12:04:28 -0800 (PST) (envelope-from groudier@club-internet.fr) Received: from localhost (ppp-173-122.villette.club-internet.fr [195.36.173.122]) by front2.grolier.fr (8.9.3/No_Relay+No_Spam_MGC990224) with SMTP id VAA02350; Fri, 26 Nov 1999 21:03:34 +0100 (MET) Date: Fri, 26 Nov 1999 22:28:19 +0100 (MET) From: Gerard Roudier X-Sender: groudier@localhost To: Wilko Bulte Cc: scsi@FreeBSD.ORG Subject: Re: NEWS: SYM53C1010 and Ultra3 support In-Reply-To: <199911260909.KAA49959@yedi.iaf.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It was about midnight when I sent you the patch and may-be I should have gone to bed. The patch is obviously wrong. The 2rd parameter is the highest PCI revision id (and not the least) that must match (the ncr uses the least). Since 810a series started ar revision 0x10, the right patch should be: (0x01 changed to 0xf) static struct sym_pci_chip sym_pci_dev_table[] =3D { + {PCI_ID_SYM53C810, 0xf, "810", 4, 8, 4, + 0} + , {PCI_ID_SYM53C810, 0xff, "810a", 4, 8, 4, FE_CACHE_SET|FE_LDSTR|FE_PFEN|FE_BOF} , Btw, I will made a new diff available over the week-end that contains the= =20 fix for this problem and some tiny other ones related to Ultra3. My 810 and 825 are in a separate box that does not need the sym driver. This may explain I missed the chip table was wrong. Btw, it is right on Linux but I indeed cut too many entries in the port.:) Thanks for the help. G=E9rard. On Fri, 26 Nov 1999, Wilko Bulte wrote: > As Gerard Roudier wrote ... >=20 > Hi Gerard, >=20 > After patching the table now looks like: >=20 > static struct sym_pci_chip sym_pci_dev_table[] =3D { > {PCI_ID_SYM53C810, 0x01, "810", 4, 8, 4, > 0} > , > {PCI_ID_SYM53C810, 0xff, "810a", 4, 8, 4, =20 > FE_CACHE_SET|FE_LDSTR|FE_PFEN|FE_BOF} > , > {PCI_ID_SYM53C825, 0xff, "825a", 6, 8, 4, > FE_WIDE|FE_CACHE0_SET|FE_BOF|FE_DFS|FE_LDSTR|FE_PFEN|FE_RAM|FE_DIFF} > , > {PCI_ID_SYM53C860, 0xff, "860", 4, 8, 5, > FE_ULTRA|FE_CLK80|FE_CACHE_SET|FE_BOF|FE_LDSTR|FE_PFEN} >=20 > But I'm afraid it does not work like expected: a fresh kernel says: >=20 > pci0: on pcib0 > sym0: <810a> irq 7 at device 5.0 on pci0 > sym0: No NVRAM, ID 7, Fast-10, parity checking > sym0: open drain IRQ line driver > CACHE TEST FAILED: script execution failed. > start=3D47c625c8, pc=3D47c625d4, end=3D47c625e8 > sym0: CACHE INCORRECTLY CONFIGURED. > device_probe_and_attach: sym0 attach returned 6 > Qlogic ISP Driver, FreeBSD Version 4.0, Core Version 1.11 >=20 > Can I enable extra debugging output maybe to help nail it down? >=20 > Cheers, > =09Wilko To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message