Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/pmax/dev Catch up with (2 month old!) changes to de...



details:   https://anonhg.NetBSD.org/src/rev/6756810b7b42
branches:  trunk
changeset: 512170:6756810b7b42
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat Jul 07 07:52:02 2001 +0000

description:
Catch up with (2 month old!) changes to dev/scsipi/scsi_all.h so pmax MD
SCSI kernels work.

diffstat:

 sys/arch/pmax/dev/rz.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 3b3f6f054e18 -r 6756810b7b42 sys/arch/pmax/dev/rz.c
--- a/sys/arch/pmax/dev/rz.c    Sat Jul 07 07:51:37 2001 +0000
+++ b/sys/arch/pmax/dev/rz.c    Sat Jul 07 07:52:02 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rz.c,v 1.63 2001/04/25 17:53:20 bouyer Exp $   */
+/*     $NetBSD: rz.c,v 1.64 2001/07/07 07:52:02 simonb Exp $   */
 
 /*
  * Copyright (c) 1992, 1993
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: rz.c,v 1.63 2001/04/25 17:53:20 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rz.c,v 1.64 2001/07/07 07:52:02 simonb Exp $");
 
 /*
  * SCSI CCS (Command Command Set) disk driver.
@@ -219,7 +219,7 @@
 #define rzpart(x)      (minor(x) & 0x7)
 
 struct scsi_mode_sense_data {
-       struct scsi_mode_header header;
+       struct scsipi_mode_header header;
        struct scsi_blk_desc blk_desc;
        union scsi_disk_pages pages;
 };
@@ -1410,7 +1410,7 @@
        struct scsi_mode_sense_data *scsipi_sense;
        int page, pagelen, flags;
 {
-       struct scsi_mode_sense scsipi_cmd;
+       struct scsipi_mode_sense scsipi_cmd;
        int nbytes;
 
        /*
@@ -1423,7 +1423,7 @@
        bzero(&scsipi_cmd, sizeof(scsipi_cmd));
        scsipi_cmd.opcode = SCSI_MODE_SENSE;
        scsipi_cmd.page = page;
-       scsipi_cmd.length = 0x20;       /* XXX verbatim from MI scsi sd.c */
+       scsipi_cmd.u_len.scsi.length = 0x20;    /* XXX verbatim from MI scsi sd.c */
 
        /*
         * If the command worked, use the results to fill out



Home | Main Index | Thread Index | Old Index