mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 04:12:51 +00:00
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:
parent
39a0888f8a
commit
2f0fdf5504
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22588
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user