Subject: Re: PCIBIOS
To: None <uch@nop.or.jp>
From: Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>
List: current-users
Date: 04/28/2000 13:53:18
   Subject: PCIBIOS
Message-ID: <20000428024150Z.uch@nop.or.jp>

$ ftp://f77.nop.or.jp/users/uch/PCI/pcibios000428.patch.gz
$ I want to merge. Any comments? objection?

I test it. It works fine for me.

I think that "it will fix port-i386/9234" and 
some laptop users will be happy.

My dmesg stuff PCIBIOS is below:
PCI BIOS rev. 2.1 found at 0xfedcd
pcibios: config mechanism [1][x], special cycles [x][x], last bus 21
PCI IRQ Routing Table rev. 1.0 found at 0xf0180, size 128 bytes (6 entries)
PCI Interrupt Router at 000:05:0 (Intel 82371FB PCI-to-ISA Bridge (PIIX))
--------------------------------------------
  device vendor product pin PIRQ   IRQ stage
--------------------------------------------
000:02:0 0x1179 0x060a  A   0x00   11  0
000:02:1 0x1179 0x060a  B   0x01   11  0
000:05:2 0x8086 0x7112  D   0x03   11  0
000:09:0 0x1011 0x0019  A   0x03   11  0
000:10:0 0x1179 0x0701  A   0x02   11  0
000:12:0 0x125d 0x1978  A   0x01   11  0
--------------------------------------------
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI bridge 1: primary 0, secondary 2, subordinate 2
PCI bridge 2: primary 0, secondary 3, subordinate 3
PCI bus #3 is the last bus
[System BIOS Setting]-----------------------
  device vendor product
  register space address    size       mask
--------------------------------------------
000:00:0 0x8086 0x7190 
	10h mem  0xf8000000 0x04000000 8
		[OK]
000:01:0 0x8086 0x7191 
	18h mem  0x40010100 0x00000100 0
	1ch mem  0x22a000f0 0x00000010 2a00000
	20h mem  0xffb0ff00 0x00000010 0
	24h mem  0xf7f0f7f0 0x00000010 0
		[OK]
000:02:0 0x1179 0x060a 
	10h mem  0x00000000 0x00001000 0
		[NG]
000:02:1 0x1179 0x060a 
	10h mem  0x00000000 0x00001000 0
		[NG]
000:05:0 0x8086 0x7110 
		[OK]
000:05:1 0x8086 0x7111 
	20h port 0x0000fe60 0x00000010 1
		[OK]
000:05:2 0x8086 0x7112 
	20h port 0x0000ffe0 0x00000020 1
		[OK]
000:05:3 0x8086 0x7113 
		[OK]
000:09:0 0x1011 0x0019 
	10h port 0x0000ff00 0x00000080 1
	14h mem  0xfefffc00 0x00000400 0
		[OK]
000:10:0 0x1179 0x0701 
	10h port 0x0000fee0 0x00000020 1
		[OK]
000:12:0 0x125d 0x1978 
	10h port 0x0000fc00 0x00000100 1
		[OK]
--------------------------[  2 devices bogus]
 Physical memory end: 0x03fdd000
 PCI memory mapped I/O space start: 0x04000000
[PCIBIOS fixup stage]-----------------------
  device vendor product
  register space address    size       mask
--------------------------------------------
000:00:0 0x8086 0x7190 
	10h mem  0xf8000000 0x04000000 8
		[OK]
000:01:0 0x8086 0x7191 
	18h mem  0x40010100 0x00000100 0
	1ch mem  0x02a000f0 0x00000010 2a00000
	20h mem  0xffb0ff00 0x00000010 0
	24h mem  0xf7f0f7f0 0x00000010 0
		[OK]
000:02:0 0x1179 0x060a 
	10h mem  0x04000000 0x00001000 0
		[OK]
000:02:1 0x1179 0x060a 
	10h mem  0x04001000 0x00001000 0
		[OK]
000:05:0 0x8086 0x7110 
		[OK]
000:05:1 0x8086 0x7111 
	20h port 0x0000fe60 0x00000010 1
		[OK]
000:05:2 0x8086 0x7112 
	20h port 0x0000ffe0 0x00000020 1
		[OK]
000:05:3 0x8086 0x7113 
		[OK]
000:09:0 0x1011 0x0019 
	10h port 0x0000ff00 0x00000080 1
	14h mem  0xfefffc00 0x00000400 0
		[OK]
000:10:0 0x1179 0x0701 
	10h port 0x0000fee0 0x00000020 1
		[OK]
000:12:0 0x125d 0x1978 
	10h port 0x0000fc00 0x00000100 1
		[OK]
--------------------------[  0 devices bogus]

---
 Masanori Kanaoka	kana@saijo.mke.mei.co.jp
			kanaoka@ann.hi-ho.ne.jp