if no irq, that is, intenally, d_irq == -2, don't output a vector...

This commit is contained in:
cgd 1993-05-18 18:02:05 +00:00
parent 23af7ea092
commit 30904b9ec5
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;