linux-snps-arc.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH net v5 2/3] net: stmmac: check if MAC needs to attach to a PHY
       [not found] <20230403212434.296975-1-martin.blumenstingl@googlemail.com>
@ 2023-04-05  9:06 ` Shahab Vahedi
  0 siblings, 0 replies; only message in thread
From: Shahab Vahedi @ 2023-04-05  9:06 UTC (permalink / raw)
  To: Michael Sit Wei Hong
  Cc: Martin Blumenstingl, Vineet Gupta, linux-snps-arc, linux-kernel,
	alexandre.torgue, andrew, boon.leong.ong, davem, edumazet,
	hkallweit1, hong.aun.looi, Jose Abreu, kuba, linux-arm-kernel,
	linux-stm32, linux, mcoquelin.stm32, netdev, pabeni,
	peppe.cavallaro, peter.jun.ann.lai, weifeng.voon

Fixing the CC header. Apologies for the inconvenience.

------

Same happens on ARC HSDK [1]:

# dmesg | grep stmmaceth
  stmmaceth f0008000.ethernet: use coherent DMA ops
  stmmaceth f0008000.ethernet: IRQ eth_wake_irq not found
  stmmaceth f0008000.ethernet: IRQ eth_lpi not found
  stmmaceth f0008000.ethernet: PTP uses main clock
  stmmaceth f0008000.ethernet: User ID: 0x10, Synopsys ID: 0x37
  stmmaceth f0008000.ethernet:    DWMAC1000
  stmmaceth f0008000.ethernet: DMA HW capability register supported
  stmmaceth f0008000.ethernet: RX Checksum Offload Engine supported
  stmmaceth f0008000.ethernet: COE Type 2
  stmmaceth f0008000.ethernet: TX Checksum insertion supported
  stmmaceth f0008000.ethernet: Normal descriptors
  stmmaceth f0008000.ethernet: Ring mode enabled
  stmmaceth f0008000.ethernet: Enable RX Mitigation via HW Watchdog Timer
  stmmaceth f0008000.ethernet: device MAC address 7e:14:df:5f:b8:78
  stmmaceth f0008000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
  stmmaceth f0008000.ethernet eth0: PHY [stmmac-0:00] driver [Micrel KSZ9031 Gigabit PHY] (irq=POLL)
  stmmaceth f0008000.ethernet eth0: no phy found
  stmmaceth f0008000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -19)

After reverting this patch:

# dmesg | grep stmmaceth
  stmmaceth f0008000.ethernet: use coherent DMA ops
  stmmaceth f0008000.ethernet: IRQ eth_wake_irq not found
  stmmaceth f0008000.ethernet: IRQ eth_lpi not found
  stmmaceth f0008000.ethernet: PTP uses main clock
  stmmaceth f0008000.ethernet: User ID: 0x10, Synopsys ID: 0x37
  stmmaceth f0008000.ethernet:    DWMAC1000
  stmmaceth f0008000.ethernet: DMA HW capability register supported
  stmmaceth f0008000.ethernet: RX Checksum Offload Engine supported
  stmmaceth f0008000.ethernet: COE Type 2
  stmmaceth f0008000.ethernet: TX Checksum insertion supported
  stmmaceth f0008000.ethernet: Normal descriptors
  stmmaceth f0008000.ethernet: Ring mode enabled
  stmmaceth f0008000.ethernet: Enable RX Mitigation via HW Watchdog Timer
  stmmaceth f0008000.ethernet: device MAC address 26:05:ea:c0:66:16
  stmmaceth f0008000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
  stmmaceth f0008000.ethernet eth0: PHY [stmmac-0:00] driver [Micrel KSZ9031
  Gigabit PHY] (irq=POLL)
  stmmaceth f0008000.ethernet eth0: No Safety Features support found
  stmmaceth f0008000.ethernet eth0: PTP not supported by HW
  stmmaceth f0008000.ethernet eth0: configuring for phy/rgmii-id link mode
  stmmaceth f0008000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off

[1]
arch/arc/boot/dts/hsdk.dts

-- 
Shahab
_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-05  9:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230403212434.296975-1-martin.blumenstingl@googlemail.com>
2023-04-05  9:06 ` [PATCH net v5 2/3] net: stmmac: check if MAC needs to attach to a PHY Shahab Vahedi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).