[PATCH net-next v4 00/10] net: sunhme: Probe/IRQ cleanups
- To: "David S . Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, netdev@vger.kernel.org
- Cc: Simon Horman <simon.horman@corigine.com>, linux-kernel@vger.kernel.org, Sean Anderson <seanga2@gmail.com>, debian-sparc@lists.debian.org, rescue@sunhelp.org, sparc@gentoo.org
- Subject: [PATCH net-next v4 00/10] net: sunhme: Probe/IRQ cleanups
- From: Sean Anderson <seanga2@gmail.com>
- Date: Fri, 24 Mar 2023 13:51:26 -0400
- Message-id: <[🔎] 20230324175136.321588-1-seanga2@gmail.com>
Well, I've had these patches kicking around in my tree since last October, so I
guess I had better get around to posting them. This series is mainly a
cleanup/consolidation of the probe process, with some interrupt changes as well.
Some of these changes are SBUS- (AKA SPARC-) specific, so this should really get
some testing there as well to ensure nothing breaks. I've CC'd a few SPARC
mailing lists in hopes that someone there can try this out. I also have an SBUS
card I ordered by mistake if anyone has a SPARC computer but lacks this card.
Changes in v4:
- Tweak variable order for yuletide
- Move uninitialized return to its own commit
- Use correct SBUS/PCI accessors
- Rework hme_version to set the default in pci/sbus_probe and override it (if
necessary) in common_probe
Changes in v3:
- Incorperate a fix from another series into this commit
Changes in v2:
- Move happy_meal_begin_auto_negotiation earlier and remove forward declaration
- Make some more includes common
- Clean up mac address init
- Inline error returns
Sean Anderson (10):
net: sunhme: Fix uninitialized return code
net: sunhme: Just restart autonegotiation if we can't bring the link
up
net: sunhme: Remove residual polling code
net: sunhme: Unify IRQ requesting
net: sunhme: Alphabetize includes
net: sunhme: Switch SBUS to devres
net: sunhme: Consolidate mac address initialization
net: sunhme: Clean up mac address init
net: sunhme: Inline error returns
net: sunhme: Consolidate common probe tasks
drivers/net/ethernet/sun/sunhme.c | 1155 +++++++++++------------------
drivers/net/ethernet/sun/sunhme.h | 6 +-
2 files changed, 418 insertions(+), 743 deletions(-)
--
2.37.1
Reply to: