Subject: Re: Testers needed for pnpbios code
To: None <jchacon@genuity.net>
From: Bernd Ernesti <netbsd@arresum.inka.de>
List: tech-kern
Date: 10/29/2000 10:38:29
On Sun Oct 29 07:52:40 2000, jchacon@genuity.net wrote:
> 
> I have a laptop that the pnpbios returns i/o mappings which come out as
> 
> 3f0-3f5
> 3f7
> 
> which is different than what the code was written to expect (Most machines
> return 3f2-3f5 and 3f7 I beleive). There are also 2 PR's (10117 and 10602)

10117 is mine so I tested it (Asus P2B-LS):

pnpbios0: getting info for index 4
PNP0700 (static): type 0x01 subtype 0x02 dpi 0x00 attr 0x0003:
PNP0700: allocated config scan:
	tag irq flags 01 mask 0040
	tag dma flags 00 mask 04
	tag io flags 01 min 03f2 max 03f2 align 0x00 len 0x04
	tag end cksum 00
	possible config scan:
	tag end cksum 00
	compat id scan:
	tag end cksum 00
PNP0700 (dynamic): type 0x01 subtype 0x02 dpi 0x00 attr 0x0003:
PNP0700: allocated config scan:
	tag irq flags 01 mask 0040
	tag dma flags 00 mask 04
	tag io flags 01 min 03f2 max 03f2 align 0x00 len 0x04
	tag end cksum 00
	possible config scan:
	tag end cksum 00
	compat id scan:
	tag end cksum 00
fdc0 at pnpbios0 index 4 (PNP0700)
fdc0: unable to map CTL I/O space

And now the noteboot:

pnpbios0: getting info for index 21
PNP0700 (static): type 0x01 subtype 0x02 dpi 0x00 attr 0x0090:
PNP0700: allocated config scan:
	tag io flags 01 min 03f0 max 03f0 align 0x08 len 0x06
	tag io flags 01 min 03f7 max 03f7 align 0x01 len 0x01
	tag irq flags 01 mask 0040
	tag dma flags 00 mask 04
	tag end cksum 00
	possible config scan:
	tag startdep flags 01
	tag io flags 01 min 03f0 max 03f0 align 0x08 len 0x06
	tag io flags 01 min 03f7 max 03f7 align 0x01 len 0x01
	tag irq flags 01 mask 0040
	tag dma flags 00 mask 04
	tag enddep
	tag end cksum 00
	compat id scan:
	tag end cksum 00
PNP0700 (dynamic): type 0x01 subtype 0x02 dpi 0x00 attr 0x0090:
PNP0700: allocated config scan:
	tag io flags 01 min 03f0 max 03f0 align 0x08 len 0x06
	tag io flags 01 min 03f7 max 03f7 align 0x01 len 0x01
	tag irq flags 01 mask 0040
	tag dma flags 00 mask 04
	tag end cksum 00
	possible config scan:
	tag startdep flags 01
	tag io flags 01 min 03f0 max 03f0 align 0x08 len 0x06
	tag io flags 01 min 03f7 max 03f7 align 0x01 len 0x01
	tag irq flags 01 mask 0040
	tag dma flags 00 mask 04
	tag enddep
	tag end cksum 00
	compat id scan:
	tag end cksum 00
fdc0 at pnpbios0 index 21 (PNP0700)
fdc0: io 3f0-3f5 3f7, irq 6, dma 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec

So, it fixes the problem on my notebook, but not on the other machine.

Bernd