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
amd
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
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
bluetooth Cleanup CFLAGS in libsdp(3) Makefile 2004-01-25 21:33:59 +00:00
boot0cfg
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
chroot
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
ctm Use malloc() instead of alloca() to allocate a (potentially) large buffer 2004-01-26 04:27:22 +00:00
daemon
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
editmap
edquota Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
elf2exe
extattr
extattrctl
faithd Fixed the fatal bug: CFLAGS should be added to, not overridden. 2004-01-17 02:27:55 +00:00
fdcontrol
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
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
ip6addrctl you have to use 'install' subcommand instead of '-c' option 2003-12-26 17:10:58 +00:00
ipftest
ipresend
ipsend
iptest
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
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
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
mailwrapper Do not install SYMLINKS if both NO_MAILWRAPPER and 2004-01-17 23:58:23 +00:00
makemap
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
mount_portalfs
mount_smbfs
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
mrouted Properly use strftime(): NUL terminating character is already taken into 2004-01-04 16:07:03 +00:00
mtest
mtree Get rid of "lineno: 0" in error messages from create mode. 2004-01-11 19:38:48 +00:00
named
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
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
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
procctl
pstat
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
raycontrol
repquota Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
rip6query
rmt
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
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
rtprio
rtsold -DSMALL will remove the need of dump.c (for rtsol) 2004-01-14 17:59:38 +00:00
rwhod
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
setfmac
setkey enable aes-xcbc-mac and aes-ctr, again. 2003-11-10 10:39:14 +00:00
setpmac
sgsc
sicontrol
sliplogin
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
tcpdmatch
tcpdump
timed
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
vipw
vnconfig
watch Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
watchdogd
wicontrol
wlconfig This is i386-only. 2004-01-21 14:01:29 +00:00
yp_mkdb
ypbind
yppoll
yppush
ypserv
ypset
zic
zzz
Makefile Also sort ignoring case -- makes finding things by browsing easier. 2004-01-20 08:55:06 +00:00
Makefile.inc