Phase mismatch handling from SCRIPTS had been

broken by previous patch.
This commit is contained in:
Gerard Roudier 2000-04-30 21:42:55 +00:00
parent dee921f457
commit 79c3f400b1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=59800

View File

@ -57,7 +57,7 @@
/* $FreeBSD$ */
#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 @@ 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));
}