aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fdc
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2004-08-20 16:34:30 +0000
committerNate Lawson <njl@FreeBSD.org>2004-08-20 16:34:30 +0000
commit7500723246255e62f83ecdf05d9c8877b2d12cd5 (patch)
tree088d311dc24ef36201fd015dd2345b764d0a85b8 /sys/dev/fdc
parent7b38f0d3c37bd0c91e781e84c66ddce52b3a768f (diff)
downloadsrc-7500723246255e62f83ecdf05d9c8877b2d12cd5.tar.gz
src-7500723246255e62f83ecdf05d9c8877b2d12cd5.zip
Remove a check that is too strict. With BIOSen that specify an IO/ctl 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
Notes
Notes: svn path=/head/; revision=134085
Diffstat (limited to 'sys/dev/fdc')
-rw-r--r--sys/dev/fdc/fdc_isa.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/fdc/fdc_isa.c b/sys/dev/fdc/fdc_isa.c
index c80dba0e21c8..4ca67b241af5 100644
--- a/sys/dev/fdc/fdc_isa.c
+++ b/sys/dev/fdc/fdc_isa.c
@@ -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,