#19545: x86 TG3 driver not compatible with x86 pcie boards
------------------------+------------------------
  Reporter:  bigtman43  |      Owner:  developers
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:
 Component:  packages   |    Version:  Trunk
Resolution:             |   Keywords:
------------------------+------------------------

Comment (by anonymous):

 hello finally working,
 This is my link in forum
 https://forum.openwrt.org/viewtopic.php?id=56821
 I added the broadcom phy in buildroot as suggest in the reply, it didnt
 work until i added a broadcom symlink from modules-booted.d to modules.d
 It now works straight off bootup.

 My assumption is if you are using the mainline kernal release, you need
 the broadcom phy driver as this adds specific support for your device.  If
 you are compiling on a running machine after downloading from the broadcom
 website it doesnt require broadcom phy as it compiles to suit the
 environment.

 --------------------------------------------------

 [    1.913649] tg3.c:v3.137 (May 11, 2014)
 [    1.919219] libphy: tg3 mdio bus: probed
 [    2.023319] tg3 0000:05:00.0 eth0: Tigon3 [partno(BCM57780) rev
 57780001] (PCI Express) MAC address 3c:4a:92:d3:f7:d0
 [    2.027626] tg3 0000:05:00.0 eth0: attached PHY driver [Broadcom
 BCM57780] (mii_bus:phy_addr=500:01)
 [    2.031986] tg3 0000:05:00.0 eth0: RXcsums[1] LinkChgREG[0] MIirq[0]
 ASF[0] TSOcap[1]
 [    2.036313] tg3 0000:05:00.0 eth0: dma_rwctrl[76180000]
 dma_mask[64-bit]

 ---------------------------------------------------------

 this was the script added to the buildroot, it just doesnt add the symlink
 as mentioned above.

 Thanks for your help as well

 add the following to package/kernel/linux/modules/netdevices.mk

 define KernelPackage/phy-broadcom
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   TITLE:=Broadcom PHY support
   KCONFIG:=CONFIG_BROADCOM_PHY
   DEPENDS:=+kmod-libphy
   FILES:=$(LINUX_DIR)/drivers/net/phy/broadcom.ko
   AUTOLOAD:=$(call AutoLoad,15,broadcom)
 endef

 define KernelPackage/phy-broadcom/description
   Currently supports the BCM5411, BCM5421, BCM5461, BCM5464, BCM5481,
   BCM5482 and BCM57780 PHYs.
 endef

 $(eval $(call KernelPackage,phy-broadcom))
 ---------------------------------------------------------

--
Ticket URL: <https://dev.openwrt.org/ticket/19545#comment:12>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to