Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Nov 1999 22:28:19 +0100 (MET)
From:      Gerard Roudier <groudier@club-internet.fr>
To:        Wilko Bulte <wilko@yedi.iaf.nl>
Cc:        scsi@FreeBSD.ORG
Subject:   Re: NEWS: SYM53C1010 and Ultra3 support
Message-ID:  <Pine.LNX.3.95.991126220950.381A-100000@localhost>
In-Reply-To: <199911260909.KAA49959@yedi.iaf.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

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: <PCI bus> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.95.991126220950.381A-100000>