Eric or Ron or Stefan,,
I want to who's dev src/superio/NSC/pc87360.
I have tried to copy and modify for winbond/w83627hf to make FDC and Keyboard to work. Some resource can not be set to the several reg.
I add several line in s2282/Config.lb superio winbond/w83627hf link 1 pnp 2e.0 pnp 2e.1 pnp 2e.2 pnp 2e.3 pnp 2e.5 pnp 2e.6 pnp 2e.7 pnp 2e.8 pnp 2e.9 pnp 2e.a pnp 2e.b register "com1" = "{1, 0, 0x3f8, 4}" register "lpt" = "{1}" end
Can you tell why call it 2e...
Regards
YH.
the result will be
Allocating resources... PCI: 04:01.0 missing read_resources PCI: 04:01.0 missing read_resources PCI: 04:01.0 missing read_resources PCI: 01:04.5 missing read_resources PCI: 01:04.6 missing read_resources PCI: 01:04.5 missing read_resources PCI: 01:04.6 missing read_resources ASSIGN RESOURCES, bus 0 PCI: 01:04.5 missing read_resources PCI: 01:04.6 missing read_resources PCI: 00:18.0 c0 <- [0x00001000 - 0x00003fff] node 0 link 0 io PCI: 01:04.5 missing read_resources PCI: 01:04.6 missing read_resources PCI: 00:18.0 b8 <- [0xfd000000 - 0xfe2fffff] node 0 link 0 mem ASSIGN RESOURCES, bus 1 PCI: 01:01.0 1c <- [0x00001000 - 0x00001fff] bus 2 io PCI: 01:01.0 24 <- [0xfe200000 - 0xfe1fffff] bus 2 prefmem PCI: 01:01.0 20 <- [0xfe100000 - 0xfe1fffff] bus 2 mem ASSIGN RESOURCES, bus 2 PCI: 02:06.0 10 <- [0x00001000 - 0x000010ff] io PCI: 02:06.0 14 <- [0xfe140000 - 0xfe141fff] mem PCI: 02:06.0 1c <- [0x00001400 - 0x000014ff] io PCI: 02:06.1 10 <- [0x00001800 - 0x000018ff] io PCI: 02:06.1 14 <- [0xfe142000 - 0xfe143fff] mem PCI: 02:06.1 1c <- [0x00001c00 - 0x00001cff] io PCI: 02:09.0 10 <- [0xfe100000 - 0xfe10ffff] mem PCI: 02:09.0 18 <- [0xfe110000 - 0xfe11ffff] mem PCI: 02:09.1 10 <- [0xfe120000 - 0xfe12ffff] mem PCI: 02:09.1 18 <- [0xfe130000 - 0xfe13ffff] mem ASSIGNED RESOURCES, bus 2 PCI: 01:01.1 10 <- [0xfe200000 - 0xfe200fff] mem PCI: 01:02.0 1c <- [0x00003000 - 0x00002fff] bus 3 io PCI: 01:02.0 24 <- [0xfe200000 - 0xfe1fffff] bus 3 prefmem PCI: 01:02.0 20 <- [0xfe200000 - 0xfe1fffff] bus 3 mem PCI: 01:02.1 10 <- [0xfe201000 - 0xfe201fff] mem PCI: 04:01.0 missing read_resources PCI: 01:03.0 1c <- [0x00002000 - 0x00002fff] bus 4 io PCI: 04:01.0 missing read_resources PCI: 01:03.0 24 <- [0xfe200000 - 0xfe1fffff] bus 4 prefmem PCI: 04:01.0 missing read_resources PCI: 01:03.0 20 <- [0xfd000000 - 0xfeffffff] bus 4 mem ASSIGN RESOURCES, bus 4 PCI: 04:00.0 10 <- [0xfe020000 - 0xfe020fff] mem PCI: 04:00.1 10 <- [0xfe021000 - 0xfe021fff] mem PCI: 04:00.2 10 <- [0xfe025000 - 0xfe0250ff] mem PCI: 04:00.2 14 <- [0xfe026000 - 0xfe02601f] mem PCI: 04:01.0 missing set_resources PCI: 04:05.0 10 <- [0x00002450 - 0x00002457] io PCI: 04:05.0 14 <- [0x00002470 - 0x00002473] io PCI: 04:05.0 18 <- [0x00002460 - 0x00002467] io PCI: 04:05.0 1c <- [0x00002480 - 0x00002483] io PCI: 04:05.0 20 <- [0x00002440 - 0x0000244f] io PCI: 04:05.0 24 <- [0xfe024000 - 0xfe0243ff] mem PCI: 04:06.0 10 <- [0xfd000000 - 0xfdffffff] mem PCI: 04:06.0 14 <- [0x00002000 - 0x000020ff] io PCI: 04:06.0 18 <- [0xfe022000 - 0xfe022fff] mem PCI: 04:08.0 10 <- [0xfe023000 - 0xfe023fff] mem PCI: 04:08.0 14 <- [0x00002400 - 0x0000243f] io PCI: 04:08.0 18 <- [0xfe000000 - 0xfe01ffff] mem ASSIGNED RESOURCES, bus 4 PCI: 01:04.0 00 <- [0x00000000 - 0xffffffff] io PCI: 01:04.0 00 <- [0x00000000 - 0xffffffff] mem ASSIGN RESOURCES, bus 0 PNP: 002e.0 60 <- [0x00003030 - 0x00003037 io ERROR: PNP: 002e.0 70 not allocated ERROR: PNP: 002e.0 74 not allocated PNP: 002e.1 60 <- [0x00003040 - 0x00003047 io ERROR: PNP: 002e.1 70 not allocated ERROR: PNP: 002e.1 74 not allocated PNP: 002e.2 60 <- [0x000003f8 - 0x000003f7 io PNP: 002e.2 70 <- [0x00000004 - 0x00000003 irq PNP: 002e.3 60 <- [0x00003050 - 0x00003057 io ERROR: PNP: 002e.3 70 not allocated PNP: 002e.5 60 <- [0x00000060 - 0x0000005f io PNP: 002e.5 62 <- [0x00000064 - 0x00000063 io PNP: 002e.5 70 <- [0x00000001 - 0x00000000 irq PNP: 002e.5 72 <- [0x0000000c - 0x0000000b irq PNP: 002e.6 60 <- [0x00003060 - 0x00003067 io ERROR: PNP: 002e.6 70 not allocated PNP: 002e.7 60 <- [0x00003090 - 0x00003090 io PNP: 002e.7 62 <- [0x00003080 - 0x00003081 io ERROR: PNP: 002e.7 70 not allocated ERROR: PNP: 002e.a 70 not allocated PNP: 002e.b 60 <- [0x00003070 - 0x00003077 io ERROR: PNP: 002e.b 70 not allocated ASSIGNED RESOURCES, bus 0 PCI: 01:04.1 20 <- [0x00003020 - 0x0000302f] io PCI: 01:04.2 10 <- [0x00003000 - 0x0000301f] io PCI: 01:04.5 missing set_resources PCI: 01:04.6 missing set_resources ASSIGNED RESOURCES, bus 1 ASSIGNED RESOURCES, bus 0 Allocating VGA resource
YhLu YhLu@tyan.com writes:
Eric or Ron or Stefan,,
I want to who's dev src/superio/NSC/pc87360.
I have tried to copy and modify for winbond/w83627hf to make FDC and Keyboard to work. Some resource can not be set to the several reg.
The only piece I am seeing, is that the irq resources that are not hard coded are not being allocated automatically.
The basic problem is that we don't have an irq allocator in LinuxBIOS, We also could use a legacy address allocator as well to automatically put these things at their legacy addresses if possible.
My latest build (still needs to be merged) I just turned off all of the devices I didn't care about which made the irq assignment problems go away. It is a bad long term solution but it is ok in the short term.
Can you tell why call it 2e...
Because that is the base configuration port. Figuring out what kind of paths to use for devices like this is a bit of a challenge.
I forget but I think there was a considerable about of infrastructure in the super.c file you copied that probably should be moved to a generic file some place.
Eric
On Wed, 14 Jan 2004, YhLu wrote:
I add several line in s2282/Config.lb superio winbond/w83627hf link 1 pnp 2e.0
2e means the pnp address is 2e
This also lists all the devices on the superio.
The rest I will have to look at.
ron