Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/dev/scsipi Pull up revision 1.27 (requested by abs):



details:   https://anonhg.NetBSD.org/src/rev/04eee3a69a49
branches:  netbsd-1-4
changeset: 470069:04eee3a69a49
user:      he <he%NetBSD.org@localhost>
date:      Mon Jan 17 18:22:14 2000 +0000

description:
Pull up revision 1.27 (requested by abs):
  Allow ioctl() on all scanner device nodes - allows SANE to work.

diffstat:

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

diffs (18 lines):

diff -r 8e431e33ca49 -r 04eee3a69a49 sys/dev/scsipi/ss.c
--- a/sys/dev/scsipi/ss.c       Sun Jan 16 18:01:20 2000 +0000
+++ b/sys/dev/scsipi/ss.c       Mon Jan 17 18:22:14 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ss.c,v 1.25 1999/02/10 12:29:51 bouyer Exp $   */
+/*     $NetBSD: ss.c,v 1.25.2.1 2000/01/17 18:22:14 he Exp $   */
 
 /*
  * Copyright (c) 1995 Kenneth Stailey.  All rights reserved.
@@ -497,8 +497,6 @@
                break;
 #endif
        default:
-               if (SSMODE(dev) != MODE_CONTROL)
-                       return (ENOTTY);
                return (scsipi_do_ioctl(ss->sc_link, dev, cmd, addr, flag, p));
        }
        return (error);



Home | Main Index | Thread Index | Old Index