PCI Interface problem | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Hi there,
I am not sure if this is the right list to ask this question but hope
that if not I will be directed to the proper list.
I am working on porting an application developed for 2.4.17 kernel
(MontaVista 2.1) to be used with 2.4.20 kernel (MontaVista 3.1) and I
have problems with a proprietary driver for Atheros based 802.11
mini-PCI cards. I am trying to find out if the problems are due to the
kernel port or from the driver and unfortunately the driver comes only
in object form.
I compared the PCI discovery in the two kernels and the differences
appear only in GPIO setup. Then looking at the procfs with a "cat
/proc/pci" and "cat /proc/bus/pci/devices" I can see differences in the
I/O address 0x ffffff00 for 2.4.20 v.s. 0x90000000 for 2.4.17. Another
oddity is the fact that ifconfig for the ath0 devices shows that the MAC
address would start with the last 2 bytes and the rest are shown as zero
while and also with 2.4.20 the ifconfig ath0 reports wild statistic
data. Shortly after I type these commands the system with 2.4.20
freezes. I need to mention that the 2.4.17 kernel is configured for 32
Mbytes SDRAM and the 2.4.20 for 64 Mbytes.
I would greatly appreciate any help in solving these problems.
Thanks a lot,
Doru
/* Kernel 2.4.20 */
POSIX conformance testing by UNIFIX
Starting PCI driver
PCI Autoconfig: Found Bus 0, Device 15, Function 0
PCI Autoconfig: BAR 0, Mem, size=0x10000, address=0x4bff0000
PCI: bus0: Fast back to back transfers enabled
GPOER=0x2ff7 GPISR=0x10fb GPIT1R=0x0 GPIT2R=0x200 GPCLKR=0x11001ff
PCI Map IRQ: slot=15 pin=1 GPISR=0x10fb
Linux NET4.0 for Linux 2.4
# cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Co-processor: PCI device 8086:8500 (Intel Corp.) (rev 2).
Prefetchable 32 bit memory at 0x0 [0xffffff].
Prefetchable 32 bit memory at 0x1000000 [0x1ffffff].
Prefetchable 32 bit memory at 0x2000000 [0x2ffffff].
Prefetchable 32 bit memory at 0x3000000 [0x3ffffff].
Prefetchable 32 bit memory at 0xff000000 [0xffffffff].
I/O at 0xffffff00 [0xffffffff].
Bus 0, device 15, function 0:
Ethernet controller: PCI device 168c:0013 (rev 1).
IRQ 28.
Master Capable. Latency=168. Min Gnt=10.Max Lat=28.
Non-prefetchable 32 bit memory at 0x4bff0000 [0x4bffffff].
# cat /proc/bus/pci/devices
0000 80868500 0 00000008 01000008 02000008
03000008 ff000008 ffffff01 00000000 01000000
01000000 01000000 01000000 01000000 00000100
00000000
0078 168c0013 1c 4bff0000 00000000 00000000
00000000 00000000 00000000 00000000 00010000
00000000 00000000 00000000 00000000 00000000
00000000 ath_wlan
#
ath0 Link encap:Ethernet HWaddr 45:6B:00:00:00:00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:65536 errors:851968 dropped:720896 overruns:0
frame:1245184
TX packets:589824 errors:1310720 dropped:655360 overruns:0
carrier:327680
collisions:1048576 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:28 Memory:c5212000-c5222000
/* Kernel 2.4.17 */
POSIX conformance testing by UNIFIX
PCI Autoconfig: Found Bus 0, Device 15, Function 0
PCI Autoconfig: BAR 0, Mem, size=0x10000, address=0x4bff0000
PCI: bus0: Fast back to back transfers enabled
GPOER=0x2ff7 GPISR=0x1033 GPIT1R=0x40001 GPIT2R=0x200 GPCLKR=0x11001ff
Map IRQ: slot=0 pin=1 GPISR=0x1033
Map IRQ: slot=15 pin=1 GPISR=0x1033
Linux NET4.0 for Linux 2.4
# cat pci
PCI devices found:
Bus 0, device 0, function 0:
Co-processor: PCI device 8086:8500 (Intel Corp.) (rev 1).
Prefetchable 32 bit memory at 0x0 [0xffffff].
Prefetchable 32 bit memory at 0x1000000 [0x1ffffff].
Prefetchable 32 bit memory at 0x2000000 [0x2ffffff].
Prefetchable 32 bit memory at 0x3000000 [0x3ffffff].
Prefetchable 32 bit memory at 0xff000000 [0xffffffff].
I/O at 0x90000000 [0x900000ff].
Bus 0, device 15, function 0:
Ethernet controller: PCI device 168c:0013 (rev 1).
IRQ 28.
Master Capable. Latency=168. Min Gnt=10.Max Lat=28.
Non-prefetchable 32 bit memory at 0x4bff0000 [0x4bffffff].
#
# cat /proc/bus/pci/devices
0000 80868500 0 00000008 01000008 02000008
03000008 ff000008 90000001 00000000 01000000
01000000 01000000 01000000 01000000 00000100
00000000
0078 168c0013 1c 4bff0000 00000000 00000000
00000000 00000000 00000000 00000000 00010000
00000000 00000000 00000000 00000000 00000000
00000000 ath_wlan
#
ath0 Link encap:Ethernet HWaddr 00:0B:6B:84:45:6B
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:1076 dropped:0 overruns:0 frame:0
TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:128
RX bytes:0 (0.0 B) TX bytes:3160 (3.0 KiB)
Interrupt:28 Memory:c31c6000-c31d6000
-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
[Site Home] [Fedora ARM] [IETF Annouce] [Security] [Bugtraq] [Linux] [Linux ARM Kernel] [Linux OMAP] [Linux MIPS] [ECOS] [Tools] [DDR & Rambus] [Monitors]