freebsd-dev/usr.sbin
Bill Paul 307ca1d625 Some Windows .INF files are deliberately sabotaged to prevent them from
loading on a particular version of Windows. For example, a .INF file
for a Windows 2000 driver may have an empty [foo.NT.5.1] section which
will be ingored on Win2K (whose .INF parser won't look for sections
decorated with .NT.5.1) in favor of a [foo] section. Likewise, a
WinXP file will have an empty [foo] section which will be ignored in
favor of [foo.NT.5.1].

The problem is, we can handle both Win2K and WinXP drivers, and we
don't want to exclude either one.

As a workaround, we try to pretend we are WinXP by default and search
for sections decorated with .NT.5.1, but if we don't turn up any records,
we assume that maybe we're being fooled by a sabotaged .INF file and
make one more pass looking for undecorated sections instead.

This allows us to parse the .INF files for both the Win2K and the WinXP
Centrino wireless drivers.

I'd give anything for 5 minutes alone in a room with whoever wrote
Microsoft's .INF file parser. Just 5 minutes. That's all.
2004-01-27 09:05:52 +00:00
..
ac
accton
acpi I don't normally use my middle name, so remove it from attributions in 2004-01-25 11:39:42 +00:00
adduser mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
amd Sync with fresh generated file, keep our changed settings. This seems 2003-09-02 17:38:30 +00:00
ancontrol Remove an annoying printf that somehow leaked into rev 1.21. 2003-11-16 08:41:24 +00:00
apm Mark APM manpages as i386-only. 2004-01-21 13:38:17 +00:00
apmd Mark APM manpages as i386-only. 2004-01-21 13:38:17 +00:00
arp mdoc(7) cleanups (use .Va, not .Dv, for sysctls.) 2003-10-03 07:48:56 +00:00
asf Add a "-f" flag for asf(8) which performs a search to find the each module 2003-11-04 06:38:37 +00:00
atm Use a size_t for variables that need to hold buffer lengths. 2003-07-29 13:40:52 +00:00
bluetooth Cleanup CFLAGS in libsdp(3) Makefile 2004-01-25 21:33:59 +00:00
boot0cfg Get rid of duplicates. 2003-09-14 13:41:59 +00:00
boot98cfg
bootparamd Make this compile cleanly. Switch to using rpcgen to generate 2003-10-26 05:51:51 +00:00
bsnmpd Rename the makefile variable MIBS to BMIBS so that it does not 2004-01-24 20:14:03 +00:00
btxld
burncd Use intmax_t to avoid wrap on large images in verbose output. 2003-12-28 13:32:49 +00:00
cdcontrol * Auto-detect what device to use if none is specified 2003-11-17 14:02:04 +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
config Fixed spurious syntax errors for including files that don't begin with 2003-11-14 11:23:25 +00:00
cron Discuss the 'MAILTO' option. 2004-01-12 20:20:29 +00:00
crunch Fix a bug that caused i386 to produce broken binaries for big-endian 2003-08-08 15:44:17 +00:00
ctm Use malloc() instead of alloca() to allocate a (potentially) large buffer 2004-01-26 04:27:22 +00:00
daemon add FBSDID 2003-07-06 12:44:11 +00:00
dconschat Increase MAXDEV up to 10. 2003-11-09 14:49:43 +00:00
devinfo Remove unused local variable. 2004-01-04 15:51:32 +00:00
digictl
diskinfo Assorted mdoc(7) fixes. 2003-05-31 18:07:09 +00:00
editmap Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
edquota Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +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
faithd Fixed the fatal bug: CFLAGS should be added to, not overridden. 2004-01-17 02:27:55 +00:00
fdcontrol Grammar tweaking. "has been" is very often not as good as "is" or "was". 2003-07-06 18:27:23 +00:00
fdformat From PR: 2004-01-07 05:28:57 +00:00
fdread
fdwrite
fwcontrol o grammar fixes 2003-12-17 10:14:11 +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 Sigh, I guess this manpage used cat(1) as a template? 2003-05-31 18:19:50 +00:00
i4b Disable constant merging in isdnd and isdnmonitor. This is a "make my 2004-01-21 16:49:05 +00:00
ifmcstat Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
inetd Rather than use the gcc -fno-builtin-log flag, just rename the 'int log' 2003-10-30 22:56:44 +00:00
iostat Remove MAINTAINER= lines in the makefiles for camcontrol, iostat, libcam 2003-06-14 05:28:01 +00:00
ip6addrctl you have to use 'install' subcommand instead of '-c' option 2003-12-26 17:10:58 +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 Make this WARNS 2 clean, and fix up the manual page: 2003-11-15 17:10:56 +00:00
jail A variety of content cleanups: 2003-11-20 03:47:50 +00:00
jexec Make jexec duplicate the actions of the shell searching for an 2003-07-04 19:14:27 +00:00
jls
kbdcontrol
kbdmap
kernbb Fix our kernel support for Basic Block Profiling to work with GCC33. 2003-12-03 07:43:03 +00:00
keyserv Put chkey(1), newkey(8), and keyserv(8) into the crypto distribution. 2004-01-18 09:29:47 +00:00
kgmon
kgzip Remove uneeded cast. 2003-06-11 21:37:19 +00:00
kldxref I don't normally use my middle name, so remove it from attributions in 2004-01-25 11:39:42 +00:00
lastlogin
lpr Fix a warning about mismatched pointers. A pointer to "void *" is not the 2003-10-26 03:01:24 +00:00
lptcontrol
mailstats Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
mailwrapper Do not install SYMLINKS if both NO_MAILWRAPPER and 2004-01-17 23:58:23 +00:00
makemap Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
manctl
memcontrol
mergemaster mergemaster -p (pre-world) doesn't populate /etc/rc.d, which led to a 2004-01-04 22:02:04 +00:00
mixer Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
mld6query Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542 2003-10-24 18:26:30 +00:00
mlxcontrol
mount_nwfs Make this 64 bit clean. Use size_t for sysctl() length pointer args. 2003-07-25 20:56:57 +00:00
mount_portalfs Correct paths to mount sources. 2003-07-02 16:43:14 +00:00
mount_smbfs Correct paths to mount sources. 2003-07-02 16:43:14 +00:00
mountd Be consistent in the EXAMPLES formatting. 2004-01-01 00:59:58 +00:00
moused Fix serious ugliness introduced in 1.61, which leads to long delay in boot 2004-01-10 13:09:21 +00:00
mptable Make this build and work on amd64 (sledge at least). 2003-09-30 04:09:21 +00:00
mrouted Properly use strftime(): NUL terminating character is already taken into 2004-01-04 16:07:03 +00:00
mtest add FBSDID 2003-07-06 12:44:11 +00:00
mtree Get rid of "lineno: 0" in error messages from create mode. 2004-01-11 19:38:48 +00:00
named LANG->LC_ALL 2003-08-04 21:31:53 +00:00
named.reload
named.restart
ndc
ndiscvt Some Windows .INF files are deliberately sabotaged to prevent them from 2004-01-27 09:05:52 +00:00
ndp fixed improper routing-message flag 2004-01-08 07:25:04 +00:00
newsyslog Handle a 'const' parameter without using __DECONST(). 2003-10-04 02:24:47 +00:00
nfsd Problem: 2004-01-11 01:29:03 +00:00
ngctl Make this WARNS=3 clean. 2004-01-26 10:27:18 +00:00
nghook Allow nghook to execute a program with the data socket connected to 2003-10-24 10:01:36 +00:00
nologin Remove the BUGS section introduced in rev 1.11 now that the problem 2003-11-17 06:39:54 +00:00
nslookup
nsupdate
ntp Xref police: ntp.conf(8) -> ntp.conf(5). 2003-06-17 09:51:17 +00:00
ofwdump This is Sparc64-only. 2004-01-21 14:06:25 +00:00
pccard o Document -s flag. 2004-01-15 13:23:21 +00:00
pciconf Update pciconf man page to indicate that only some of the functions 2004-01-06 20:23:20 +00:00
pcvt
periodic
pkg_install Instead of bogusly complaining about odd file names, handle them properly 2004-01-24 17:32:43 +00:00
pnpinfo
ppp Use the length of the interface name, not the length of its address when 2004-01-21 22:00:50 +00:00
pppctl Add IPv6 support to pppctl by using getaddrinfo() and trying each address 2003-12-07 08:39:29 +00:00
pppd Disclaim ownership of pppd/chat. It is vendor code, but has been badly 2003-10-29 19:24:04 +00:00
pppstats
praliases Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
procctl
pstat Remove options processing for dumping swapdevice radix map. 2003-07-31 21:20:08 +00:00
pw Add a -H <fd>' option that is like -h <fd>', but accepts an already 2004-01-11 18:28:08 +00:00
pwd_mkdb
quot
quotaon Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
rarpd Make it clear that -a flag and interface parameter are mutually exclusive 2003-08-16 22:23:16 +00:00
raycontrol update for 802.11 support 2003-06-28 06:19:37 +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 There is no need to #include <sgtty.h> 2003-09-04 01:33:43 +00:00
route6d - need_trigger/idx should be u_int, not ssize_t. 2003-11-14 17:16:50 +00:00
rpc.lockd Make this compile cleanly. It passes WARNS=2, but I haven't checked 2003-10-26 06:10:44 +00:00
rpc.statd Deal with xdrproc_t casts. Make these compile cleanly with WARNS=2 2003-10-26 06:14:10 +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 Fix yppasswdproc_update_master_1_svc() too. 2003-06-15 21:24:45 +00:00
rpc.ypupdated
rpc.ypxfrd
rpcbind Don't pass NULL as an integer. 2003-10-29 09:31:41 +00:00
rrenumd fix comment. 2003-10-26 10:30:17 +00:00
rtadvd fixed memory leak. 2003-09-20 09:41:13 +00:00
rtprio add FBSDID 2003-07-06 12:44:11 +00:00
rtsold -DSMALL will remove the need of dump.c (for rtsol) 2004-01-14 17:59:38 +00:00
rwhod use a list to enumerate options 2003-07-06 12:27:52 +00:00
sa Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
sade Add 'fwe' so one doesn't get "<unknown network interface type>". 2004-01-04 21:04:02 +00:00
sendmail Don't check for the existance of src/crypto/ for building items that 2003-07-24 18:30:25 +00:00
setfmac Mostly fixed the SYNOPSIS. 2003-05-31 18:42:18 +00:00
setkey enable aes-xcbc-mac and aes-ctr, again. 2003-11-10 10:39:14 +00:00
setpmac
sgsc
sicontrol
sliplogin Add section number to .Xr 2003-06-08 14:33:04 +00:00
slstat
spkrtest
spray
stallion
sysinstall Make a message less scary (based on user feedback) 2004-01-26 13:45:21 +00:00
syslogd Be much more strict about parsing tagged log messages from /dev/klog; 2004-01-26 00:46:46 +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 Don't check for the existance of src/crypto/ for building items that 2003-07-24 18:30:25 +00:00
timed Fix a BSS buffer overflow caused by makeargv() writing past the end of 2003-10-11 07:35:35 +00:00
traceroute
traceroute6 - setsockopt/sysctl takes int, not u_long. 2003-11-12 18:56:59 +00:00
trpt
tzsetup Cosmetic fix: a message was mixed with a dialog box border line. 2003-11-28 20:44:25 +00:00
ugidfw
usbd fix spelling of ATTACH 2003-10-25 22:03:10 +00:00
usbdevs
vidcontrol Propagate ioctl() failure to exit status 2003-09-18 16:20:32 +00:00
vipw
vnconfig
watch Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
watchdogd o style(9) fixes 2003-07-03 03:37:04 +00:00
wicontrol Typos fixing: 2003-10-05 12:09:31 +00:00
wlconfig This is i386-only. 2004-01-21 14:01:29 +00:00
yp_mkdb
ypbind Correct a spelling error. 2003-06-04 19:24:24 +00:00
yppoll
yppush
ypserv Eliminated two dozens of superfluous cats and two r-cats (sorry, Jordan). 2003-06-13 16:13:28 +00:00
ypset Include stdlib.h for exit() 2003-06-08 06:25:47 +00:00
zic
zzz add section name 2003-08-16 19:59:53 +00:00
Makefile Also sort ignoring case -- makes finding things by browsing easier. 2004-01-20 08:55:06 +00:00
Makefile.inc