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:
parent
fcc9b408f0
commit
3340e10399
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user