On Tue, Apr 05, 2022 at 09:15:48PM -0700, Jakub Kicinski wrote: > The driver for LAN Media WAN interfaces spews build warnings on > microblaze. The virt_to_bus() calls discard the volatile keyword. > The right thing to do would be to migrate this driver to a modern > DMA API but it seems unlikely anyone is actually using it. > There had been no fixes or functional changes here since > the git era begun. > > Let's remove this driver, there isn't much changing in the APIs, > if users come forward we can apologize and revert. > > Link: https://lore.kernel.org/all/20220321144013.440d7fc0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ > Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx> > --- > CC: Krzysztof Hałasa <khalasa@xxxxxxx> > CC: Andrew Stanley-Jones <asj@xxxxxxxx> > CC: Rob Braun <bbraun@xxxxxxx> > CC: Michael Graff <explorer@xxxxxxx>, > CC: Matt Thomas <matt@xxxxxxxxxxxxxxxx> > CC: Arnd Bergmann <arnd@xxxxxxxxxx> > CC: tsbogend@xxxxxxxxxxxxxxxx # MIPS > CC: linux-mips@xxxxxxxxxxxxxxx > CC: linus.walleij@xxxxxxxxxx > --- > arch/mips/configs/gpr_defconfig | 1 - > arch/mips/configs/mtx1_defconfig | 1 - > drivers/net/wan/Kconfig | 28 - > drivers/net/wan/Makefile | 2 - > drivers/net/wan/lmc/Makefile | 18 - > drivers/net/wan/lmc/lmc.h | 33 - > drivers/net/wan/lmc/lmc_debug.c | 65 - > drivers/net/wan/lmc/lmc_debug.h | 52 - > drivers/net/wan/lmc/lmc_ioctl.h | 255 ---- > drivers/net/wan/lmc/lmc_main.c | 2009 ------------------------------ > drivers/net/wan/lmc/lmc_media.c | 1206 ------------------ > drivers/net/wan/lmc/lmc_proto.c | 106 -- > drivers/net/wan/lmc/lmc_proto.h | 18 - > drivers/net/wan/lmc/lmc_var.h | 468 ------- > 14 files changed, 4262 deletions(-) > delete mode 100644 drivers/net/wan/lmc/Makefile > delete mode 100644 drivers/net/wan/lmc/lmc.h > delete mode 100644 drivers/net/wan/lmc/lmc_debug.c > delete mode 100644 drivers/net/wan/lmc/lmc_debug.h > delete mode 100644 drivers/net/wan/lmc/lmc_ioctl.h > delete mode 100644 drivers/net/wan/lmc/lmc_main.c > delete mode 100644 drivers/net/wan/lmc/lmc_media.c > delete mode 100644 drivers/net/wan/lmc/lmc_proto.c > delete mode 100644 drivers/net/wan/lmc/lmc_proto.h > delete mode 100644 drivers/net/wan/lmc/lmc_var.h Acked-by: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx> -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]