From cc483219bc7abc8f5e33317262ccad533ed6343f Mon Sep 17 00:00:00 2001 From: ragge Date: Sat, 10 Jun 2000 19:44:55 +0000 Subject: [PATCH] Must be able to compile without "mtc". --- sys/dev/qbus/uda.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/qbus/uda.c b/sys/dev/qbus/uda.c index 4e8823ce725e..cf2ba4af0441 100644 --- a/sys/dev/qbus/uda.c +++ b/sys/dev/qbus/uda.c @@ -1,4 +1,4 @@ -/* $NetBSD: uda.c,v 1.37 2000/06/05 00:09:19 matt Exp $ */ +/* $NetBSD: uda.c,v 1.38 2000/06/10 19:44:55 ragge Exp $ */ /* * Copyright (c) 1996 Ludd, University of Lule}, Sweden. * Copyright (c) 1988 Regents of the University of California. @@ -252,8 +252,8 @@ err2: bus_dmamem_unmap(sc->sc_dmat, (caddr_t)&sc->sc_uda, * ctlr type it is, we check what is generated and later * set the correct vcid. */ - ma.ma_type = (strcmp(self->dv_cfdata->cf_driver->cd_name, - mtc_cd.cd_name) ? MSCPBUS_DISK : MSCPBUS_TAPE); + ma.ma_type = (strcmp(self->dv_cfdata->cf_driver->cd_name, "mtc") ? + MSCPBUS_DISK : MSCPBUS_TAPE); ma.ma_mc = &uda_mscp_ctlr; ma.ma_type |= MSCPBUS_UDA;