Date: Sun, 30 Apr 2000 23:44:12 +0200 (CEST) From: =?ISO-8859-1?Q?G=E9rard_Roudier?= <groudier@club-internet.fr> To: freebsd-scsi@freebsd.org Subject: FIX: latest `sym' broke SYM53C896/SYM53C1010 Message-ID: <Pine.LNX.4.10.10004302333280.757-100000@linux.local>
next in thread | raw e-mail | index | archive | help
I just committed the fix in -current. Controllers using SYM53C895 chip were not affected by the problem. Since deltas seem to need time to reach cvsup servers and the bug is hard, I decided to also send it to this list. May-be, we did try too hard this driver version with early NCR chips.:) Gérard. --- /tmp/sym-1.5.1-20000429/sym_hipd.c Sun Apr 30 17:52:38 2000 +++ ./sym_hipd.c Sun Apr 30 21:42:55 2000 @@ -55,9 +55,9 @@ * SUCH DAMAGE. */ -/* $FreeBSD: src/sys/dev/sym/sym_hipd.c,v 1.11 2000/04/29 10:20:16 groudier Exp $ */ +/* $FreeBSD: src/sys/dev/sym/sym_hipd.c,v 1.12 2000/04/30 21:42:55 groudier Exp $ */ -#define SYM_DRIVER_NAME "sym-1.5.1-20000429" +#define SYM_DRIVER_NAME "sym-1.5.2-20000430" #include <pci.h> #include <stddef.h> /* For offsetof */ @@ -1965,10 +1965,10 @@ * These ones are loaded by the SCRIPTS processor. */ scriptb0->pm0_data_addr[0] = - cpu_to_scr(np->scriptb_ba + + cpu_to_scr(np->scripta_ba + offsetof(struct sym_fw2a_scr, pm0_data)); scriptb0->pm1_data_addr[0] = - cpu_to_scr(np->scriptb_ba + + cpu_to_scr(np->scripta_ba + offsetof(struct sym_fw2a_scr, pm1_data)); } 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.10004302333280.757-100000>
