From owner-freebsd-scsi Sun Apr 23 1:31:59 2000 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 88AD137B962; Sun, 23 Apr 2000 01:31:54 -0700 (PDT) (envelope-from groudier@club-internet.fr) Received: from ppp-168-138.villette.club-internet.fr (ppp-168-138.villette.club-internet.fr [195.36.168.138]) by front2.grolier.fr (8.9.3/No_Relay+No_Spam_MGC990224) with ESMTP id KAA14640; Sun, 23 Apr 2000 10:31:51 +0200 (MET DST) Date: Sun, 23 Apr 2000 10:06:03 +0200 (CEST) From: =?ISO-8859-1?Q?G=E9rard_Roudier?= X-Sender: groudier@linux.local To: Jean-Marc Zucconi Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: sym driver: new experimental version (multi-firmware support) In-Reply-To: <200004222041.NAA38107@freefall.freebsd.org> 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 On Sat, 22 Apr 2000, Jean-Marc Zucconi wrote: > >>>>> G=E9rard Roudier writes: >=20 > > Add support for early NCR53C8XX PCI-SCSI chips: >=20 > > - NCR53C810 revision <=3D 15 >=20 > 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=20 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 = =20 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. =2E.. =09for (i =3D 0; i < sym_pci_num_devs; i++) { =09=09chip =3D &sym_pci_dev_table[i]; =09=09if (device_id !=3D chip->device_id) =09=09=09continue; =09=09if (revision > chip->revision_id) =09=09=09continue; =09=09return chip; =09} =2E.. sym_find_firmware is a pretty trivial function. ----------------------------------------------- /* * Find the most appropriate firmware for a chip. */ static struct sym_fw *=20 sym_find_firmware(struct sym_pci_chip *chip) { =09if (chip->features & FE_LDSTR) =09=09return &sym_fw2; #ifdef=09SYM_CONF_GENERIC_SUPPORT =09else if (!(chip->features & (FE_PFEN|FE_NOPM|FE_64BIT))) =09=09return &sym_fw1; #endif =09else =09=09return 0; } G=E9rard. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message