Date: Tue, 5 Oct 2004 07:18:11 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/fdc fdc_isa.c Message-ID: <200410050718.i957IBAP024422@repoman.freebsd.org>
index | next in thread | raw e-mail
imp 2004-10-05 07:18:11 UTC
FreeBSD src repository
Modified files:
sys/dev/fdc fdc_isa.c
Log:
Yet another case of resources:
+ * 9: 0x3f0-0x3f3,0x3f4-0x3f5,0x3f7
This requires only one change to support. Rather than keying on the
size of the resource being 2, instead key off the end & 7 being 3.
This covers the same cases that the size of 2 would catch, but also
covers the new above case.
In addition, I think it is clearer to use the end in preference to the
size and start for case #8 as well. Turns two tests into one, and
catches no other cases.
Make minor commentary changes to deal with new case #9.
# This change is specifically minimal to allow easy MFC. A more
# extensive change will go into current once I've had a chance to test
# it on a lot of hardware...
Revision Changes Path
1.16 +4 -4 src/sys/dev/fdc/fdc_isa.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410050718.i957IBAP024422>
