freebsd-skq/usr.sbin
Bill Paul f13b900a9e Big mess 'o changes:
- Give ndiscvt(8) the ability to process a .SYS file directly into
  a .o file so that we don't have to emit big messy char arrays into
  the ndis_driver_data.h file. This behavior is currently optional, but
  may become the default some day.

- Give ndiscvt(8) the ability to turn arbitrary files into .ko files
  so that they can be pre-loaded or kldloaded. (Both this and the
  previous change involve using objcopy(1)).

- Give NdisOpenFile() the ability to 'read' files out of kernel memory
  that have been kldloaded or pre-loaded, and disallow the use of
  the normal vn_open() file opening method during bootstrap (when no
  filesystems have been mounted yet). Some people have reported that
  kldloading if_ndis.ko works fine when the system is running multiuser
  but causes a panic when the modile is pre-loaded by /boot/loader. This
  happens with drivers that need to use NdisOpenFile() to access
  external files (i.e. firmware images). NdisOpenFile() won't work
  during kernel bootstrapping because no filesystems have been mounted.
  To get around this, you can now do the following:

        o Say you have a firmware file called firmware.img
        o Do: ndiscvt -f firmware.img -- this creates firmware.img.ko
        o Put the firmware.img.ko in /boot/kernel
        o add firmware.img_load="YES" in /boot/loader.conf
        o add if_ndis_load="YES" and ndis_load="YES" as well

  Now the loader will suck the additional file into memory as a .ko. The
  phony .ko has two symbols in it: filename_start and filename_end, which
  are generated by objcopy(1). ndis_open_file() will traverse each module
  in the module list looking for these symbols and, if it finds them, it'll
  use them to generate the file mapping address and length values that
  the caller of NdisOpenFile() wants.

  As a bonus, this will even work if the file has been statically linked
  into the kernel itself, since the "kernel" module is searched too.
  (ndiscvt(8) will generate both filename.o and filename.ko for you).

- Modify the mechanism used to provide make-pretend FASTCALL support.
  Rather than using inline assembly to yank the first two arguments
  out of %ecx and %edx, we now use the __regparm__(3) attribute (and
  the __stdcall__ attribute) and use some macro magic to re-order
  the arguments and provide dummy arguments as needed so that the
  arguments passed in registers end up in the right place. Change
  taken from DragonflyBSD version of the NDISulator.
2004-08-01 20:04:31 +00:00
..
ac Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
accton o split a sentence to make it more understandable 2004-04-16 09:31:17 +00:00
acpi Removed trailing whitespace. 2004-07-02 19:07:33 +00:00
adduser Assorted markup, grammar, and spelling fixes. 2004-06-13 18:03:44 +00:00
amd Reenable nullfs for local links. The change from 'struct vfsconf' 2004-07-15 13:24:44 +00:00
ancontrol Drop WARNS down to 3 since sparc64 still has justified complaints about 2004-07-30 21:43:21 +00:00
apm Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
apmd Eliminated double whitespace. 2004-07-03 18:35:53 +00:00
arlcontrol Assorted markup, grammar, and spelling fixes. 2004-06-13 18:03:44 +00:00
arp Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
asf Assorted markup, grammar, and spelling fixes. 2004-06-13 18:03:44 +00:00
atm Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
authpf Add skeleton build dirs for pf userland: 2004-02-28 21:50:50 +00:00
bluetooth Avoid casts as lvalues. 2004-07-28 07:20:04 +00:00
boot0cfg mdoc(7) fixes. 2004-07-07 19:57:16 +00:00
boot98cfg Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
bootparamd - Don't use argv[i] when i is uninitialised. 2004-06-08 12:11:19 +00:00
bsnmpd Sort SEE ALSO references (in dictionary order, ignoring case). 2004-07-04 20:55:50 +00:00
btxld Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
burncd Refer to the sysutils/cdrtools port now that the sysutils/mkisofs port 2004-07-16 08:53:25 +00:00
cdcontrol If the user doesn't specify a device and we can't open any of the defaults, 2004-04-01 16:37:46 +00:00
chkgrp I don't normally use my middle name, so remove it from attributions in 2004-01-25 11:39:42 +00:00
chown Use uid_t. 2003-09-07 16:43:53 +00:00
chroot Allow the optional setting of a user, primary group, or grouplist 2003-06-07 10:56:12 +00:00
ckdist Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
config Static device counts will not be supported in 6.x so place the generated 2004-06-30 21:00:47 +00:00
cron Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
crunch Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
ctm Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
daemon mdoc(7) fixes. 2004-07-07 19:57:16 +00:00
dconschat Assorted markup, grammar, and spelling fixes. 2004-06-13 18:03:44 +00:00
devinfo Remove unused local variable. 2004-01-04 15:51:32 +00:00
digictl
diskinfo Actually negative size is possible for file system, but not for disk. 2004-05-25 12:11:13 +00:00
editmap Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
edquota Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
eeprom Move __iniline function definition before its first usage in the file. 2004-07-28 07:17:00 +00:00
elf2exe
extattr Update lsextattr(8) to use the new extattr_list_*() APIs, rather than 2003-06-05 04:30:00 +00:00
extattrctl When giving examples of how to use extattrctl(8) to configure UFS1 2003-05-14 20:31:06 +00:00
faithd Reapply some local fixes that got lost with another NetBSD merge, 2004-06-04 19:24:35 +00:00
fdcontrol Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
fdformat Add PC98 supports. 2004-03-28 13:42:27 +00:00
fdread PC98 got it right here: sectors can be non-512 byte sized. 2004-07-07 20:28:31 +00:00
fdwrite Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
fwcontrol Nit. 2004-06-04 19:23:39 +00:00
getfmac Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
getpmac Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
gstat Added forgotten -d to the usage(). 2004-06-04 19:29:09 +00:00
i4b Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
ifmcstat Include <net/ethernet.h> to have a prototype for ether_ntoa(). 2004-05-28 17:44:11 +00:00
inetd Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
iostat Put libdevstat before libkvm, because the former depends on the latter. 2004-02-04 10:20:43 +00:00
ip6addrctl Assorted markup, grammar, and spelling fixes. 2004-06-13 18:03:44 +00:00
ipftest Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipresend Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipsend Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
iptest Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
IPXrouted Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
jail Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
jexec Make jexec duplicate the actions of the shell searching for an 2003-07-04 19:14:27 +00:00
jls IP addresses can be up to 15 characters long, not 12. 2003-04-22 13:24:56 +00:00
kbdcontrol Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
kbdmap Eliminated double whitespace. 2004-07-03 18:35:53 +00:00
kernbb Fix the type of struct bbf's arc_count member: according to gcc's 2004-05-29 01:22:53 +00:00
keyserv Remove spurious semicolons. Outside of functions they are actually errors but 2004-05-16 22:08:17 +00:00
kgmon Format nits. 2004-05-29 06:10:42 +00:00
kgzip Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
kldxref Fixed manpage's synopsis, and synchronized it with the program's usage(). 2004-06-01 09:34:04 +00:00
lastlogin Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
lpr Eliminated double whitespace. 2004-07-03 18:35:53 +00:00
lptcontrol Priner control devices are now lpt*.ctl. 2004-07-18 02:22:47 +00:00
mailstats Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
mailwrapper Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
makemap Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
manctl
memcontrol
mergemaster Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
mixer Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
mld6query Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542 2003-10-24 18:26:30 +00:00
mlxcontrol Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
mount_nwfs style.Makefile(5): 2004-02-23 20:25:27 +00:00
mount_portalfs Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
mount_smbfs Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
mountd Markup nits. 2004-06-04 19:23:12 +00:00
moused Use C99 conforming designated initialisers rather than the obsolete GCC syntax. 2004-07-03 16:52:57 +00:00
mptable Make this build and work on amd64 (sledge at least). 2003-09-30 04:09:21 +00:00
mrouted Fix a few cases that relied on 'implicit int' (constraint violation in C99). 2004-07-11 17:37:33 +00:00
mtest Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
mtree Eliminated double whitespace. 2004-07-03 18:35:53 +00:00
named LANG->LC_ALL 2003-08-04 21:31:53 +00:00
named.reload
named.restart
ndc
ndiscvt Big mess 'o changes: 2004-08-01 20:04:31 +00:00
ndp Markup and grammar nits. 2004-06-05 20:21:58 +00:00
newsyslog Nothing says that /var/log can't be not a directory but a symbolic link 2004-07-04 17:24:12 +00:00
nfsd Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
ngctl Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
nghook Markup and punctuation nits. 2004-06-05 20:21:17 +00:00
nologin Assorted markup, grammar, and spelling fixes. 2004-06-13 18:03:44 +00:00
nslookup
nsupdate
ntp mlockall(2) was introduced during the 5.0-CURRENT lifetime. 2004-07-25 22:02:30 +00:00
ofwdump Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
pccard Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
pciconf Update pciconf man page to indicate that only some of the functions 2004-01-06 20:23:20 +00:00
pcvt Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
periodic
pkg_install Use the length modifier 'll' instead of 'q' to print long longs. 2004-07-28 16:03:13 +00:00
pnpinfo Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
ppp Add configuration option "set pppoe [standard|3Com]" which allows 2004-07-29 05:59:43 +00:00
pppctl Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
pppd o SIOCGIFCONF->getifaddrs(2) conversion. 2004-04-09 16:59:05 +00:00
pppstats
praliases Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
procctl Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
pstat Eliminated double whitespace. 2004-07-03 18:35:53 +00:00
pw Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
pwd_mkdb Add support for ignoring locking failures. This is only enabled when 2004-07-21 17:38:04 +00:00
quot Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
quotaon Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
rarpd While walking over the list of interfaces obtained from getifaddrs(3), 2004-04-20 13:58:14 +00:00
raycontrol Add FBSDID. err(3) changed to errx(3) because there is no errno message 2004-04-04 19:38:08 +00:00
repquota Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
rip6query
rmt Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
route6d - need_trigger/idx should be u_int, not ssize_t. 2003-11-14 17:16:50 +00:00
rpc.lockd After talking to Colin, 2004-07-16 12:50:10 +00:00
rpc.statd Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
rpc.umntall Deal with xdrproc_t casts. Make these compile cleanly with WARNS=2 2003-10-26 06:14:10 +00:00
rpc.yppasswdd Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
rpc.ypupdated Include <stdlib.h> for exit() and abort() prototypes. 2004-05-24 13:21:24 +00:00
rpc.ypxfrd Include <rpc/rpc_com.h> for a _rpc_dtablesize() prototype. 2004-05-24 12:28:27 +00:00
rpcbind Don't pass NULL as an integer. 2003-10-29 09:31:41 +00:00
rrenumd Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
rtadvd Fixed SEE ALSO references. 2004-07-02 22:50:25 +00:00
rtprio Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
rtsold Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
rwhod Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
sa Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
sade Remove reference to fla driver. 2004-07-20 16:25:20 +00:00
sendmail Reflect changes in sendmail 8.13 source tree 2004-08-01 01:16:59 +00:00
setfmac Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
setkey Reapply traditionally lost fixes, fixed some more. 2004-06-05 20:22:15 +00:00
setpmac Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
sicontrol Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
sliplogin Fix a few cases that relied on 'implicit int' (constraint violation in C99). 2004-07-11 17:37:33 +00:00
slstat Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
smbmsg Markup nit picking. 2004-07-09 06:16:43 +00:00
spkrtest
spray
sysinstall Remove reference to fla driver. 2004-07-20 16:25:20 +00:00
syslogd Fix dofsync() declaration. 2004-07-04 19:52:48 +00:00
tcpdchk Turn on the extended syntax, which TCP_wrappers has by default, as 2003-07-24 19:58:56 +00:00
tcpdmatch Drop MAINTAINER bits from here. 2003-06-04 15:58:03 +00:00
tcpdump Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
timed Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
traceroute
traceroute6 mdoc(7) fixes. 2004-07-07 19:57:16 +00:00
trpt Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
tzsetup Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
ugidfw Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
usbd Fix 'camcontrol rescan' syntax and use the proper indentation for 2004-07-15 07:34:14 +00:00
usbdevs Add option '-o' for one-line output in combination with '-d'. 2004-05-24 13:22:00 +00:00
vidcontrol Propagate ioctl() failure to exit status 2003-09-18 16:20:32 +00:00
vipw Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
vnconfig
watch Eliminated double whitespace. 2004-07-03 18:35:53 +00:00
watchdogd Disable memory locking that could keep watchdogd from deadlocking itself 2004-07-28 22:13:04 +00:00
wicontrol Markup nits. 2004-06-05 20:20:34 +00:00
wlconfig Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
yp_mkdb Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
ypbind Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
yppoll Include <timeconv.h> for time conversion functions. 2004-05-24 16:10:57 +00:00
yppush Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
ypserv Sort SEE ALSO references (in dictionary order, ignoring case). 2004-07-04 20:55:50 +00:00
ypset Fix a typo that stopped ypset's -h option from working with a 2004-02-09 00:10:18 +00:00
zic Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
zzz Assorted markup, grammar, and spelling fixes. 2004-06-13 18:03:44 +00:00
Makefile Temporarily disable kernbb utility. It has to learn about new gcov data 2004-07-28 07:13:55 +00:00
Makefile.inc