Skip to content

Commit

Permalink
Remove a check that is too strict. With BIOSen that specify an IO/ctl…
Browse files Browse the repository at this point in the history
… port

of 0x3f2-0x3f5,0x3f7 the ports are not 7 bytes apart.  This should fix
floppy probing on such systems.  (We handle the case of adjusting for
a start of 0x3f2 -> 0x3f0 separately, although that code should still be
checked if there are still floppy problems for others.)

Tested by:	Sarunas Vancevicius <vsarunas_at_eircom.net>
MFC after:	3 days
  • Loading branch information
Nate Lawson authored and Nate Lawson committed Aug 20, 2004
1 parent 7b38f0d commit 7500723
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sys/dev/fdc/fdc_isa.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,6 @@ fdc_isa_alloc_resources(device_t dev, struct fdc_data *fdc)
fdc->rid_ctl = i;
}
}
if (min_start + 7 != max_start) {
device_printf(dev, "I/O to control range incorrect\n");
return (ENXIO);
}
}

fdc->res_ioport = bus_alloc_resource(dev, SYS_RES_IOPORT,
Expand Down

0 comments on commit 7500723

Please sign in to comment.