Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 12/17/2000 09:58:38
Module Name:	syssrc
Committed By:	jmc
Date:		Sun Dec 17 07:58:38 UTC 2000

Modified Files:
	syssrc/sys/arch/i386/pnpbios: fdc_pnpbios.c

Log Message:
Change the attach routine so it handles all the known cases that pnpbios
returns for floppy controllers i/o ports. i.e.

1. 1 range of length 4 (which conveniently "forgets" the ctl i/o port),
2. 2 ranges: 1 of length 4 and the ctl i/o port.
3. 1 range of length 6 which goes to the end of the ctl i/o.

Make this line up with the MI fdc code by mapping in a range of 4 on the
base i/o and then either direct or submapping the ctl i/o. In the one case
where the BIOS lies and says it's not there just map it in anyways. (but note
the fact to the end user).


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/i386/pnpbios/fdc_pnpbios.c

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