From 30904b9ec5203853cf93dc87c90486260e57fcf2 Mon Sep 17 00:00:00 2001 From: cgd Date: Tue, 18 May 1993 18:02:05 +0000 Subject: [PATCH] if no irq, that is, intenally, d_irq == -2, don't output a vector... --- usr.sbin/config.old/mkioconf.c | 2 +- usr.sbin/config/mkioconf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/config.old/mkioconf.c b/usr.sbin/config.old/mkioconf.c index 117c5440c3ec..676cbb34b518 100644 --- a/usr.sbin/config.old/mkioconf.c +++ b/usr.sbin/config.old/mkioconf.c @@ -798,7 +798,7 @@ struct device *dp; { static char buf[32+20]; - if(dp->d_irq==-1) + if(dp->d_irq==-2) return NULL; sprintf(buf, "V%.32s%d", dp->d_name, dp->d_unit); return buf; diff --git a/usr.sbin/config/mkioconf.c b/usr.sbin/config/mkioconf.c index 117c5440c3ec..676cbb34b518 100644 --- a/usr.sbin/config/mkioconf.c +++ b/usr.sbin/config/mkioconf.c @@ -798,7 +798,7 @@ struct device *dp; { static char buf[32+20]; - if(dp->d_irq==-1) + if(dp->d_irq==-2) return NULL; sprintf(buf, "V%.32s%d", dp->d_name, dp->d_unit); return buf;