Added check routine for memory window configuration. The probe

routine of C-NET(98) returns 0 when isa_dev->id_maddr == 0 or
isa_dev->id_msize == 0.
This commit is contained in:
KATO Takenori 1997-02-12 13:39:24 +00:00
parent 39a0888f8a
commit 2f0fdf5504
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22588

View File

@ -2040,6 +2040,9 @@ ed_probe_CNET98(isa_dev)
u_char cmd,sum;
u_char tmp,tmp_s,tmp_e;
if ((isa_dev->id_maddr == 0) || (isa_dev->id_msize == 0))
return 0;
sc->vendor = ED_VENDOR_MISC; /* vendor name */
sc->type_str = "CNET98"; /* board name */
sc->isa16bit = 0; /* 16bit mode off = 0 */