mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: PCI Subsystem
@ 2001-12-11 16:13 Tyler BIRD
  0 siblings, 0 replies; 2+ messages in thread
From: Tyler BIRD @ 2001-12-11 16:13 UTC (permalink / raw)
  To: jens_krueger, mj, linux-kernel

You probably could compile your drivers as modules and load them
with io ports on the command line.  Then they would for sure use the right ports.
I don't know why you aren't receiving the correct io/ports from the PCI Config Address Space
does your driver take advantage of the the PCI standard

>>> Jens Krüger <jens_krueger@frm2.tu-muenchen.de> 12/11/01 05:26AM >>>
Hi, 
I have a little problem with the PCI subsystem. I tried to use two cards of 
the Meilhaus Co.. If I use the PCI access mode 'any' I don't get the right 
I/O ports of the cards. Next I tried the access mode 'Direct' ( the output of 
the lspci -v  command is listed in the attached file lspci.direct) and the 
access mode 'BIOS' (the output is stored in the file lspci.bios). There are 
some little differences in the output, but all seems the same except the 
output of the two Meilhaus cards. I have no idea for this behaviour. I tried 
these cards under DOS and I got the same information as for the BIOS access 
mode (the programm access the BIOS too), but in this mode all other cards 
especially network card and USB don't work, so I can't  use this mode. My 
question: Is there any idea (or hack) to solve this problem? 

With regards 

Jens
-- 

Jens Krnger

Technische UniversitSt Mnnchen
ZBE FRM-II
Lichtenberg-Str. 1
D-85747 Garching

Tel: + 49 89 289 14 716
Fax: + 49 89 289 14 666
mailto:jens_krueger@frm2.tu-muenchen.de 
http://www.frm2.tu-muenchen.de


^ permalink raw reply	[flat|nested] 2+ messages in thread

* PCI Subsystem
@ 2001-12-11 12:26 Jens Krüger
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Krüger @ 2001-12-11 12:26 UTC (permalink / raw)
  To: linux-kernel, Martin Mares

[-- Attachment #1: Type: text/plain, Size: 1067 bytes --]

Hi, 
I have a little problem with the PCI subsystem. I tried to use two cards of 
the Meilhaus Co.. If I use the PCI access mode 'any' I don't get the right 
I/O ports of the cards. Next I tried the access mode 'Direct' ( the output of 
the lspci -v  command is listed in the attached file lspci.direct) and the 
access mode 'BIOS' (the output is stored in the file lspci.bios). There are 
some little differences in the output, but all seems the same except the 
output of the two Meilhaus cards. I have no idea for this behaviour. I tried 
these cards under DOS and I got the same information as for the BIOS access 
mode (the programm access the BIOS too), but in this mode all other cards 
especially network card and USB don't work, so I can't  use this mode. My 
question: Is there any idea (or hack) to solve this problem? 

With regards 

Jens
-- 

Jens Krüger

Technische Universität München
ZBE FRM-II
Lichtenberg-Str. 1
D-85747 Garching

Tel: + 49 89 289 14 716
Fax: + 49 89 289 14 666
mailto:jens_krueger@frm2.tu-muenchen.de
http://www.frm2.tu-muenchen.de

[-- Attachment #2: output  from lspci -v with PCI-BIOS access --]
[-- Type: text/plain, Size: 3360 bytes --]

00:00.0 Host bridge: Intel Corporation 82810E GMCH [Graphics Memory Controller Hub] (rev 03)
	Flags: bus master, fast devsel, latency 0

00:01.0 VGA compatible controller: Intel Corporation 82810E CGC [Chipset Graphics Controller] (rev 03) (prog-if 00 [VGA])
	Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 10
	Memory at 80000000 (32-bit, prefetchable)
	Memory at c0000000 (32-bit, non-prefetchable)
	Capabilities: [dc] Power Management version 1

00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=02, sec-latency=64
	I/O behind bridge: 00009000-0000efff
	Memory behind bridge: c0100000-c04fffff
	Prefetchable memory behind bridge: 84000000-843fffff

00:1f.0 ISA bridge: Intel Corporation 82801AA ISA Bridge (LPC) (rev 02)
	Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corporation 82801AA IDE (rev 02) (prog-if 80 [Master])
	Subsystem: Intel Corporation 82801AA IDE
	Flags: bus master, medium devsel, latency 0
	I/O ports at fc00

00:1f.2 USB Controller: Intel Corporation 82801AA USB (rev 02) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation 82801AA USB
	Flags: bus master, medium devsel, latency 0, IRQ 10
	I/O ports at f800

00:1f.3 SMBus: Intel Corporation 82801AA SMBus (rev 02)
	Subsystem: Intel Corporation 82801AA SMBus
	Flags: medium devsel, IRQ 10
	I/O ports at f400

01:04.0 Ethernet controller: Intel Corporation 82559ER (rev 09)
	Flags: bus master, medium devsel, latency 64, IRQ 10
	Memory at c0100000 (32-bit, non-prefetchable)
	I/O ports at ee00
	Memory at c0120000 (32-bit, non-prefetchable)
	Capabilities: [dc] Power Management version 2

01:06.0 PCI bridge: Texas Instruments: Unknown device ac28 (prog-if 00 [Normal decode])
	Flags: bus master, medium devsel, latency 64
	Bus: primary=01, secondary=02, subordinate=02, sec-latency=64
	I/O behind bridge: 00009000-0000dfff
	Memory behind bridge: c0200000-c03fffff
	Prefetchable memory behind bridge: 0000000084100000-0000000084200000
	Capabilities: [dc] Power Management version 1

02:09.0 Communication controller: Applied Micro Circuits Corporation: Unknown device 0005
	Flags: bus master, fast devsel, latency 64, IRQ 10
	Memory at c0200000 (32-bit, non-prefetchable)
	Memory at c0204000 (32-bit, non-prefetchable)
	Memory at c0208000 (32-bit, non-prefetchable)

02:0a.0 Class ff00: Computer Boards: Unknown device 000e
	Flags: bus master, fast devsel, latency 64, IRQ 10
	I/O ports at de00
	I/O ports at da00
	I/O ports at d600

02:0b.0 Class ff00: Applied Micro Circuits Corporation: Unknown device 80fc
	Flags: medium devsel, IRQ 10
	I/O ports at d200
	I/O ports at ce00
	I/O ports at ca00

02:0e.0 Multiport serial controller: Meilhaus Electronic GmbH: Unknown device 9154 (rev 01)
	Subsystem: Unknown device 0004:9912
	Flags: medium devsel, IRQ 10
	I/O ports at c600
	I/O ports at c200
	I/O ports at be00
	I/O ports at ba00

02:0f.0 Signal processing controller: Meilhaus Electronic GmbH: Unknown device 0960 (rev 01)
	Subsystem: Unknown device 00d4:9903
	Flags: medium devsel, IRQ 10
	Memory at c0208080 (32-bit, non-prefetchable)
	I/O ports at b600
	I/O ports at b200
	Memory at c0208100 (32-bit, non-prefetchable)
	Memory at c0210000 (32-bit, non-prefetchable)
	Memory at c0240000 (32-bit, non-prefetchable)


[-- Attachment #3: output from lspci -v with PCI-DIRECT access --]
[-- Type: text/plain, Size: 3757 bytes --]

00:00.0 Host bridge: Intel Corporation 82810E GMCH [Graphics Memory Controller Hub] (rev 03)
	Flags: bus master, fast devsel, latency 0

00:01.0 VGA compatible controller: Intel Corporation 82810E CGC [Chipset Graphics Controller] (rev 03) (prog-if 00 [VGA])
	Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 10
	Memory at 80000000 (32-bit, prefetchable) [size=64M]
	Memory at c0000000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: [dc] Power Management version 1

00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=02, sec-latency=64
	I/O behind bridge: 00009000-0000efff
	Memory behind bridge: c0100000-c04fffff
	Prefetchable memory behind bridge: 84000000-843fffff

00:1f.0 ISA bridge: Intel Corporation 82801AA ISA Bridge (LPC) (rev 02)
	Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corporation 82801AA IDE (rev 02) (prog-if 80 [Master])
	Subsystem: Intel Corporation 82801AA IDE
	Flags: bus master, medium devsel, latency 0
	I/O ports at fc00 [size=16]

00:1f.2 USB Controller: Intel Corporation 82801AA USB (rev 02) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation 82801AA USB
	Flags: bus master, medium devsel, latency 0, IRQ 10
	I/O ports at f800 [size=32]

00:1f.3 SMBus: Intel Corporation 82801AA SMBus (rev 02)
	Subsystem: Intel Corporation 82801AA SMBus
	Flags: medium devsel, IRQ 10
	I/O ports at f400 [size=16]

01:04.0 Ethernet controller: Intel Corporation 82559ER (rev 09)
	Flags: bus master, medium devsel, latency 64, IRQ 10
	Memory at c0100000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at ee00 [size=64]
	Memory at c0120000 (32-bit, non-prefetchable) [size=128K]
	Expansion ROM at ff000000 [disabled] [size=1M]
	Capabilities: [dc] Power Management version 2

01:06.0 PCI bridge: Texas Instruments: Unknown device ac28 (prog-if 00 [Normal decode])
	Flags: bus master, medium devsel, latency 64
	Bus: primary=01, secondary=02, subordinate=02, sec-latency=64
	I/O behind bridge: 00009000-0000dfff
	Memory behind bridge: c0200000-c03fffff
	Prefetchable memory behind bridge: 0000000084100000-0000000084200000
	Capabilities: [dc] Power Management version 1

02:09.0 Communication controller: Applied Micro Circuits Corporation: Unknown device 0005
	Flags: bus master, fast devsel, latency 64, IRQ 10
	Memory at c0200000 (32-bit, non-prefetchable) [size=64]
	Memory at c0204000 (32-bit, non-prefetchable) [size=16K]
	Memory at c0208000 (32-bit, non-prefetchable) [size=32]
	Expansion ROM at ff000000 [disabled] [size=2K]

02:0a.0 Class ff00: Computer Boards: Unknown device 000e
	Flags: bus master, fast devsel, latency 64, IRQ 10
	I/O ports at de00 [size=64]
	I/O ports at da00 [size=16]
	I/O ports at d600 [size=16]

02:0b.0 Class ff00: Applied Micro Circuits Corporation: Unknown device 80fc
	Flags: medium devsel, IRQ 10
	I/O ports at d200 [size=128]
	I/O ports at ce00 [size=4]
	I/O ports at ca00 [size=4]

02:0e.0 Multiport serial controller: Meilhaus Electronic GmbH: Unknown device 9154 (rev 01)
	Subsystem: Unknown device 0004:9912
	Flags: medium devsel, IRQ 10
	I/O ports at c600 [size=128]
	I/O ports at c0200100 [size=256]
	I/O ports at c0200200 [size=256]
	I/O ports at ba00 [size=256]

02:0f.0 Signal processing controller: Meilhaus Electronic GmbH: Unknown device 0960 (rev 01)
	Subsystem: Unknown device 00d4:9903
	Flags: medium devsel, IRQ 10
	Memory at c0208080 (32-bit, non-prefetchable) [size=128]
	I/O ports at c0200080 [size=128]
	I/O ports at c0200040 [size=16]
	Memory at c0208100 (32-bit, non-prefetchable) [size=256]
	Memory at c0210000 (32-bit, non-prefetchable) [size=64K]
	Memory at c0240000 (32-bit, non-prefetchable) [size=256K]


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-11 16:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-11 16:13 PCI Subsystem Tyler BIRD
  -- strict thread matches above, loose matches on Subject: below --
2001-12-11 12:26 Jens Krüger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®