Subject: CVS commit: [bjh21-wd33c93] src/sys/dev/ic
To: None <>
From: Ben Harris <>
List: source-changes
Date: 08/28/2006 21:57:54
Module Name:	src
Committed By:	bjh21
Date:		Mon Aug 28 21:57:54 UTC 2006

Modified Files:
	src/sys/dev/ic [bjh21-wd33c93]: wd33c93.c wd33c93var.h

Log Message:
Rather than doing lots of sums every time we need to convert between
SCSI transfer period factors and WD33C93 TPx bits, build a little lookup
table of the available TPFs at startup and use that.  This is rather
easier to understand than the old way.

Connectedly, remove code that tested for sc_minsync==0, since that couldn't
reasonably be true.  Clients can use cf_flags to disable sync negotiation
if necessary.

To generate a diff of this commit:
cvs rdiff -r1.6.2.1 -r1.6.2.2 src/sys/dev/ic/wd33c93.c
cvs rdiff -r1.1.2.1 -r1.1.2.2 src/sys/dev/ic/wd33c93var.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.