jme: remove the jme driver as it is no longer maintained
Subsystems (3)
PATCH 1/1 jme: remove the jme driver as it is no longer maintained
This driver also breaks my suspend/resume support, see the link below for details:
https://bugzilla.kernel.org/show_bug.cgi?id=112351
If you choose to keep this garbage, move it to staging at least, where it belongs.
--- MAINTAINERS | 6 - drivers/net/ethernet/Kconfig | 12 - drivers/net/ethernet/jme.c | 3368 ------------------------------------------ drivers/net/ethernet/jme.h | 1278 ---------------- 4 files changed, 4664 deletions(-) delete mode 100644 drivers/net/ethernet/jme.c delete mode 100644 drivers/net/ethernet/jme.h
MAINTAINERS +0 -6
@@ -6014,12 +6014,6 @@ S: Maintained F: Documentation/filesystems/jfs.txt F: fs/jfs/ -JME NETWORK DRIVER -M: Guo-Fu Tseng <[email protected]> -L: [email protected] -S: Maintained -F: drivers/net/ethernet/jme.* - JOURNALLING FLASH FILE SYSTEM V2 (JFFS2) M: David Woodhouse <[email protected]> L: [email protected]
drivers/net/ethernet/Kconfig +0 -12
@@ -80,18 +80,6 @@ source "drivers/net/ethernet/intel/Kconfig" source "drivers/net/ethernet/i825xx/Kconfig" source "drivers/net/ethernet/xscale/Kconfig" -config JME - tristate "JMicron(R) PCI-Express Gigabit Ethernet support" - depends on PCI - select CRC32 - select MII - ---help--- - This driver supports the PCI-Express gigabit ethernet adapters - based on JMicron JMC250 chipset. - - To compile this driver as a module, choose M here. The module - will be called jme. - config KORINA tristate "Korina (IDT RC32434) Ethernet support" depends on MIKROTIK_RB532
drivers/net/ethernet/jme.c deleted +0 -3368
2,970 lines not on this page · raw message
drivers/net/ethernet/jme.h deleted +0 -1278
1,278 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.7.1
Part of the diff is not shown here. View the raw message.
David Miller
maintainerSorry, this is not how things work.
You can suggest marking the driver unmaintained in MAINTAINERS if the listed developer has been unresponsive for a very long time.
But removing the driver altogether is not prudent at all.
Just because it doesn't work %100 the way you like, and nobody has worked on fixing your specific problems, isn't a reason to remove an entire driver _nor_ move it to -staging.
In fact, this driver is quite cleanly written, follows all of the various coding style rules we have, and uses the vast majority of the kernel APIs properly.
And those are the criteria for having something in staging, not that it has bugs.
In fact it is so cleanly written, that you should be able to read it and figure out what the suspend/resume problem might be. These are exactly the kind of drivers we want to keep in the tree.
I'm sorry that your bugs didn't get fixed, but your response to that happening is not reasonable at all.
Quoted 19 lines · David Miller
Sorry, this is not how things work.
You can suggest marking the driver unmaintained in
MAINTAINERSif the listed developer has been unresponsive for a very long time.But removing the driver altogether is not prudent at all.
Just because it doesn't work %100 the way you like, and nobody has worked on fixing your specific problems, isn't a reason to remove an entire driver _nor_ move it to -staging.
In fact, this driver is quite cleanly written, follows all of the various coding style rules we have, and uses the vast majority of the kernel APIs properly.
And those are the criteria for having something in staging, not that it has bugs.
Quoted 6 lines
In fact it is so cleanly written, that you should be able to read it and figure out what the suspend/resume problem might be. These are exactly the kind of drivers we want to keep in the tree.
I'm sorry that your bugs didn't get fixed, but your response to that happening is not reasonable at all.
OK my sincere apologies.
I've been very frustrated trying to deal with this bug and I couldn't find a solution yet, but I will continue to see what I can do to fix it.
I would appreciate some hint from someone who is more experienced with drivers.
Anyways, sorry about my behavior.
Diego
Quoted 8 lines · One Thousand Gnomes
Quoted 1 line
I would appreciate some hint from someone who is more experienced with drivers.
Start by testing
- loading the driver as a module
- using the networking
- unloading the module (and checking it stays unloaded!)
Quoted 8 lines
then suspend/resume
If that works then you have a good starting point because you know a sequence of actions that suspends properly. If it fails then it's going to be rather more fun because it implies something in the hardware has not been properly shut down.
Alan
Hi Alan,
Thanks for your email, did you see my bug report? Because I tried all this already.
The only workarounds I've found to work is one of these:
$ rmmod jme # before suspend
or
$ ip link set ens34 down
or
$ echo 0 > /sys/power/pm_async # disable async power management
Then resume works fine (I can't reproduce the hang).
I'm not a C developer nor a kernel developer, I tried looking at the jme.c driver code but it's not clear what is broken and what needs fixing, so I would appreciate someone more experienced looking at the issue and giving me an idea or two.
Thanks,
Diego
Quoted 38 lines · Diego Viola
Quoted 8 lines · One Thousand Gnomes
Quoted 1 line
I would appreciate some hint from someone who is more experienced with drivers.
Start by testing
- loading the driver as a module
- using the networking
- unloading the module (and checking it stays unloaded!)Quoted 8 lines
then suspend/resume
If that works then you have a good starting point because you know a sequence of actions that suspends properly. If it fails then it's going to be rather more fun because it implies something in the hardware has not been properly shut down.
Alan
Hi Alan,
Thanks for your email, did you see my bug report? Because I tried all this already.
The only workarounds I've found to work is one of these:
$ rmmod jme # before suspendor
$ ip link set ens34 downor
$ echo 0 > /sys/power/pm_async # disable async power managementThen resume works fine (I can't reproduce the hang).
Quoted 7 lines
I'm not a C developer nor a kernel developer, I tried looking at the
jme.cdriver code but it's not clear what is broken and what needs fixing, so I would appreciate someone more experienced looking at the issue and giving me an idea or two.Thanks,
Diego
Please disregard this patch, I feel like an idiot for sending it.
I've found a fix already and sent a patch.
Diego