[Midnightbsd-cvs] src [8859] trunk/sys/dev/puc/puc.c: do not require a filter only interrupt handler for puc ports.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Sep 26 09:03:52 EDT 2016
Revision: 8859
http://svnweb.midnightbsd.org/src/?rev=8859
Author: laffer1
Date: 2016-09-26 09:03:52 -0400 (Mon, 26 Sep 2016)
Log Message:
-----------
do not require a filter only interrupt handler for puc ports.
Modified Paths:
--------------
trunk/sys/dev/puc/puc.c
Modified: trunk/sys/dev/puc/puc.c
===================================================================
--- trunk/sys/dev/puc/puc.c 2016-09-26 13:03:14 UTC (rev 8858)
+++ trunk/sys/dev/puc/puc.c 2016-09-26 13:03:52 UTC (rev 8859)
@@ -622,7 +622,7 @@
if (cookiep == NULL || res != port->p_ires)
return (EINVAL);
/* We demand that serdev devices use filter_only interrupts. */
- if (ihand != NULL)
+ if (port->p_type == PUC_TYPE_SERIAL && ihand != NULL)
return (ENXIO);
if (rman_get_device(port->p_ires) != originator)
return (ENXIO);
More information about the Midnightbsd-cvs
mailing list