Commit Graph

127270 Commits

Author SHA1 Message Date
kleink e984bcd6d6 G/c an orphaned #endif. 2004-05-09 19:48:38 +00:00
kleink f379d2c8ac There are two instances of getsubopt.c, one in gen, which came by the
ways of 386BSD, and one in stdlib, which is from Lite-2.  The former was
picked up by the build process and has seen a little more maintenance
while the latter's location is "right", so bring the latter up to par
with the former and dispose of the (now) latter.

Reported by David A. Holland in PR lib/25160, which is worded in a
far less mind-boggling fashion than the above.
2004-05-09 19:34:11 +00:00
snj b706bc6de5 English fix. 2004-05-09 18:59:52 +00:00
kleink a060c8818b We now need an internal name for fileno(), since when buildling libc
_REENTRANT we can no longer use the macro version from <stdio.h>.
2004-05-09 17:27:53 +00:00
elric a4f71a0494 np->h_net is not a pointer. 2004-05-09 15:54:59 +00:00
lukem 162bb0f382 Prune obj|obj.* directories/symlinks correctly. Fix from Hubert Feyrer. 2004-05-09 13:46:00 +00:00
yamt 609701c865 - note its typical usage.
- bump date.
2004-05-09 11:28:58 +00:00
kleink 95e4d0d7af Need namespace.h for internal names of strdup, strlcpy. 2004-05-09 11:26:33 +00:00
kleink 6352cc4399 Need namespace.h for internal names of fseeko, strlcpy. 2004-05-09 11:25:52 +00:00
kleink 6108f6dd87 Need namespace.h for internal name of strlcpy. 2004-05-09 11:25:20 +00:00
dyoung 7412e6e599 In ieee80211_find_rxnode, when we "fake up" a node for an ad hoc
peer, we have to copy the "master" rate table to the faked-up node's
rate table, or else ath0 will complain, "ath0: bogus xmit rate
0x0".  Thank you Konstantin KABASSANOV for reporting this problem.
2004-05-09 09:18:47 +00:00
dyoung 6263dee43f Undo last: I committed the wrong file. 2004-05-09 09:00:05 +00:00
taca 3657b758c0 Make it comiple without warning; void function fr_checkv4sum() and
fr_checkv6sum() should not return value.
2004-05-09 08:29:30 +00:00
dyoung dd998d980d In ieee80211_find_rxnode, when we "fake up" a node for an ad hoc
peer, we have to copy the "master" rate table to the faked-up node's
rate table, or else ath0 will complain, "ath0: bogus xmit rate
0x0".  Thank you Konstantin KABASSANOV for reporting this problem.
2004-05-09 08:19:21 +00:00
christos e982110b53 PR/24981: Steven M. Bellovin: ipfilter in 2.0 branch panics the system
patch applied.
2004-05-09 04:17:34 +00:00
christos a218a37d8f PR/25122: Peter Postma: ipfstat state top broken with IPv6 addresses
patch applied.
2004-05-09 04:12:03 +00:00
christos 865c473c96 PR/25332: HIROSE yuuji: "fastroute(to)" in ipf.conf doesn't work; patch applied 2004-05-09 04:02:32 +00:00
christos 5592d4d1fa PR/25441: Matthew Green: IP-Filter uses M_TEMP when it already has M_IPFILTER 2004-05-09 03:54:43 +00:00
christos e786da0edd PR/25365: HIROSE yuuji: ipf 4.1.1 fails to parse ipv6 address in fastroute
destination. Patch from darren applied.
2004-05-09 03:53:23 +00:00
petrov 68cb92eb3b Forgotten $ for NetBSD key. 2004-05-09 03:20:44 +00:00
petrov 6e4bb32a73 Use int_fmtio.h and PRUx formats for longs. 2004-05-09 03:18:50 +00:00
fair 4521e00533 Two changes:
1. ifdef out the restriction that the SiS 900 has only one PHY
This is demonstrably false; the SiS 960 super south bridge in
PR 18590 has a SiS 900 rev 1 core in it.

2. bitbang the MII for all versions of the SiS 900; this is the
only way that the PHYs on this system answer.

Also, I suspect that SIS900_REV_960 constant in if_sipreg.h is
incorrectly labelled - there were later revisions of the super
south bridge (e.g. the 961, 962, and 963), and I suspect the
SiS 900 revision code there refers to one of those.
2004-05-09 03:03:55 +00:00
sommerfeld faa802158e Change hack getnetbyaddr to match new system prototype. 2004-05-09 01:49:56 +00:00
jonathan cc817061aa Remove now-unused 'int pmreg'. 2004-05-09 01:39:41 +00:00
thorpej d07c23b31a Use the BFD ELF headers rather than simply including <elf.h>. This
tool compiles on non-NetBSD now.

Note: We're not actually using BFD, just two header files that are
more conveniently laid out than our native header.  There is no GPL
infection from using the BFD headers.
2004-05-09 01:31:27 +00:00
christos 956dab9c37 GC pci_{g,s}et_powerstate into pci_powerstate(). Idea from mycroft and gimpy.
Nothing uses them yet.
2004-05-08 23:41:40 +00:00
christos de3fd5d864 Cleanup and remove suplicate copies of the incorrect power setup code.
Thanks to mycroft for suggesting this.
XXX: This is a copy of the pci code; another reason cardbus needs to die.
2004-05-08 23:40:01 +00:00
kleink c19ffd7809 C99: Provide WCHAR_{MAX,MIN} via <machine/wchar_limits.h> (we'll also
provide WINT_{MAX,MIN} along with it).
Fixes PR standards/24040 from Masao Uebayashi.
2004-05-08 21:57:05 +00:00
kleink a6428a221b Add <machine/wchar_limits.h>. 2004-05-08 21:53:23 +00:00
kleink 7b3b647647 Factor out W{CHAR,INT}_{MAX,MIN} into their own header file. 2004-05-08 21:51:47 +00:00
yamt 1c1b12397d nfs_lookup: avoid CREATE optimization for DOTDOT.
creating a DOTDOT entry has no sense and will fail anyway.
2004-05-08 21:35:13 +00:00
yamt 48e8239c5a nfs_mkdir: handle the "." case. 2004-05-08 21:33:41 +00:00
yamt 2890b70316 nfs_lookitup: handle "." correctly rather than returning garbage on the stack. 2004-05-08 21:32:34 +00:00
dsl 17bfe85dd3 Make mbr_bootsel boot active partition if/when no menu items are output.
Stops users sitting in front of a system that is waiting for a keypress.
Just don't ask how I added more functionality AND got an extra 7 free bytes!
2004-05-08 21:18:22 +00:00
jlam 7b5bb00500 Bump date of manpage after addition of -Q flag to pkg_info(1). 2004-05-08 21:05:02 +00:00
jmc 10f93b6733 Add proper include guards.. 2004-05-08 21:04:06 +00:00
jmc 7492226095 Add another exception for broken includes (showed up on acorn32 build) 2004-05-08 21:03:43 +00:00
dsl 503ee58711 Don't output the 'Installed bootfile doesn't support required options'
message when we are updating the mbr code because the user did fdisk -i ...
2004-05-08 20:52:59 +00:00
kleink 5f2ea73659 * __sparc64__ -> __sparc__ && _LP64,
* add a comment on the purpose of __ai_pad0.
Both suggested by mrg.
2004-05-08 18:55:23 +00:00
kleink 8d54bc1847 struct netnet.n_net used to be an unsigned long integer.
In XNS5, and subsequently in POSIX-2001 it was changed to socklen_t.

To accomodate for this while preserving binary compatibility with the
old interface, prepend or append 32 bits of padding, depending on
the (LP64 data model) architecture's endianness.  Fixes PR
standards/21411 from Ben Harris.

This should be deleted the next time the libc major number is
incremented.

Also, update getnetbyaddr(3)'s `net' argument accordingly.
2004-05-08 18:52:15 +00:00
grant 0f204e9fc9 fix typo. 2004-05-08 16:50:37 +00:00
bouyer 879d21cebe Add a delay(10) after re-enabling interrupts in the control register.
Some controllers/drives (e.g. SataLink 3114 with WD Raptor) require
it. Should fix kern/23808 by Chris Gilbert, patch suplied by Chris Gilbert
on tech-kern, extended to all places enabling interrupts by me.
2004-05-08 15:03:32 +00:00
chs bd3ff85ff7 work around an LP64 problem where we report an excessively large window
due to incorrect mixing of types.
2004-05-08 14:41:47 +00:00
dsl c3f4dda582 Add GENERIC.MP
Fixes PR port-alpha/25244
2004-05-08 14:39:01 +00:00
kent e3f4d77dda regenerate for fsync_range, uuidgen, getvfsstat, statvfs1, fstatvfs1, and fhstatvfs1 2004-05-08 14:33:12 +00:00
kent af38d21dbd add fsync_range, uuidgen, getvfsstat, statvfs1, fstatvfs1, and fhstatvfs1. 2004-05-08 14:31:59 +00:00
dsl a13f1e12e5 Kill message used when amd64 used an 'out of tree' toolchain 2004-05-08 14:25:58 +00:00
lha bba70dc29c Merge changes between Heimdal 0.6.1 and 0.6.2 2004-05-08 13:27:58 +00:00
lha 0575824546 Import of Heimdal release 0.6.2
* Fix possible buffer overrun in v4 kadmin (which now defaults to off)
2004-05-08 13:15:02 +00:00
jdolecek 3b3062f454 document USB_GET_DEVICEINFO and USB_GET_STRING_DESC
fix member prefix for usb_ctl_report_desc

bump date
2004-05-08 11:46:51 +00:00