diff options
author | dfr <dfr@FreeBSD.org> | 1999-05-08 21:59:43 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1999-05-08 21:59:43 +0000 |
commit | e4989c23fe81c5060ef3a4e0e3bb1bb4430d1a76 (patch) | |
tree | ba748fea961d917292e2b4a959796c7415efbf31 /sys/alpha/tlsb/zs_tlsb.c | |
parent | d1098a6692d3c3b23bc870a491d680451c3356a7 (diff) | |
download | FreeBSD-src-e4989c23fe81c5060ef3a4e0e3bb1bb4430d1a76.zip FreeBSD-src-e4989c23fe81c5060ef3a4e0e3bb1bb4430d1a76.tar.gz |
Move the declaration of the interrupt type from the driver structure
to the BUS_SETUP_INTR call.
Diffstat (limited to 'sys/alpha/tlsb/zs_tlsb.c')
-rw-r--r-- | sys/alpha/tlsb/zs_tlsb.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/alpha/tlsb/zs_tlsb.c b/sys/alpha/tlsb/zs_tlsb.c index 997658c..9ea89d3 100644 --- a/sys/alpha/tlsb/zs_tlsb.c +++ b/sys/alpha/tlsb/zs_tlsb.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: zs_tlsb.c,v 1.8 1999/04/27 11:13:45 phk Exp $ + * $Id: zs_tlsb.c,v 1.9 1999/05/07 10:09:38 phk Exp $ */ /* * This driver is a hopeless hack to get the SimOS console working. A real @@ -114,7 +114,6 @@ static device_method_t zs_methods[] = { static driver_t zs_driver = { "zs", zs_methods, - DRIVER_TYPE_MISC, sizeof(struct zs_softc), }; @@ -415,7 +414,6 @@ static device_method_t zsc_tlsb_methods[] = { static driver_t zsc_tlsb_driver = { "zsc", zsc_tlsb_methods, - DRIVER_TYPE_MISC, sizeof(struct zsc_softc), }; @@ -466,8 +464,8 @@ zsc_tlsb_attach(device_t dev) sc->sc_b = ZS_SOFTC(1); /* XXX should use resource argument to communicate vector */ - return BUS_SETUP_INTR(parent, dev, NULL, zsc_tlsb_intr, sc, - &sc->intr); + return BUS_SETUP_INTR(parent, dev, NULL, INTR_TYPE_TTY, + zsc_tlsb_intr, sc, &sc->intr); return 0; } |