diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2013-01-15 20:13:25 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2013-01-15 20:13:25 +0000 |
| commit | 323e149ade49705a10e27543a9d9fe83664367f0 (patch) | |
| tree | 5602ef7e7635c2052908ecf7a591b6bf30c01b94 /sys/dev/puc | |
| parent | 17ebe960a678e143b101ea90f99c1a1ae9335f70 (diff) | |
Notes
Diffstat (limited to 'sys/dev/puc')
| -rw-r--r-- | sys/dev/puc/puc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/puc/puc.c b/sys/dev/puc/puc.c index 7b933061bfa2..d7bfb6339e22 100644 --- a/sys/dev/puc/puc.c +++ b/sys/dev/puc/puc.c @@ -622,7 +622,7 @@ puc_bus_setup_intr(device_t dev, device_t child, struct resource *res, 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); |
