Date: Sun, 23 Apr 2000 10:06:03 +0200 (CEST) From: =?ISO-8859-1?Q?G=E9rard_Roudier?= <groudier@club-internet.fr> To: Jean-Marc Zucconi <jmz@FreeBSD.ORG> Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: sym driver: new experimental version (multi-firmware support) Message-ID: <Pine.LNX.4.10.10004230949390.682-100000@linux.local> In-Reply-To: <200004222041.NAA38107@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 22 Apr 2000, Jean-Marc Zucconi wrote:
> >>>>> Gérard Roudier writes:
>
> > Add support for early NCR53C8XX PCI-SCSI chips:
>
> > - NCR53C810 revision <= 15
>
> It does not work for me. The card is not probed.
As I wrote, I haven't currently a 810 rev < 15 installed on my home
machine and I did the testing by hacking the driver device tables for
a 810a and a 895 to be driven by the NCR generic firmware instead.
I have a machine at work under FreeBSD with a 810 rev. 2 and it is planned
to test the driver on this machine on next tuesday.
Looking into the detection code, I see no obvious reason for the driver
not to accept your controller. If you have time for, you may add some
`printf' in sym_find_pci_chip() and sym_find_firmware() in order to track
the problem.
sym_find_pci_chip() detection loop:
-----------------------------------
Printing device ids and revisions ids before the `if's can help.
...
for (i = 0; i < sym_pci_num_devs; i++) {
chip = &sym_pci_dev_table[i];
if (device_id != chip->device_id)
continue;
if (revision > chip->revision_id)
continue;
return chip;
}
...
sym_find_firmware is a pretty trivial function.
-----------------------------------------------
/*
* Find the most appropriate firmware for a chip.
*/
static struct sym_fw *
sym_find_firmware(struct sym_pci_chip *chip)
{
if (chip->features & FE_LDSTR)
return &sym_fw2;
#ifdef SYM_CONF_GENERIC_SUPPORT
else if (!(chip->features & (FE_PFEN|FE_NOPM|FE_64BIT)))
return &sym_fw1;
#endif
else
return 0;
}
Gérard.
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.4.10.10004230949390.682-100000>
