Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 11/08/1997 11:30:05
jonathan
Sat Nov  8 03:28:16 PST 1997
Update of /a/cvsroot/src/sys/arch/pmax/dev
In directory netbsd1:/var/slash-tmp/cvs-serv8732

Modified Files:
	rz.c 
Log Message:
Add MODE SENSE code from MI scsi sd.c to rz.c.
 * add includes for sys/dev/scsipi headers.
 * cut-and-paste mode_sense and disk-geometry sense code from sd.c,
   with name changes sd -> rz.
 * Write `rz_command()' to send SCSI sense commands based on
   existing rz size-sensing code.
 * get geometry info with page 4 and page 5 mode sense.
 * use resulting geom info for default label, fake label, and when
   using ultrix labels. (ultrix labels have no geometry info).

Fixes incrrect-label bugs with using sysinst to install onto
Ultrix-labelled disks.