Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/scsipi Oops; fix ssrestart().



details:   https://anonhg.NetBSD.org/src/rev/2847aa787ba7
branches:  trunk
changeset: 570017:2847aa787ba7
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Fri Sep 17 23:13:02 2004 +0000

description:
Oops; fix ssrestart().

diffstat:

 sys/dev/scsipi/ss.c |  11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diffs (45 lines):

diff -r cd37705acff9 -r 2847aa787ba7 sys/dev/scsipi/ss.c
--- a/sys/dev/scsipi/ss.c       Fri Sep 17 23:10:50 2004 +0000
+++ b/sys/dev/scsipi/ss.c       Fri Sep 17 23:13:02 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ss.c,v 1.54 2004/09/17 23:10:52 mycroft Exp $  */
+/*     $NetBSD: ss.c,v 1.55 2004/09/17 23:13:02 mycroft Exp $  */
 
 /*
  * Copyright (c) 1995 Kenneth Stailey.  All rights reserved.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ss.c,v 1.54 2004/09/17 23:10:52 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ss.c,v 1.55 2004/09/17 23:13:02 mycroft Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -90,9 +90,6 @@
 
 static void    ssstrategy(struct buf *);
 static void    ssstart(struct scsipi_periph *);
-#if 0
-static void    ssrestart(void *));
-#endif
 static void    ssdone(struct scsipi_xfer *, int);
 static void    ssminphys(struct buf *);
 
@@ -516,15 +513,13 @@
        }
 }
 
-#if 0
-static void
+void
 ssrestart(void *v)
 {
        int s = splbio();
        ssstart((struct scsipi_periph *)v);
        splx(s);
 }
-#endif
 
 static void
 ssdone(struct scsipi_xfer *xs, int error)



Home | Main Index | Thread Index | Old Index