Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/scsipi allow ioctl() on all scanner device nodes - n...



details:   https://anonhg.NetBSD.org/src/rev/e1c7bd8d3f03
branches:  trunk
changeset: 480658:e1c7bd8d3f03
user:      abs <abs%NetBSD.org@localhost>
date:      Mon Jan 17 11:25:31 2000 +0000

description:
allow ioctl() on all scanner device nodes - now SANE can work with ss* driver

diffstat:

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

diffs (18 lines):

diff -r c45a4d0aecb2 -r e1c7bd8d3f03 sys/dev/scsipi/ss.c
--- a/sys/dev/scsipi/ss.c       Mon Jan 17 08:34:04 2000 +0000
+++ b/sys/dev/scsipi/ss.c       Mon Jan 17 11:25:31 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ss.c,v 1.26 1999/09/30 22:57:54 thorpej Exp $  */
+/*     $NetBSD: ss.c,v 1.27 2000/01/17 11:25:31 abs 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