Commit Graph

18 Commits

Author SHA1 Message Date
dyoung 71e77a61b4 Constify: LLADDR -> CLLADDR. I'm aiming here to make it easier to
identify sockaddr_dl abuse that remains in the kernel, especially
the potential for overwriting memory past the end of a sockaddr_dl
with, e.g., memcpy(LLADDR(), ...).
2007-08-26 22:45:55 +00:00
christos 53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
elad d5ebb97b46 Consistent usage of KAUTH_GENERIC_ISSUSER. 2007-01-04 18:44:45 +00:00
rittera 26b97f3a17 Added innitialization to bs in ndis_getstate_80211. It was causing a compiler warning. Pointed out by Kulcsar Ferenc 2006-09-11 21:17:18 +00:00
ad 3029ac48c7 - Use the LWP cached credentials where sane.
- Minor cosmetic changes.
2006-07-21 16:48:45 +00:00
rittera 98c1d0c0f5 Replaced some #ifdef NDIS_LKM's which were commenting out debugging
information with #ifdef NDIS_DBG.  Also added a commented out #define NDIS_DBG
to ndis_var.h.
2006-05-29 20:49:03 +00:00
rittera 60d227b1f8 Some general cleaning up of if_ndis.c, and if_ndis_pci.c. Added
#ifdef NDIS_DBG around some printfs, and deleted some commented out code.
2006-05-26 19:27:49 +00:00
elad 2867b68bc3 integrate kauth. 2006-05-14 21:42:26 +00:00
rittera a96342da61 a few cosmetic changes to if_ndisvar.h 2006-04-24 00:10:17 +00:00
rittera 3441c2e772 Replaced all the device_printf's in if_ndis_pci.c with aprint_error() 2006-04-24 00:01:29 +00:00
rittera 03f0a1ac3d Replaced all the device_printf's in if_ndis.c with aprint_error() or
aprint_normal().  Now I just need to go through and do this for the rest of the files.
2006-04-23 22:53:43 +00:00
rittera bad11dd7e0 Replaced the device_printf's in ndis_ticktask() with printf(). For some reason
a uvm fault was occouring here.  I'm still looking in to figuring out why, but
this fixes the problem for now.
2006-04-23 19:30:19 +00:00
rittera 9225a5f961 A number of cosmetic changes to if_ndis.c. A lot of work needs to be done
cleaning up all the NDIS files.
2006-04-23 02:55:04 +00:00
rittera be97fc5a95 A number of minor changes for NDIS. (OK'd by phil)
1. Removed the makeoptions line from arch/i386/conf/GENERIC.  Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS.  NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.
2006-04-18 16:49:19 +00:00
rittera a21b75e520 Removed the #include of ndis_driver_data.h, and replaced it with NDIS_DRV_DATA,
so that the location of the ndis_driver_data.h file which is built from
the Windows driver's .inf and .sys files using the ndiscvt utility can be
specified from the kernel configuration file.
2006-03-31 03:20:20 +00:00
rittera ace2baad8b Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel.  I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental.  It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100
2006-03-31 00:03:57 +00:00
rittera 5197fd087b applied iMil's patch 2006-03-30 23:07:37 +00:00
rittera 35ff82777b Added the original FreeBSD_54 files from sys/dev/if_ndis. 2006-03-30 22:57:56 +00:00