Updated output of 'lspci -vn' (forgot to sudo):<br>00:00.0 0600: 8086:8100 (rev 07)<br> Subsystem: 8086:8119<br> Flags: bus master, fast devsel, latency 0<br><br>00:02.0 0300: 8086:8108 (rev 07)<br> Subsystem: 8086:8119<br>
Flags: bus master, fast devsel, latency 0, IRQ 9<br> Memory at a1000000 (32-bit, non-prefetchable) [size=512K]<br> I/O ports at 6070 [size=8]<br> Memory at 90000000 (32-bit, non-prefetchable) [size=256M]<br>
Memory at a1080000 (32-bit, non-prefetchable) [size=256K]<br> Capabilities: [d0] Power Management version 2<br> Capabilities: [b0] Vendor Specific Information <?><br><br>00:1b.0 0403: 8086:811b (rev 07)<br>
Subsystem: 8086:8119<br> Flags: bus master, fast devsel, latency 0, IRQ 20<br> Memory at a10c0000 (64-bit, non-prefetchable) [size=16K]<br> Capabilities: [50] Power Management version 2<br> Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00<br>
Capabilities: [100] Virtual Channel <?><br> Capabilities: [130] Root Complex Link <?><br> Kernel driver in use: HDA Intel<br> Kernel modules: snd-hda-intel<br><br>00:1c.0 0604: 8086:8110 (rev 07)<br>
Flags: bus master, fast devsel, latency 0<br> Bus: primary=00, secondary=01, subordinate=02, sec-latency=0<br> I/O behind bridge: 00002000-00005fff<br> Memory behind bridge: 80000000-821fffff<br>
Prefetchable memory behind bridge: a0000000-a0ffffff<br> Capabilities: [40] Express Root Port (Slot+), MSI 00<br> Capabilities: [90] Subsystem: 8086:8119<br> Capabilities: [a0] Power Management version 2<br>
Kernel driver in use: pcieport-driver<br> Kernel modules: shpchp<br><br>00:1d.0 0c03: 8086:8114 (rev 07)<br> Subsystem: 8086:8119<br> Flags: bus master, fast devsel, latency 0, IRQ 18<br> I/O ports at 6040 [size=32]<br>
Kernel driver in use: uhci_hcd<br><br>00:1d.1 0c03: 8086:8115 (rev 07)<br> Subsystem: 8086:8119<br> Flags: bus master, fast devsel, latency 0, IRQ 19<br> I/O ports at 6020 [size=32]<br> Kernel driver in use: uhci_hcd<br>
<br>00:1d.2 0c03: 8086:8116 (rev 07)<br> Subsystem: 8086:8119<br> Flags: bus master, fast devsel, latency 0, IRQ 20<br> I/O ports at 6000 [size=32]<br> Kernel driver in use: uhci_hcd<br><br>00:1d.7 0c03: 8086:8117 (rev 07) (prog-if 20)<br>
Subsystem: 8086:8119<br> Flags: bus master, fast devsel, latency 0, IRQ 21<br> Memory at 82200000 (32-bit, non-prefetchable) [size=1K]<br> Capabilities: [50] Power Management version 2<br> Capabilities: [58] Debug port: BAR=1 offset=00a0<br>
Kernel driver in use: ehci_hcd<br><br>00:1e.0 0805: 8086:811c (rev 07) (prog-if 01)<br> Subsystem: 8086:8119<br> Flags: bus master, fast devsel, latency 0, IRQ 22<br> Memory at a10c4500 (32-bit, non-prefetchable) [size=256]<br>
Kernel driver in use: sdhci-pci<br> Kernel modules: sdhci-pci<br><br>00:1e.1 0805: 8086:811d (rev 07) (prog-if 01)<br> Subsystem: 8086:8119<br> Flags: bus master, fast devsel, latency 0, IRQ 22<br>
Memory at a10c4400 (32-bit, non-prefetchable) [size=256]<br> Kernel driver in use: sdhci-pci<br> Kernel modules: sdhci-pci<br><br>00:1f.0 0601: 8086:8119 (rev 07)<br> Subsystem: 8086:8119<br> Flags: fast devsel<br>
Kernel driver in use: isch_smbus<br> Kernel modules: i2c-isch<br><br>00:1f.1 0101: 8086:811a (rev 07) (prog-if 80 [Master])<br> Subsystem: 8086:8119<br> Flags: bus master, fast devsel, latency 0<br>
[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]<br> [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]<br> [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]<br>
[virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]<br> I/O ports at 6060 [size=16]<br> Kernel driver in use: pata_sch<br><br>01:00.0 0604: 10e3:8111 (rev 02)<br> Flags: bus master, fast devsel, latency 0<br>
Memory at 81100000 (32-bit, non-prefetchable) [size=4K]<br> Bus: primary=01, secondary=02, subordinate=02, sec-latency=0<br> I/O behind bridge: 00002000-00004fff<br> Memory behind bridge: 80000000-810fffff<br>
Prefetchable memory behind bridge: ffffffffa0000000-00000000a00fffff<br> Capabilities: [80] Message Signalled Interrupts: Mask+ 64bit+ Queue=0/3 Enable-<br> Capabilities: [a0] Power Management version 3<br>
Capabilities: [c0] Express PCI/PCI-X Bridge, MSI 00<br> Capabilities: [100] Advanced Error Reporting <?><br> Kernel modules: shpchp<br><br>02:06.0 0680: 1283:8888 (rev 03)<br> Flags: bus master, medium devsel, latency 0<br>
<br>02:07.0 0200: 8086:1209 (rev 10)<br> Flags: bus master, medium devsel, latency 32, IRQ 16<br> Memory at 81020000 (32-bit, non-prefetchable) [size=4K]<br> I/O ports at 4000 [size=64]<br> Memory at 81000000 (32-bit, non-prefetchable) [size=128K]<br>
Expansion ROM at a0000000 [disabled] [size=64K]<br> Capabilities: [dc] Power Management version 2<br> Kernel driver in use: e100<br> Kernel modules: e100<br><br>-Chris<br><br><div class="gmail_quote">
On Thu, Apr 15, 2010 at 10:46 AM, Christopher Armenio <span dir="ltr"><<a href="mailto:Christopher.Armenio@resquared.com">Christopher.Armenio@resquared.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Geert, Thomas, Shao,<br><br>Results of add the printf:<br>eepro100 - mdio_register: 0xffff <br><br>Results of 'lspci -vn -s 02:07':<div class="im"><br>02:07.0 0200: 8086:1209 (rev 10)<br></div><div class="im"> Flags: bus master, medium devsel, latency 32, IRQ 16<br>
Memory at 81020000 (32-bit, non-prefetchable) [size=4K]<br> I/O ports at 4000 [size=64]<br> Memory at 81000000 (32-bit, non-prefetchable) [size=128K]<br> Expansion ROM at a0000000 [disabled] [size=64K]<br></div>
Capabilities: <access denied><div class="im"><br>
Kernel driver in use: e100<br> Kernel modules: e100<br><br></div>I'm not seeing a 'subsystem' entry for that command. Here are the results of 'lspci -vn' for completeness:<br>00:00.0 0600: 8086:8100 (rev 07)<br>
Subsystem: 8086:8119<br> Flags: bus master, fast devsel, latency 0<br><br>00:02.0 0300: 8086:8108 (rev 07)<br> Subsystem: 8086:8119<br> Flags: bus master, fast devsel, latency 0, IRQ 9<br> Memory at a1000000 (32-bit, non-prefetchable) [size=512K]<br>
I/O ports at 6070 [size=8]<br> Memory at 90000000 (32-bit, non-prefetchable) [size=256M]<br> Memory at a1080000 (32-bit, non-prefetchable) [size=256K]<br> Capabilities: <access denied><br><br>00:1b.0 0403: 8086:811b (rev 07)<br>
Subsystem: 8086:8119<br> Flags: bus master, fast devsel, latency 0, IRQ 20<br> Memory at a10c0000 (64-bit, non-prefetchable) [size=16K]<br> Capabilities: <access denied><br> Kernel driver in use: HDA Intel<br>
Kernel modules: snd-hda-intel<br><br>00:1c.0 0604: 8086:8110 (rev 07)<br> Flags: bus master, fast devsel, latency 0<br> Bus: primary=00, secondary=01, subordinate=02, sec-latency=0<br> I/O behind bridge: 00002000-00005fff<br>
Memory behind bridge: 80000000-821fffff<br> Prefetchable memory behind bridge: a0000000-a0ffffff<br> Capabilities: <access denied><br> Kernel driver in use: pcieport-driver<br> Kernel modules: shpchp<br>
<br>00:1d.0 0c03: 8086:8114 (rev 07)<br> Subsystem: 8086:8119<br> Flags: bus master, fast devsel, latency 0, IRQ 18<br> I/O ports at 6040 [size=32]<br> Kernel driver in use: uhci_hcd<br><br>00:1d.1 0c03: 8086:8115 (rev 07)<br>
Subsystem: 8086:8119<br> Flags: bus master, fast devsel, latency 0, IRQ 19<br> I/O ports at 6020 [size=32]<br> Kernel driver in use: uhci_hcd<br><br>00:1d.2 0c03: 8086:8116 (rev 07)<br> Subsystem: 8086:8119<br>
Flags: bus master, fast devsel, latency 0, IRQ 20<br> I/O ports at 6000 [size=32]<br> Kernel driver in use: uhci_hcd<br><br>00:1d.7 0c03: 8086:8117 (rev 07) (prog-if 20)<br> Subsystem: 8086:8119<br> Flags: bus master, fast devsel, latency 0, IRQ 21<br>
Memory at 82200000 (32-bit, non-prefetchable) [size=1K]<br> Capabilities: <access denied><br> Kernel driver in use: ehci_hcd<br><br>00:1e.0 0805: 8086:811c (rev 07) (prog-if 01)<br> Subsystem: 8086:8119<br>
Flags: bus master, fast devsel, latency 0, IRQ 22<br> Memory at a10c4500 (32-bit, non-prefetchable) [size=256]<br> Kernel driver in use: sdhci-pci<br> Kernel modules: sdhci-pci<br><br>00:1e.1 0805: 8086:811d (rev 07) (prog-if 01)<br>
Subsystem: 8086:8119<br> Flags: bus master, fast devsel, latency 0, IRQ 22<br> Memory at a10c4400 (32-bit, non-prefetchable) [size=256]<br> Kernel driver in use: sdhci-pci<br> Kernel modules: sdhci-pci<br>
<br>00:1f.0 0601: 8086:8119 (rev 07)<br> Subsystem: 8086:8119<br> Flags: fast devsel<br> Kernel driver in use: isch_smbus<br> Kernel modules: i2c-isch<br><br>00:1f.1 0101: 8086:811a (rev 07) (prog-if 80 [Master])<br>
Subsystem: 8086:8119<br> Flags: bus master, fast devsel, latency 0<br> [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]<br> [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]<br>
[virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]<br> [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]<br> I/O ports at 6060 [size=16]<br> Kernel driver in use: pata_sch<br>
<br>01:00.0 0604: 10e3:8111 (rev 02)<br> Flags: bus master, fast devsel, latency 0<br> Memory at 81100000 (32-bit, non-prefetchable) [size=4K]<br> Bus: primary=01, secondary=02, subordinate=02, sec-latency=0<br>
I/O behind bridge: 00002000-00004fff<br>
Memory behind bridge: 80000000-810fffff<br> Prefetchable memory behind bridge: ffffffffa0000000-00000000a00fffff<br> Capabilities: <access denied><br> Kernel modules: shpchp<br><br>02:06.0 0680: 1283:8888 (rev 03)<br>
Flags: bus master, medium devsel, latency 0<div class="im"><br><br>02:07.0 0200: 8086:1209 (rev 10)<br></div><div class="im"> Flags: bus master, medium devsel, latency 32, IRQ 16<br> Memory at 81020000 (32-bit, non-prefetchable) [size=4K]<br>
I/O ports at 4000 [size=64]<br>
Memory at 81000000 (32-bit, non-prefetchable) [size=128K]<br> Expansion ROM at a0000000 [disabled] [size=64K]<br></div> Capabilities: <access denied><div class="im"><br> Kernel driver in use: e100<br> Kernel modules: e100<br>
<br></div>Thanks!<br>-Chris<div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Thu, Apr 15, 2010 at 2:07 AM, Geert Stappers <span dir="ltr"><<a href="mailto:stappers@stappers.nl" target="_blank">stappers@stappers.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Op 20100415 om 01:24 schreef Thomas Miletich:<br>
<div>> On Thu, Apr 15, 2010 at 1:01 AM, Christopher Armenio wrote:<br>
> > Shao,<br>
> > I just tried compiling the 1.0.0+ code...still the same problem...it thinks<br>
> > the link is down, but I can see the receive counter incrementing.<br>
> ><br>
> > Again, the output of 'lspci -n -s 02:07' is:<br>
> ><br>
> > 02:07.0 0200: 8086:1209 (rev 10)<br>
> ><br>
<br>
</div>And what says `lspci -vn -s 02:07` ( v from verbose, shows "subsystem" )<br>
<div><br>
> Hello Christopher<br>
> please insert the following line in eepro100.c in line 337, right<br>
> after the ifec_mdio_setup() call:<br>
><br>
> printf("eepro100 - mdio_register: %#04x\n", priv->mdio_register);<br>
><br>
<br>
</div>--- a/src/drivers/net/eepro100.c<br>
+++ b/src/drivers/net/eepro100.c<br>
@@ -333,6 +333,7 @@ static int ifec_net_open ( struct net_device *netdev )<br>
/* Initialize MDIO */<br>
options = 0x00; /* 0x40 = 10mbps half duplex, 0x00 = Autosense */<br>
ifec_mdio_setup ( netdev, options );<br>
+ printf("eepro100 - mdio_register: %#04x\n", priv->mdio_register);<br>
<br>
/* Prepare MAC address w/ Individual Address Setup (ias) * command.*/<br>
ias = malloc_dma ( sizeof ( *ias ), CB_ALIGN );<br>
<div><br>
> The driver will output a line in the format of 'eepro100 -<br>
> mdio_register 0x????'. Please tell us what the value of 0x???? is for<br>
> your card. When I get home tomorrow I'll compare the value to the<br>
> values read with my eepro100 cards.<br>
<br>
</div>Please mention "subsystem" from your eepro100 cards. ( lspci -vn )<br>
<div><br>
> I'll also have a look at the linux e100 and eepro100 drivers and see<br>
> how they do the link detecting, as I think to remember neither of them<br>
> had something as a 'mdio_register'.<br>
<br>
<br>
</div>Groeten<br>
<font color="#888888">Geert Stappers<br>
</font><div><div></div><div><br>
_______________________________________________<br>
gPXE mailing list<br>
<a href="mailto:gPXE@etherboot.org" target="_blank">gPXE@etherboot.org</a><br>
<a href="http://etherboot.org/mailman/listinfo/gpxe" target="_blank">http://etherboot.org/mailman/listinfo/gpxe</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>