Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sbin/scsictl Pull up revision 1.4 (requested by thorpej...



details:   https://anonhg.NetBSD.org/src/rev/1a918bc8b138
branches:  netbsd-1-6
changeset: 530515:1a918bc8b138
user:      he <he%NetBSD.org@localhost>
date:      Mon Jul 28 17:34:36 2003 +0000

description:
Pull up revision 1.4 (requested by thorpej in ticket #764):
  Several changes/updates to scsictl:
   o Allow specification of logical blocksize
   o Add 'getcache' and 'setcache' commands
   o Add 'tur', 'reserve', 'release', 'start', and 'stop' functions
   o Add an 'immediate' option to do formatting in the background
   o Fix bug in scsi_command -- value in resets is an int not a
     bitmask
   o Fix usage of errx() / warnx() and remove unneeded trailing \n

diffstat:

 sbin/scsictl/extern.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r e8ca68218aa2 -r 1a918bc8b138 sbin/scsictl/extern.h
--- a/sbin/scsictl/extern.h     Sat Jul 26 18:05:56 2003 +0000
+++ b/sbin/scsictl/extern.h     Mon Jul 28 17:34:36 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: extern.h,v 1.3 2001/09/05 16:25:17 thorpej Exp $       */
+/*     $NetBSD: extern.h,v 1.3.2.1 2003/07/28 17:34:36 he Exp $        */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -48,4 +48,5 @@
 void   scsi_command __P((int, void *, size_t, void *, size_t, int, int));
 void   scsi_mode_sense __P((int, u_int8_t, u_int8_t, void *, size_t));
 void   scsi_mode_select __P((int, u_int8_t, void *, size_t));
+void   scsi_request_sense __P((int, void *, size_t));
 void   scsi_strvis __P((char *, size_t, const char *, size_t));



Home | Main Index | Thread Index | Old Index