Commit Graph

123919 Commits

Author SHA1 Message Date
wiz 56bb942672 Bump date; uppercase POSIX. 2004-02-05 23:51:46 +00:00
ross 3856fab870 Briefly document the posix command line order and add that this
is (unfortunately) not enforced.
2004-02-05 23:40:52 +00:00
ross 380bdcb7fb Parse args with open code to eliminate use of getopt(3).
No functional change under NetBSD.

Restarting a getopt(3) loop is an extension to the posix getopt(3)
behavior and is not portable.

Fixes tools build (tools/groff) under Cygwin.
2004-02-05 23:31:34 +00:00
christos 0283dcd8a6 - Don't use uao_ functions directly; use them through the pgops methods.
- Fix missing reference leak in the error path of shmat() mentioned in
  Full-Disclosure.
2004-02-05 22:28:33 +00:00
christos 6b1b54b981 Don't use uao_reference, directly use the pgops instead. XXX: we should
prolly make all the uao_ functions used in pgops static.
2004-02-05 22:26:52 +00:00
jmmv fb74f324b6 Use the correct size when clearing an array. 2004-02-05 16:11:31 +00:00
jmmv 046f9ce786 Print a new line after an information message. 2004-02-05 16:07:51 +00:00
christos 16816b44a8 PR/24320: Alan Barrett: new identd does not report random data when getpwuid()
fails. Also improve some log messages.
2004-02-05 13:18:48 +00:00
jmmv f630412f5f Add trailing semicolons to lines that need it. 2004-02-05 11:41:15 +00:00
jdolecek 0b12c7fd32 add ppbus stuff 2004-02-05 09:24:01 +00:00
augustss 2135e62a21 Add code to initialize the EEPROM in case the boot monitor doesn't do it. 2004-02-04 15:44:18 +00:00
augustss bc9ffbf1a7 Add some EEPROM related defines. 2004-02-04 15:43:14 +00:00
wiz 2bcf56a613 Add articles and a hyphen. 2004-02-04 14:27:18 +00:00
wiz d03fd459c0 New sentence, new line. 2004-02-04 14:25:13 +00:00
shige 8fe65bf226 Fix fatal bug.
1. read/write overflow to array size.
  2. abnormal master addressing

PR:		kern/23825 (splitted kern/{24227,24228,24229,24230,24231,24232})
Submitted by:	KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
2004-02-04 12:03:07 +00:00
lukem c77dab9416 highlight that the noisyless level is the MAKEVERBOSE level 2004-02-04 11:23:40 +00:00
tron d23ecc0dca Remove outdated prototype for ip6_getpmtu(). The function has a different
signature now and is statically declared in "ip6_output.c".
2004-02-04 10:31:27 +00:00
soren 10ced29306 Use the right bits for the AGP version. 2004-02-04 06:58:24 +00:00
jmcneill 8c56c583be The vraiu(4) hardware doesn't provide any interface for volume control.
Added software volume control functionality in vraiu_volume(), called from
vraiu_start(). Can be changed by the mixerctl 'inputs.dac' -- 0 is muted,
255 is the level that the driver previously outputted (quite loud on the
IBM Workpad Z50), and everything else is a smooth transition between the
two. Thanks to toddpw@ for lending me the hardware to test these changes.
2004-02-04 06:43:47 +00:00
itojun d334411bcd deal with IPv6 path MTU < 1280 (RFC2460 section 5 last paragraph).
check if there really is room for TCP data.
2004-02-04 05:36:03 +00:00
itojun 70e51fdcf0 strictly follow RFC2460 section 5 last paragraph
(sending rule when PMTU < 1280).  pointed out by guninski at guninski.com
2004-02-04 05:17:28 +00:00
fredb 4648495436 The variables to hold the registers don't need to be declared volatile.
Pointed out by Simon Burge on tech-kern.
2004-02-04 01:58:44 +00:00
wiz c732f0a853 Use more mdoc macros; new sentence, new line; bump date for previous. 2004-02-04 00:37:45 +00:00
jdolecek 93ce8444b4 note DMA is only used in ECP mode, and only with enabled interrupts
also move the DMA section after the mode section
2004-02-03 21:50:27 +00:00
jdolecek 80b6d6890a make 'dma' yes|no as rest of the flags 2004-02-03 21:46:39 +00:00
jdolecek fce24261df create the lpt?ctl device when making lpt? or lpa?; this device has
no meaning for 'old' lpt(4) (lpt?ctl is equal to lpt? there), but
has some special meaning for 'new', ppbus-based lpt(4)
2004-02-03 21:43:43 +00:00
jdolecek 0cfa5c18b3 bump date 2004-02-03 21:37:00 +00:00
jdolecek d1a139966a update to current lpt(4) reality - drop list with historical
minor bits assignments, and add info to this effect to HISTORY section
2004-02-03 21:35:57 +00:00
jdolecek e2ea95d4b0 support the new intr, prime and autolf flags, and update manpage
accordingly
2004-02-03 21:32:02 +00:00
jdolecek 9300becc32 allow setting of interrupt usage, priming and auto LF behaviour
via ioctl; drop the traditional device minor mapping for those in favour
of setting via lptctl(8)

introduce notion of 'control' device (minor bit 0x100 set); ATM this
device always skips the priming, which allows device open even with
disconnected printer

this also changes the default for interrupt use - polling is used
by default now
2004-02-03 21:15:03 +00:00
bouyer 09bfe9c85c Clear drive_flags when wdc_atapi_get_params() fails. Avoid a panic later
when probing a slave-only bus in some cases.
2004-02-03 20:55:02 +00:00
fredb cb6b97c092 Fix a warning about possibly uninitialized variable. 2004-02-03 20:35:17 +00:00
nathanw 193a376007 Test pt_blockgen against pt_unblockgen, not against itself, to check
for blocked-in-kernel situations.
2004-02-03 20:26:16 +00:00
jdolecek 223035c365 add RCS Id 2004-02-03 20:04:56 +00:00
jdolecek bf888d66c5 adapt to changed lpt_mode_t elements, too 2004-02-03 20:04:10 +00:00
jdolecek 4330b5a40e adapt to ioctl interface changes, and g/c the verbose action messages 2004-02-03 20:00:22 +00:00
jdolecek f44dc9ed8b overhaul the ioctl interface to be better suited for extensions and to
reduce number of separate ioctls - have only 'get mode', 'set mode',
'get flags', 'set flags'
2004-02-03 19:57:00 +00:00
fredb 0dcb02ec41 Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.
2004-02-03 19:51:39 +00:00
tsarna df3466a71d an(4) needs wlan support 2004-02-03 19:46:18 +00:00
chuck 51659857a7 add parent directory search for make as discussed on tech-toolchain.
- new dir.c function: Dir_FindHereOrAbove:
      Search for a path in the current directory and then all the directories
      above it in turn until the path is found or we reach the root ("/").
 - add hooks to use it in main.c for -m and syspath (compiled in
      _PATH_DEFSYSPATH and $MAKESYSPATH).
 - updated man page
2004-02-03 19:25:29 +00:00
jdolecek b267be2d28 some style changes - g/c redundant cast, simplify code in atppc_read_ivar() 2004-02-03 18:54:59 +00:00
jdolecek 9898c64ca9 g/c some unused/write-only/redundant lpt_softc stuff
some style changes in lptwrite() + some printfs adjusted
2004-02-03 18:48:39 +00:00
fredb cc03b614c7 Let "cu" connect at 230400 bps, if the port supports it. 2004-02-03 14:22:26 +00:00
lukem 0541807809 The ssh_known_hosts check for "NetBSD RCSID matches" does not belong in
postinstall, so remove it;  sshd functions fine without the entries.
This type of functionality is performed as part of etcupdate(8) (et al).
2004-02-03 08:02:41 +00:00
lukem f0cea2f5e2 Fix bug when calculating digest when copying from dev/null.
Problem noted by Matthias Scheler and Tomasz Luchowski.
2004-02-02 23:25:36 +00:00
he be19fc25f3 Since the playstation2 port still uses a variant of gcc 2.95.2,
change to use a zero-sized array instead of c99 flexible array
member in a struct.

OK'ed by yamt.
2004-02-02 23:13:44 +00:00
nathanw 0a6afcc70d Rename pt_stacksize, pt_stacksize_lg, and pt_stackmask to pthread_*. External
symbols can't start with pt_, as that is in the application namespace.
2004-02-02 20:36:18 +00:00
nathanw b2f27acb27 Do all the symbol lookups at td_open() time and cache them in the td_proc_st.
Make the stacksize lookups and data part of td_proc_st rather than global state.
2004-02-02 20:08:27 +00:00
he e49da78c8f Add a list of files which determine the kernel version as
DISTRIBVERDEP in Makefile.distrib, and make both sysinst and
distribution notes use that information so that they rebuild
if the kernel version changes.

Distribution notes didn't have this before, sysinst had a private
(now outdated, since sys/sys/param.h now determines version) copy
of this.
2004-02-02 18:43:39 +00:00
lukem 5680605b4d check for ${X11SRCDIR.xc} instead of ${X11SRCDIR}; it's a bit more robust 2004-02-02 14:21:51 +00:00