Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/dev/scsipi Pullup 1.127 [pk]:



details:   https://anonhg.NetBSD.org/src/rev/9783e11569f3
branches:  netbsd-1-5
changeset: 490118:9783e11569f3
user:      tv <tv%NetBSD.org@localhost>
date:      Fri Nov 03 18:46:30 2000 +0000

description:
Pullup 1.127 [pk]:
Remove useless check for SDEV_MEDIA_LOADED from st_read_block_limits().
This command should work whether or not media is present in the device.

diffstat:

 sys/dev/scsipi/st.c |  8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diffs (22 lines):

diff -r 4bb2ef14a220 -r 9783e11569f3 sys/dev/scsipi/st.c
--- a/sys/dev/scsipi/st.c       Fri Nov 03 18:45:15 2000 +0000
+++ b/sys/dev/scsipi/st.c       Fri Nov 03 18:46:30 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: st.c,v 1.124 2000/06/09 08:54:29 enami Exp $ */
+/*     $NetBSD: st.c,v 1.124.2.1 2000/11/03 18:46:30 tv Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -1617,12 +1617,6 @@
        int error;
 
        /*
-        * First check if we have it all loaded
-        */
-       if ((sc_link->flags & SDEV_MEDIA_LOADED))
-               return (0);
-
-       /*
         * do a 'Read Block Limits'
         */
        bzero(&cmd, sizeof(cmd));



Home | Main Index | Thread Index | Old Index