From 79c3f400b15a3a605da2799e2df618f3b4410e62 Mon Sep 17 00:00:00 2001 From: Gerard Roudier Date: Sun, 30 Apr 2000 21:42:55 +0000 Subject: Phase mismatch handling from SCRIPTS had been broken by previous patch. --- sys/dev/sym/sym_hipd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/sym') diff --git a/sys/dev/sym/sym_hipd.c b/sys/dev/sym/sym_hipd.c index 28140a5efec2a..7b4eda766ca90 100644 --- a/sys/dev/sym/sym_hipd.c +++ b/sys/dev/sym/sym_hipd.c @@ -57,7 +57,7 @@ /* $FreeBSD$ */ -#define SYM_DRIVER_NAME "sym-1.5.1-20000429" +#define SYM_DRIVER_NAME "sym-1.5.2-20000430" #include #include /* For offsetof */ @@ -1965,10 +1965,10 @@ sym_fw2_patch(hcb_p np) * 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)); } -- cgit v1.3