Date: Thu, 28 Oct 2004 19:37:07 +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: <200410281937.i9SJb7EX000706@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2004-10-28 19:37:07 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sys/dev/fdc fdc_isa.c
Log:
MFC:
revision 1.16
date: 2004/10/05 07:18:11; author: imp; state: Exp; lines: +4 -4
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...
Approved by: re@ (kensmith)
Forgotten by: imp@
Revision Changes Path
1.9.2.4 +4 -4 src/sys/dev/fdc/fdc_isa.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410281937.i9SJb7EX000706>
