Module Name: src
Committed By: jmcneill
Date: Thu Jan 10 22:06:59 UTC 2013
Modified Files:
src/sys/dev/wsfb: genfb.c
Log Message:
for WSDISPLAYIO_SMODE, if the bus ioctl handler returns EPASSTHROUGH, dont
treat it as an error
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/dev/wsfb/genfb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/wsfb/genfb.c
diff -u src/sys/dev/wsfb/genfb.c:1.49 src/sys/dev/wsfb/genfb.c:1.50
--- src/sys/dev/wsfb/genfb.c:1.49 Wed Jan 9 01:57:59 2013
+++ src/sys/dev/wsfb/genfb.c Thu Jan 10 22:06:59 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: genfb.c,v 1.49 2013/01/09 01:57:59 jmcneill Exp $ */
+/* $NetBSD: genfb.c,v 1.50 2013/01/10 22:06:59 jmcneill Exp $ */
/*-
* Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfb.c,v 1.49 2013/01/09 01:57:59 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfb.c,v 1.50 2013/01/10 22:06:59 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -380,7 +380,7 @@ genfb_ioctl(void *v, void *vs, u_long cm
if (sc->sc_ops.genfb_ioctl)
error = sc->sc_ops.genfb_ioctl(sc, vs,
cmd, data, flag, l);
- if (error)
+ if (error && error != EPASSTHROUGH)
return error;
if (new_mode != sc->sc_mode) {