Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/scsipi Fixes kern/17573: correctly describe the bfi ...



details:   https://anonhg.NetBSD.org/src/rev/cf1c064229d5
branches:  trunk
changeset: 534402:cf1c064229d5
user:      mjacob <mjacob%NetBSD.org@localhost>
date:      Wed Jul 24 23:45:03 2002 +0000

description:
Fixes kern/17573: correctly describe the bfi && physical sector defect list
formats.

Obtained from PR submitter.

diffstat:

 sys/dev/scsipi/scsi_disk.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r ac55c72d9a99 -r cf1c064229d5 sys/dev/scsipi/scsi_disk.h
--- a/sys/dev/scsipi/scsi_disk.h        Wed Jul 24 21:59:00 2002 +0000
+++ b/sys/dev/scsipi/scsi_disk.h        Wed Jul 24 23:45:03 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scsi_disk.h,v 1.20 2001/09/03 17:14:49 thorpej Exp $   */
+/*     $NetBSD: scsi_disk.h,v 1.21 2002/07/24 23:45:03 mjacob Exp $    */
 
 /*
  * SCSI-specific interface description
@@ -121,16 +121,16 @@
 
 /* Bytes from index format */
 struct scsi_defect_descriptor_bfif {
-       u_int8_t cylinder[2];
+       u_int8_t cylinder[3];
        u_int8_t head;
-       u_int8_t bytes_from_index[2];
+       u_int8_t bytes_from_index[4];
 };
 
 /* Physical sector format */
 struct scsi_defect_descriptor_psf {
-       u_int8_t cylinder[2];
+       u_int8_t cylinder[3];
        u_int8_t head;
-       u_int8_t sector[2];
+       u_int8_t sector[4];
 };
 
 /*



Home | Main Index | Thread Index | Old Index