I bought the Jetway Dual Gigabit LAN Mini PCI Express Card with the purpose of use it as an ethernet interface of two IP camera module, but I am still in the first step of configuring the ports.
The mini PCI card is detected (01:00.0 and 01:00.1 entries):
lspci -v
00:00.0 PCI bridge: NVIDIA Corporation Device 0e12 (rev a1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00001000-00001fff
Memory behind bridge: 32200000-323fffff
Prefetchable memory behind bridge: 0000000012200000-00000000122fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
01:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
Flags: bus master, fast devsel, latency 0, IRQ 130
Memory at 32200000 (32-bit, non-prefetchable)
I/O ports at 1000
Memory at 32300000 (32-bit, non-prefetchable)
[virtual] Expansion ROM at 12200000 [disabled]
Capabilities: <access denied>
01:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
Flags: bus master, fast devsel, latency 0, IRQ 130
Memory at 32280000 (32-bit, non-prefetchable)
I/O ports at 1020
Memory at 32304000 (32-bit, non-prefetchable)
[virtual] Expansion ROM at 12280000 [disabled]
Capabilities: <access denied>
02:00.0 PCI bridge: NVIDIA Corporation Device 0e13 (rev a1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=02, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 00010000-00010fff
Memory behind bridge: 32100000-321fffff
Prefetchable memory behind bridge: 0000000012100000-00000000121fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
Flags: bus master, fast devsel, latency 0, IRQ 642
I/O ports at 10000
Memory at 32100000 (64-bit, non-prefetchable)
Memory at 12100000 (64-bit, prefetchable)
Capabilities: <access denied>
Kernel driver in use: r8169
But the expected new interfaces eth1 and eth2 does not seems to be up:
ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:4b:25:bc:0f
inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::204:4bff:fe25:bc0f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4313 errors:0 dropped:0 overruns:0 frame:0
TX packets:2165 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:958917 (958.9 KB) TX bytes:249823 (249.8 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:724 errors:0 dropped:0 overruns:0 frame:0
TX packets:724 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:65251 (65.2 KB) TX bytes:65251 (65.2 KB)
As you can check in the output of lspci -v, the two entries of the pci ports don’t have any “kernel driver in use”. The chipset of the mini PCI express card is an Intel i350. I downloaded the latest network adapter driver for Linux from Intel’s webpage but I can not compile it with make, as I suppose is not designed to compile in ARM architecture.
Is there any way to cross-compile the driver and install it for ARM?
Am I missing any basic step for configure the network and getting up the eth1 and eth2 interfaces?
Thank you.