Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Nov 1999 10:09:54 +0100 (CET)
From:      Wilko Bulte <wilko@yedi.iaf.nl>
To:        groudier@club-internet.fr (Gerard Roudier)
Cc:        scsi@FreeBSD.ORG
Subject:   Re: NEWS: SYM53C1010 and Ultra3 support
Message-ID:  <199911260909.KAA49959@yedi.iaf.nl>
In-Reply-To: <Pine.LNX.3.95.991126014101.1811B-100000@localhost> from Gerard Roudier at "Nov 26, 1999  1:43: 3 am"

next in thread | previous in thread | raw e-mail | index | archive | help
As Gerard Roudier wrote ...

Hi Gerard,

After patching the table now looks like:

static struct sym_pci_chip sym_pci_dev_table[] = {
 {PCI_ID_SYM53C810, 0x01, "810", 4,  8, 4,
 0}
 ,
 {PCI_ID_SYM53C810, 0xff, "810a", 4,  8, 4,      
 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}

But I'm afraid it does not work like expected: a fresh kernel says:

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=47c625c8, pc=47c625d4, end=47c625e8
sym0: CACHE INCORRECTLY CONFIGURED.
device_probe_and_attach: sym0 attach returned 6
Qlogic ISP Driver, FreeBSD Version 4.0, Core Version 1.11

Can I enable extra debugging output maybe to help nail it down?

Cheers,
	Wilko

> Sorry for the stupid trivial bug. The below untested change should help 
> for the driver to ignore the 810.
> 
> --- sym_hipd.c.991126	Fri Nov 26 01:37:51 1999
> +++ sym_hipd.c	Fri Nov 26 01:40:35 1999
> @@ -9515,6 +9515,9 @@
>  #endif /* FreeBSD_4_Bus */
>  
>  static struct sym_pci_chip sym_pci_dev_table[] = {
> + {PCI_ID_SYM53C810, 0x01, "810", 4,  8, 4,
> + 0}
> + ,
>   {PCI_ID_SYM53C810, 0xff, "810a", 4,  8, 4,
>   FE_CACHE_SET|FE_LDSTR|FE_PFEN|FE_BOF}
>   ,

-- 
|   / o / /  _  	Arnhem, The Netherlands	  - Powered by FreeBSD -
|/|/ / / /( (_) Bulte 	WWW : http://www.tcja.nl  http://www.freebsd.org


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?199911260909.KAA49959>