Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sbus Fix fallout from revision 1.46, and call ether_...



details:   https://anonhg.NetBSD.org/src/rev/47e2d103bc0f
branches:  trunk
changeset: 779838:47e2d103bc0f
user:      jdc <jdc%NetBSD.org@localhost>
date:      Fri Jun 22 11:03:57 2012 +0000

description:
Fix fallout from revision 1.46, and call ether_ioctl() in the default path.
Patch from John D. Baker in PR port-sparc/46572.

diffstat:

 sys/dev/sbus/qe.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3e04df869ece -r 47e2d103bc0f sys/dev/sbus/qe.c
--- a/sys/dev/sbus/qe.c Fri Jun 22 08:47:47 2012 +0000
+++ b/sys/dev/sbus/qe.c Fri Jun 22 11:03:57 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: qe.c,v 1.60 2012/02/02 19:43:06 tls Exp $      */
+/*     $NetBSD: qe.c,v 1.61 2012/06/22 11:03:57 jdc Exp $      */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: qe.c,v 1.60 2012/02/02 19:43:06 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: qe.c,v 1.61 2012/06/22 11:03:57 jdc Exp $");
 
 #define QEDEBUG
 
@@ -956,7 +956,7 @@
                break;
 
        default:
-               error = EINVAL;
+               error = ether_ioctl(ifp, cmd, data);
                break;
        }
 



Home | Main Index | Thread Index | Old Index