DragonFly BSD
DragonFly commits List (threaded) for 2011-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: Sync ndis(4) and tools with FreeBSD and hook it all back into the build.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 7 Sep 2011 13:34:59 -0700 (PDT)

commit efba76b4e799bdf82bd255a0dd06d36c3f5a82c5
Author: Sascha Wildner <saw@online.de>
Date:   Wed Sep 7 22:28:06 2011 +0200

    Sync ndis(4) and tools with FreeBSD and hook it all back into the build.
    
    It supports NDIS 5.x drivers, that means Windows XP and Server 2003.
    The latter is an educated guess by me. No testing has actually been
    done using Windows Server 2003 drivers.
    
    It is tested on i386 with the following PCI adapters:
    
    * D-Link DWL-G520+ (Texas Instruments ACX111 chip), aka acx(4).
    
    * Linksys WMP600N (Ralink RT2860 chip).
    
    * Planex GW-DS54GR (Realtek RTL8185 chip) which was kindly donated by
      sephe.
    
    Thanks to Max Herrgard <herrgard@gmail.com> for testing it on x86_64
    with a CNet CWP-854 (Ralink RT2561T chip), aka ral(4).
    
    Note that this port has the following caveats:
    
    * PCI adapters need hw.ioapic_enable=0 in /boot/loader.conf but worked
      great then. Without it, the box will completely freeze after a while.
      This has been observed on both my own testing box as well as on a
      different box by Max Herrgard. The cause is yet unknown. :-(
    
    * PC Card adapters are untested (they might just work).
    
    * USB adapters are not yet stable at all. Panics might ensue.
    
    Taken-from: FreeBSD

Summary of changes:
 Makefile_upgrade.inc                      |    8 +-
 etc/mtree/BSD.root.dist                   |    5 +-
 share/man/man4/Makefile                   |    1 +
 share/man/man4/man4.i386/Makefile         |    3 -
 share/man/man4/man4.i386/ndis.4           |  166 --
 share/man/man4/ndis.4                     |  160 ++
 share/man/man4/usb.4                      |    2 +
 share/man/man4/wlan.4                     |    9 +-
 share/man/man9/ieee80211.9                |    4 +-
 sys/config/LINT                           |    4 +
 sys/config/LINT64                         |    4 +
 sys/cpu/i386/include/segments.h           |    3 +-
 sys/dev/netif/Makefile                    |    5 +-
 sys/dev/netif/ndis/Makefile               |    8 +-
 sys/dev/netif/ndis/README                 |   60 -
 sys/dev/netif/ndis/if_ndis.c              | 2748 ++++++++++++++-----
 sys/dev/netif/ndis/if_ndis_pccard.c       |  139 +-
 sys/dev/netif/ndis/if_ndis_pci.c          |  157 +-
 sys/dev/netif/ndis/if_ndis_usb.c          |  262 ++
 sys/dev/netif/ndis/if_ndisvar.h           |  130 +-
 sys/emulation/Makefile                    |   12 +-
 sys/emulation/ndis/Makefile               |   14 +-
 sys/emulation/ndis/cfg_var.h              |    5 +-
 sys/emulation/ndis/hal_var.h              |   19 +-
 sys/emulation/ndis/kern_ndis.c            | 1395 +++++------
 sys/emulation/ndis/kern_windrv.c          |  937 +++++++
 sys/emulation/ndis/ndis_var.h             |  352 ++-
 sys/emulation/ndis/ntoskrnl_var.h         | 1187 ++++++++-
 sys/emulation/ndis/pe_var.h               |  365 ++-
 sys/emulation/ndis/regcall.h              |  144 -
 sys/emulation/ndis/resource_var.h         |  156 +-
 sys/emulation/ndis/subr_hal.c             |  388 ++-
 sys/emulation/ndis/subr_ndis.c            | 2946 ++++++++++++---------
 sys/emulation/ndis/subr_ntoskrnl.c        | 4169 +++++++++++++++++++++++------
 sys/emulation/ndis/subr_pe.c              |  141 +-
 sys/emulation/ndis/subr_usbd.c            | 1207 +++++++++
 sys/emulation/ndis/usbd_var.h             |  223 ++
 sys/emulation/ndis/winx32_wrap.S          |  385 +++
 sys/emulation/ndis/winx64_wrap.S          |  179 ++
 sys/platform/pc32/conf/files              |   13 +
 sys/platform/pc32/conf/options            |    1 +
 sys/platform/pc32/i386/machdep.c          |    9 +
 sys/platform/pc64/conf/files              |   13 +
 sys/platform/pc64/conf/options            |    5 +
 usr.sbin/802_11/Makefile                  |    4 +-
 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 |  344 +++
 usr.sbin/Makefile                         |    4 +-
 usr.sbin/ndiscvt/Makefile                 |   12 +-
 usr.sbin/ndiscvt/inf-parse.y              |    2 +-
 usr.sbin/ndiscvt/inf-token.l              |    5 +-
 usr.sbin/ndiscvt/inf.c                    |  217 ++-
 usr.sbin/ndiscvt/inf.h                    |    1 -
 usr.sbin/ndiscvt/ndiscvt.8                |  129 +-
 usr.sbin/ndiscvt/ndiscvt.c                |  261 ++-
 usr.sbin/ndiscvt/ndisgen.8                |   86 +
 usr.sbin/ndiscvt/ndisgen.sh               |  555 ++++
 usr.sbin/ndiscvt/windrv_stub.c            |  259 ++
 59 files changed, 15353 insertions(+), 4811 deletions(-)
 delete mode 100644 share/man/man4/man4.i386/ndis.4
 create mode 100644 share/man/man4/ndis.4
 delete mode 100644 sys/dev/netif/ndis/README
 create mode 100644 sys/dev/netif/ndis/if_ndis_usb.c
 create mode 100644 sys/emulation/ndis/kern_windrv.c
 delete mode 100644 sys/emulation/ndis/regcall.h
 create mode 100644 sys/emulation/ndis/subr_usbd.c
 create mode 100644 sys/emulation/ndis/usbd_var.h
 create mode 100644 sys/emulation/ndis/winx32_wrap.S
 create mode 100644 sys/emulation/ndis/winx64_wrap.S
 create mode 100644 usr.sbin/802_11/ndis_events/Makefile
 create mode 100644 usr.sbin/802_11/ndis_events/ndis_events.8
 create mode 100644 usr.sbin/802_11/ndis_events/ndis_events.c
 create mode 100644 usr.sbin/ndiscvt/ndisgen.8
 create mode 100644 usr.sbin/ndiscvt/ndisgen.sh
 create mode 100644 usr.sbin/ndiscvt/windrv_stub.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/efba76b4e799bdf82bd255a0dd06d36c3f5a82c5


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]