[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ebb762b3-d69d-446f-a94f-fa27e66ddfbb@lunn.ch>
Date: Thu, 18 Dec 2025 11:24:52 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Ethan Nelson-Moore <enelsonmoore@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: Merging uli526x and dmfe drivers
On Wed, Dec 17, 2025 at 09:15:16PM -0800, Ethan Nelson-Moore wrote:
> I just noticed while investigating the state of lesser-used network
> drivers that uli526x appears to be a fork of dmfe. They are so similar
> that they could easily be merged (with the differences being selected
> by the device ID, as dmfe already does), reducing future maintainer
> workload.
>
> This can easily be seen by:
> cp uli526x.c uli526x_undo_rename.c
> sed -i s/uli526x/dmfe/g uli526x_undo_rename.c
> sed -i s/ULI526X/DMFE/g uli526x_undo_rename.c
> sed -i s/uw32/dw32/g uli526x_undo_rename.c
> sed -i s/ur32/dr32/g uli526x_undo_rename.c
> sed -i 's/phy_read_/dmfe_&/g' uli526x_undo_rename.c
> sed -i 's/phy_write_/dmfe_&/g' uli526x_undo_rename.c
> diff -w dmfe.c uli526x_undo_rename.c
>
> uli526x has get_link_ksettings support and dmfe does not, and they
> have other small differences which might be bug fixes incorporated
> into one but not the other.
>
> Would patches to combine them be welcomed? If I were to do so, would
> anyone be able to test the combined driver? I do not own the hardware.
When did you last see a DEC machine? Probably in a museum? There is no
point working on such old drivers unless you happen to maintain the
museum and like to keep a modem kernel running on these old machines.
Andrew
Powered by blists - more mailing lists