git: kernel: Remove ndis(4) and associated tools and stuff.
Sascha Wildner
swildner at crater.dragonflybsd.org
Sat Jul 3 11:55:01 PDT 2021
commit ae75c143462d5e92cbae686b9ad9b86ce29d38cd
Author: Sascha Wildner <saw at online.de>
Date: Sat Jul 3 20:51:28 2021 +0200
kernel: Remove ndis(4) and associated tools and stuff.
ndis(4) was a wrapper to allow running binary Windows network
drivers that conformed to the Network Driver Interface Specification,
i.e. NDIS.
It only ever supported drivers from the days of Windows XP and
Windows Server 2003 (i.e. NDIS 5.1). And even if one was actually
able to extract the .sys and .inf files from the driver package and
successfully convert them to a building module, which both were
adventures in itself, it could be any result when trying to run it,
depending on the card and driver, from resonably working to not
working, even crashing. But it did work for some cards, so it had
some limited merit in its time.
NetBSD removed it in 2018, FreeBSD in January 2021, so let's follow
suit now.
Summary of changes:
Makefile_upgrade.inc | 11 +
UPDATING | 11 +
etc/mtree/BSD.root.dist | 4 -
etc/network.subr | 8 -
etc/rc.d/wpa_supplicant | 2 -
share/man/man4/Makefile | 1 -
share/man/man4/ndis.4 | 161 --
share/man/man4/usb.4 | 5 +-
share/man/man4/wlan.4 | 6 +-
share/man/man7/hier.7 | 11 +-
share/man/man9/ieee80211.9 | 8 +-
sys/Makefile | 2 +-
sys/Makefile.modules | 2 +-
sys/boot/dloader/loader-bootp.conf | 1 -
sys/boot/dloader/loader.conf | 1 -
sys/conf/options | 2 +-
sys/config/LINT64 | 7 -
sys/cpu/x86_64/include/atomic.h | 5 +-
sys/dev/netif/Makefile | 2 +-
sys/dev/netif/ndis/Makefile | 8 -
sys/dev/netif/ndis/if_ndis.c | 3492 ------------------------
sys/dev/netif/ndis/if_ndis_pccard.c | 387 ---
sys/dev/netif/ndis/if_ndis_pci.c | 367 ---
sys/dev/netif/ndis/if_ndis_u4b.c | 262 --
sys/dev/netif/ndis/if_ndisvar.h | 278 --
sys/emulation/Makefile | 3 -
sys/emulation/ndis/Makefile | 13 -
sys/emulation/ndis/cfg_var.h | 47 -
sys/emulation/ndis/hal_var.h | 55 -
sys/emulation/ndis/kern_ndis.c | 1406 ----------
sys/emulation/ndis/kern_windrv.c | 561 ----
sys/emulation/ndis/ndis_var.h | 1764 ------------
sys/emulation/ndis/ntoskrnl_var.h | 1510 -----------
sys/emulation/ndis/pe_var.h | 520 ----
sys/emulation/ndis/resource_var.h | 199 --
sys/emulation/ndis/subr_hal.c | 458 ----
sys/emulation/ndis/subr_ndis.c | 3108 ---------------------
sys/emulation/ndis/subr_ntoskrnl.c | 4188 -----------------------------
sys/emulation/ndis/subr_pe.c | 611 -----
sys/emulation/ndis/subr_u4bd.c | 1452 ----------
sys/emulation/ndis/u4bd_var.h | 222 --
sys/emulation/ndis/winx64_wrap.S | 179 --
sys/platform/pc64/conf/files | 14 -
sys/platform/pc64/conf/options | 5 -
usr.sbin/802_11/Makefile | 2 +-
usr.sbin/802_11/ndis_events/Makefile | 7 -
usr.sbin/802_11/ndis_events/ndis_events.8 | 135 -
usr.sbin/802_11/ndis_events/ndis_events.c | 350 ---
usr.sbin/Makefile | 1 -
usr.sbin/ndiscvt/Makefile | 30 -
usr.sbin/ndiscvt/inf-parse.y | 111 -
usr.sbin/ndiscvt/inf-token.l | 129 -
usr.sbin/ndiscvt/inf.c | 909 -------
usr.sbin/ndiscvt/inf.h | 61 -
usr.sbin/ndiscvt/ndiscvt.8 | 283 --
usr.sbin/ndiscvt/ndiscvt.c | 424 ---
usr.sbin/ndiscvt/ndisgen.8 | 86 -
usr.sbin/ndiscvt/ndisgen.sh | 553 ----
usr.sbin/ndiscvt/windrv_stub.c | 259 --
59 files changed, 35 insertions(+), 24664 deletions(-)
delete mode 100644 share/man/man4/ndis.4
delete mode 100644 sys/dev/netif/ndis/Makefile
delete mode 100644 sys/dev/netif/ndis/if_ndis.c
delete mode 100644 sys/dev/netif/ndis/if_ndis_pccard.c
delete mode 100644 sys/dev/netif/ndis/if_ndis_pci.c
delete mode 100644 sys/dev/netif/ndis/if_ndis_u4b.c
delete mode 100644 sys/dev/netif/ndis/if_ndisvar.h
delete mode 100644 sys/emulation/Makefile
delete mode 100644 sys/emulation/ndis/Makefile
delete mode 100644 sys/emulation/ndis/cfg_var.h
delete mode 100644 sys/emulation/ndis/hal_var.h
delete mode 100644 sys/emulation/ndis/kern_ndis.c
delete mode 100644 sys/emulation/ndis/kern_windrv.c
delete mode 100644 sys/emulation/ndis/ndis_var.h
delete mode 100644 sys/emulation/ndis/ntoskrnl_var.h
delete mode 100644 sys/emulation/ndis/pe_var.h
delete mode 100644 sys/emulation/ndis/resource_var.h
delete mode 100644 sys/emulation/ndis/subr_hal.c
delete mode 100644 sys/emulation/ndis/subr_ndis.c
delete mode 100644 sys/emulation/ndis/subr_ntoskrnl.c
delete mode 100644 sys/emulation/ndis/subr_pe.c
delete mode 100644 sys/emulation/ndis/subr_u4bd.c
delete mode 100644 sys/emulation/ndis/u4bd_var.h
delete mode 100644 sys/emulation/ndis/winx64_wrap.S
delete mode 100644 usr.sbin/802_11/ndis_events/Makefile
delete mode 100644 usr.sbin/802_11/ndis_events/ndis_events.8
delete mode 100644 usr.sbin/802_11/ndis_events/ndis_events.c
delete mode 100644 usr.sbin/ndiscvt/Makefile
delete mode 100644 usr.sbin/ndiscvt/inf-parse.y
delete mode 100644 usr.sbin/ndiscvt/inf-token.l
delete mode 100644 usr.sbin/ndiscvt/inf.c
delete mode 100644 usr.sbin/ndiscvt/inf.h
delete mode 100644 usr.sbin/ndiscvt/ndiscvt.8
delete mode 100644 usr.sbin/ndiscvt/ndiscvt.c
delete mode 100644 usr.sbin/ndiscvt/ndisgen.8
delete mode 100644 usr.sbin/ndiscvt/ndisgen.sh
delete mode 100644 usr.sbin/ndiscvt/windrv_stub.c
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ae75c143462d5e92cbae686b9ad9b86ce29d38cd
--
DragonFly BSD source repository
More information about the Commits
mailing list