fixed bug in probe that causes it to complain about 'Invalid irq configuration'

if the interface isn't present in the system.
This commit is contained in:
David Greenman 1993-06-26 02:32:26 +00:00
parent fcc9b408f0
commit 3340e10399
2 changed files with 16 additions and 0 deletions

View File

@ -17,6 +17,10 @@
* Modification history
*
* $Log: if_ed.c,v $
* Revision 1.10 93/06/25 19:23:19 davidg
* fixed bug that caused erroneous 'Invalid irq configuration' message when
* no board is present (during autoconfiguration).
*
* Revision 1.9 93/06/23 03:48:14 davidg
* fixed minor typo introduced when cleaning up probe routine
*
@ -450,6 +454,8 @@ ed_probe(isa_dev)
if (isa_dev->id_iobase != 0x2e0)
return(0);
break;
default:
return(0);
}
/*
@ -473,6 +479,8 @@ ed_probe(isa_dev)
if (kvtop(isa_dev->id_maddr) != ED_3COM_PCFR_C8000)
return(0);
break;
default:
return(0);
}
/*

View File

@ -17,6 +17,10 @@
* Modification history
*
* $Log: if_ed.c,v $
* Revision 1.10 93/06/25 19:23:19 davidg
* fixed bug that caused erroneous 'Invalid irq configuration' message when
* no board is present (during autoconfiguration).
*
* Revision 1.9 93/06/23 03:48:14 davidg
* fixed minor typo introduced when cleaning up probe routine
*
@ -450,6 +454,8 @@ ed_probe(isa_dev)
if (isa_dev->id_iobase != 0x2e0)
return(0);
break;
default:
return(0);
}
/*
@ -473,6 +479,8 @@ ed_probe(isa_dev)
if (kvtop(isa_dev->id_maddr) != ED_3COM_PCFR_C8000)
return(0);
break;
default:
return(0);
}
/*