Subject: CVS commit: src/sys/dev/acpi
To: None <source-changes@NetBSD.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 11/02/2003 11:12:53
Module Name:	src
Committed By:	jdolecek
Date:		Sun Nov  2 11:12:53 UTC 2003

Modified Files:
	src/sys/dev/acpi: acpi_resource.c

Log Message:
acpi_res_parse_ioport(): if the added entry is next to a previous I/O port
entry, just expand the previous entry instead of adding separate mapping

apparently some BIOSes make separate I/O port entries like this, and
some drivers then fail to attach; this change fixes mappings like

	fdc0: io 0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2

to

	fdc0: io 0x3f2-0x3f5,0x3f7 irq 6 drq 2

change tested by Bernd Ernesti


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/sys/dev/acpi/acpi_resource.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.