summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdc/fdc_isa.c
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-08-20 16:34:30 +0000
committernjl <njl@FreeBSD.org>2004-08-20 16:34:30 +0000
commit15ee0f253b7dc88cd2f9879c4a473105d778a670 (patch)
tree088d311dc24ef36201fd015dd2345b764d0a85b8 /sys/dev/fdc/fdc_isa.c
parent5c80f32b93dac9cdd43547e4e1b35d91c08c9065 (diff)
downloadFreeBSD-src-15ee0f253b7dc88cd2f9879c4a473105d778a670.zip
FreeBSD-src-15ee0f253b7dc88cd2f9879c4a473105d778a670.tar.gz
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
Diffstat (limited to 'sys/dev/fdc/fdc_isa.c')
-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 c80dba0..4ca67b2 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,
OpenPOWER on IntegriCloud