From owner-cvs-all@FreeBSD.ORG Thu Oct 28 19:37:08 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13CF716A4D0; Thu, 28 Oct 2004 19:37:08 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06A0A43D45; Thu, 28 Oct 2004 19:37:08 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i9SJb7wo000707; Thu, 28 Oct 2004 19:37:07 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i9SJb7EX000706; Thu, 28 Oct 2004 19:37:07 GMT (envelope-from imp) Message-Id: <200410281937.i9SJb7EX000706@repoman.freebsd.org> From: Warner Losh Date: Thu, 28 Oct 2004 19:37:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/dev/fdc fdc_isa.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2004 19:37:08 -0000 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