Subject: [RFC PATCH 0/2 net-next] 8390: core cleanup

From: Armin Wolf <[email-masked]>
Date: Wed, 1 Jul 2020 23:31:06 +0200

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