Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/qbus Must be able to compile without "mtc".



details:   https://anonhg.NetBSD.org/src/rev/b2640d1abf13
branches:  trunk
changeset: 487656:b2640d1abf13
user:      ragge <ragge%NetBSD.org@localhost>
date:      Sat Jun 10 19:44:55 2000 +0000

description:
Must be able to compile without "mtc".

diffstat:

 sys/dev/qbus/uda.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 278babf6b647 -r b2640d1abf13 sys/dev/qbus/uda.c
--- a/sys/dev/qbus/uda.c        Sat Jun 10 19:34:46 2000 +0000
+++ b/sys/dev/qbus/uda.c        Sat Jun 10 19:44:55 2000 +0000
@@ -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 @@
         * 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;



Home | Main Index | Thread Index | Old Index