Thread (2 messages) flat view 2 messages, 2 authors, 2023-02-24

Re: [PATCH RFC Vb] bgmac: fix *initial* chip reset to support BCM5358

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2023-02-24 18:03:33
Also in: linux-arm-kernel, lkml

On 2/24/23 05:48, Rafał Miłecki wrote:
While bringing hardware up we should perform a full reset including the
switch bit (BGMAC_BCMA_IOCTL_SW_RESET aka SICF_SWRST). It's what
specification says and what reference driver does.

This seems to be critical for the BCM5358. Without this hardware doesn't
get initialized properly and doesn't seem to transmit or receive any
packets.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
RFC: This is alternative solutionto the
[PATCH RFC] bgmac: fix *initial* chip reset to support BCM5358
https://lore.kernel.org/lkml/20230207225327.27534-1-zajec5@gmail.com/T/ (local)

Any comments on the prefered solution? Parameter vs. flag?
Seems to me that the flags have been used to express 
features/quirks/capabilities as much as what you are trying to do here, 
flag would be my preference. LGTM otherwise.
-- 
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help