netdevice: clean old FIXME that it is not worthed
Subsystems (2)
PATCH 1/1 netdevice: clean old FIXME that it is not worthed
Alternative patch that removes an old FIXME because it currently the change is worthed as some comments in the patch point out
(https://lore.kernel.org/all/[email protected]/#t)
--- include/linux/netdevice.h | 1 - 1 file changed, 1 deletion(-)
include/linux/netdevice.h +0 -1
@@ -2033,7 +2033,6 @@ struct net_device {struct dev_ifalias __rcu *ifalias;/* * I/O specific fields -* FIXME: Merge these and struct ifmap into one */ unsigned long mem_end;unsigned long mem_start;
Signature · 1 line
2.39.2
Quoted 14 lines · On Sat, 4 Mar 2023 20:44:33 +0100 Vincenzo Palazzo…
Alternative patch that removes an old FIXME because it currently the change is worthed as some comments in the patch point out
(https://lore.kernel.org/all/[email protected]/#t)Signed-off-by Vincenzo Palazzo <[email protected]>--- include/linux/netdevice.h | 1 - 1 file changed, 1 deletion(-)include/linux/netdevice.h +0
-0
include/linux/netdevice.h struct net_device { · line 2038
Quoted 7 lines
include/linux/netdevice.h +0
-1@@ -2033,7 +2033,6 @@ struct net_device {struct dev_ifalias __rcu *ifalias;/* * I/O specific fields -* FIXME: Merge these and struct ifmap into one */ unsigned long mem_end;unsigned long mem_start;
These fields actually are only used by old hardware devices that pre-date buses with auto discovery. I.e ISA bus not PCI.
Since ISA bus support is gone, either these devices should have been removed as well or they really aren't using those fields..
If someone wanted to clean this stuff out, start by seeing if any of those devices still live. For example, the E1000e has a couple of variants and dropping support for the non-PCI variant would be ok.
All of arcnet could/should go away? Maybe move to staging?
The wan devices might also have been ISA only devices that are now unusable.
Quoted 36 lines · Stephen Hemminger
Quoted 14 lines · On Sat, 4 Mar 2023 20:44:33 +0100 Vincenzo Palazzo…
Alternative patch that removes an old FIXME because it currently the change is worthed as some comments in the patch point out
(https://lore.kernel.org/all/[email protected]/#t)Signed-off-by Vincenzo Palazzo <[email protected]>--- include/linux/netdevice.h | 1 - 1 file changed, 1 deletion(-)include/linux/netdevice.h +0
-0include/linux/netdevice.h struct net_device { · line 2038
Quoted 7 lines
include/linux/netdevice.h +0
-1@@ -2033,7 +2033,6 @@ struct net_device {struct dev_ifalias __rcu *ifalias;/* * I/O specific fields -* FIXME: Merge these and struct ifmap into one */ unsigned long mem_end;unsigned long mem_start;These fields actually are only used by old hardware devices that pre-date buses with auto discovery. I.e ISA bus not PCI.
Since ISA bus support is gone, either these devices should have been removed as well or they really aren't using those fields..
If someone wanted to clean this stuff out, start by seeing if any of those devices still live. For example, the E1000e has a couple of variants and dropping support for the non-PCI variant would be ok.
Quoted 4 lines
All of arcnet could/should go away? Maybe move to staging?
The wan devices might also have been ISA only devices that are now unusable.
Well I could do this, also because from the patch [1] that I made looks like there are not a lot of driver that are using these fields.
However, what is the right process for this kind of clean up work?