summaryrefslogtreecommitdiffstats
path: root/sys/dev/ieee488/tnt4882.c
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2010-01-23 21:33:33 +0000
committerjoerg <joerg@FreeBSD.org>2010-01-23 21:33:33 +0000
commit042b9762358313c74efdffea26059301544b6174 (patch)
tree57e3ac26fb977f2b2dcb5e1d162028719f1b9b2d /sys/dev/ieee488/tnt4882.c
parentd6d56bade7de371ecbb6e900ae78b63d480d4327 (diff)
downloadFreeBSD-src-042b9762358313c74efdffea26059301544b6174.zip
FreeBSD-src-042b9762358313c74efdffea26059301544b6174.tar.gz
Fix breakage introduced to the tnt4882 driver in r202870. This PCI
frontend uses the same uPD7210 backend as the pcii ISA frontend, so the backend has to cope with both situations. Also, hide the first printf in pcii_probe (address mismatch) behind bootverbose as the ISA bus parent tries to probe all configured ISA devices against each driver, so a the console has been cluttered with this message for a bunch of unrelated driver probes. MFC after: 3 days
Diffstat (limited to 'sys/dev/ieee488/tnt4882.c')
-rw-r--r--sys/dev/ieee488/tnt4882.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/ieee488/tnt4882.c b/sys/dev/ieee488/tnt4882.c
index 1f21731..a4222a6 100644
--- a/sys/dev/ieee488/tnt4882.c
+++ b/sys/dev/ieee488/tnt4882.c
@@ -309,6 +309,9 @@ tnt_attach(device_t dev)
/* No DMA help */
sc->upd7210.dmachan = -1;
+ /* No "special interrupt handling" needed here. */
+ sc->upd7210.irq_clear_res = NULL;
+
upd7210attach(&sc->upd7210);
return (0);
OpenPOWER on IntegriCloud