[RFC PATCH net-next 0/7] net: sunhme: Probe/IRQ cleanups

From: Sean Anderson
Date: Wed Feb 22 2023 - 16:04:06 EST


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.

I had originally planned on adding phylib support to this driver in the hopes of
being able to use real phy drivers, but I don't think I'm going to end up doing
that. I wanted to be able to use an external (homegrown) phy, but as it turns
out you can't buy MII cables in $CURRENTYEAR for under $250 a pop, and even if
you could get them you can't buy the connectors either. Oh well...

This series is not actually RFC, but I don't want to forget to post this in
another month.


Sean Anderson (7):
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: Consolidate common probe tasks

drivers/net/ethernet/sun/sunhme.c | 891 ++++++++++--------------------
drivers/net/ethernet/sun/sunhme.h | 6 +-
2 files changed, 288 insertions(+), 609 deletions(-)

--
2.37.1