Message fixed in repo, should have been: Adjust MSCP attach routines. The current code worked fine on simh-vax, but unfortunately failed on at least one 'real' SCSI MSCP adaptor. In the updated code mscp_attach() still iterates over each unit on a bus, but mscp_dorsp() now detects if we have reached the last unit and does not return a bogus additional unit. It also loses a few gotos and handles noncontiguous unit betters better.
On 10 July 2012 23:30, David Brownlee <a...@netbsd.org> wrote: > Module Name: src > Committed By: abs > Date: Tue Jul 10 22:30:24 UTC 2012 > > Modified Files: > src/sys/dev/mscp: mscp.c mscp.h mscp_disk.c mscp_subr.c > > Log Message: > Adjust MSCP attach routines. The current code worked fine on simh-vax, but > unfortunately failed on at least one 'real' SCSI MSCP adaptor. > In the updated code > mscp_dorsp() > > > To generate a diff of this commit: > cvs rdiff -u -r1.34 -r1.35 src/sys/dev/mscp/mscp.c > cvs rdiff -u -r1.8 -r1.9 src/sys/dev/mscp/mscp.h > cvs rdiff -u -r1.72 -r1.73 src/sys/dev/mscp/mscp_disk.c > cvs rdiff -u -r1.42 -r1.43 src/sys/dev/mscp/mscp_subr.c > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. >