netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2 net-next] 8390: core cleanup
@ 2020-07-01 21:31 Armin Wolf
  2020-07-01 18:42 ` [RFC PATCH 1/2] lib8390: Miscellaneous cleanups Armin Wolf
  2020-07-01 21:33 ` [RFC PATCH 2/2 net-next] 8390: " Armin Wolf
  0 siblings, 2 replies; 4+ messages in thread
From: Armin Wolf @ 2020-07-01 21:31 UTC (permalink / raw)
  To: davem; +Cc: netdev

The purpose of this patchset is to do some
cleanups in lib8390.c.

While most cleanups are simple checkpatch warnings,
some unnecessary librarys where also removed,
reducing the library size by ~4kb.

Functional changes include the removal of all
module-related stuff from the library to prevent
conflicts with real modules using lib8390, which
requires changes in modules depending on the
module-related stuff and the unnecessary librarys.

Basically all modules directly including lib8390
need to be checked for missing librarys/msg_enable
params, but so far only 8390.c has been modified to
support the cleaned-up lib8390.
And since 8390.c is not a full nic driver, the missing
param was omited.

All patches compile successfully and appear to function
normaly under 5.8.0-rc2 and a RTL8029AS card.

Armin Wolf (2):
  lib8390: Miscellaneous cleanups
  8390: Miscellaneous cleanups

 drivers/net/ethernet/8390/8390.c    |  25 +-
 drivers/net/ethernet/8390/lib8390.c | 585 +++++++++++++---------------
 2 files changed, 299 insertions(+), 311 deletions(-)

--
2.20.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-01 21:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-01 21:31 [RFC PATCH 0/2 net-next] 8390: core cleanup Armin Wolf
2020-07-01 18:42 ` [RFC PATCH 1/2] lib8390: Miscellaneous cleanups Armin Wolf
2020-07-01 21:31   ` [RFC PATCH 1/2 net-next] " Armin Wolf
2020-07-01 21:33 ` [RFC PATCH 2/2 net-next] 8390: " Armin Wolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).