Commit Graph

144379 Commits

Author SHA1 Message Date
kleink
f8228ce452 Const poisoning. 2006-03-11 18:38:14 +00:00
dsl
c9b3912b1e Remove most of the code seemed to be there to support 'remote jobs'.
It isn't clear that it ever worked, if it did it has almost certainly
bitrotted in the last 12 years.  I'm not even sure all the required
components were present.
I suspect it was written to attempt to use a 'farm' of diskless sun3s.
In any case the apparant random assignment fo jobs to other systems doesn't
actually seem like a good idea!
Things like 'distcc' han be used to help slow systems run native builds.
Removing this code also simplifies make, and should let me speed up some of
its processing - without worrying about bitrotting it further.
2006-03-11 17:18:00 +00:00
christos
bc3a1c6523 PR/33054: Nicolas Joly: id(1) sometimes report a duplicate group when a user
is not specified. This is because it prints getgid() and getgroups(). If the
getgid() is in the getgroups() set, it was printed twice. This is now detected
and the duplicate printing is avoided.
2006-03-11 17:16:01 +00:00
jschauma
9622e4afec Note that one also needs EXEC_ELF32 in addition to COMPAT_NETBSD32. 2006-03-11 16:59:26 +00:00
kleink
4e2ab73ea3 Document libkern's bcdtobin(9)/bintobcd(9). 2006-03-11 15:47:09 +00:00
kleink
31930d4de5 Provide BCD<->binary conversion in libkern and turn <dev/clock_subr.h>'s
FROMBCD()/TOBCD() macros into wrappers around it, resulting in both
smaller code footprint and elimination of possible issues due to
multiple evaluation of macro arguments.

Suggested by Simon Burge and Anders Gavare on tech-kern.
2006-03-11 15:40:07 +00:00
simonb
c66cd10ee8 Trim use of "volatile" a little. 2006-03-11 14:07:35 +00:00
simonb
fd0ea3e657 Remove some blank lines. 2006-03-11 13:56:18 +00:00
simonb
fd3935c60b Remove pc532 from the list of machines not yet using mi_userret(). 2006-03-11 13:53:41 +00:00
simonb
e30b0d0cb4 Use syscall_intern() to give a process a plain or fancy syscall,
moving system call functionality from trap.c to new syscall.c
Split out userret from trap.c to <machine/userret.h> and use
mi_userret().
This gets approx 20% speed improvement (45us to 36us) with lmbench's
"lat_syscall null" benchmark(!).
2006-03-11 13:52:58 +00:00
agc
7acf73bedf Thanks to Thomas for the prod - update usage message to include all
supported options.
2006-03-11 12:09:36 +00:00
wiz
d9f154cd37 Use more markup. 2006-03-11 12:03:03 +00:00
wiz
904496fbc8 Markup fixes. 2006-03-11 12:02:20 +00:00
wiz
e8b26e52e7 Bump date for previous. 2006-03-11 12:00:53 +00:00
wiz
fb778aad1c Compact single letter options in SYNOPSIS. Sort option descriptions. 2006-03-11 11:58:53 +00:00
wiz
674cf041a7 Sort options as in man page. 2006-03-11 11:58:22 +00:00
wiz
d2ef0ab6f5 Better markup, increase tag width, move around
sentences a bit to improve tag formatting.
Bump date for previous.
2006-03-11 11:57:18 +00:00
wiz
d2b14772c6 s/.br/.Pp/; mark up AUDIOPOWER*; new sentence, new line.
Bump date for previous.
2006-03-11 11:52:17 +00:00
wiz
b4e23e794b Bump date for previous. 2006-03-11 11:49:33 +00:00
wiz
94e629f163 New sentence, new line. 2006-03-11 11:34:57 +00:00
wiz
93ba37c7ea Add -V to SYNOPSIS; serial comma; sort option descriptions. 2006-03-11 09:21:03 +00:00
wiz
3402be3b88 Bump date for previous. 2006-03-11 09:15:58 +00:00
wiz
74631fa690 Drop trailing whitespace. 2006-03-11 09:14:49 +00:00
scw
12dc74f622 RB_POWERDOWN trumps RB_HALT. 2006-03-11 09:09:41 +00:00
elric
e83767b927 Correct statements about our supported key lengths for blowfish. 2006-03-11 08:04:48 +00:00
jmcneill
bbd8f9b955 Add Intel AGP powerhook. Tested on an 82855PM. 2006-03-11 02:35:06 +00:00
jmcneill
5e2e06bb91 We shouldn't have to manually edit acpi_wakecode.h after it has been
regenerated. Pad wakecode with "0x00" rather than "0x  ".
2006-03-11 00:31:42 +00:00
dyoung
cb909aeabe Fix typo: change an impossible bitfield (ends at bit 32) to a
possible one (ends at bit 31).
2006-03-10 23:37:35 +00:00
macallan
11d027c528 Make external mice work on Tadpole SPARCbook
The tadpole microcontroller sets an additional bit in frame headers from
an external mouse which caused our driver to discard the frame - now we
just ignore the bit.
2006-03-10 20:25:45 +00:00
jmcneill
f4578655f4 On suspend, capture PCI configuration registers. On resume, restore them
as well as explicitly reclaiming ownership of the UHCI/EHCI from the BIOS.
2006-03-10 17:21:20 +00:00
he
0bb12d5132 Remove include of <prep/dev/obiovar.h>, as that file no longer exists,
and this file does apparently not need it.
2006-03-10 17:19:46 +00:00
jmcneill
cd5f1cb627 Add bit definitions for PCI_LEGSUP register. 2006-03-10 17:18:54 +00:00
christos
5e6b1075e2 PR/33049: OKANO Takayoshi: Fix the spelling of NetBSD RCS tags. 2006-03-10 15:53:55 +00:00
yamt
a5fe09f2de remove a wrong assertion. 2006-03-10 11:07:01 +00:00
christos
f7f0b66150 Do not use SCARG() in userland. Eliminates need for <sys/systm.h>. 2006-03-09 23:44:43 +00:00
uwe
042caffba8 XXX: #undef SET before including <machine/config_hook.h>, which defines
SET as a nickname for CONFIG_HOOK_SET to be used in kernel config files.
Makes ioconf.c compile again.
2006-03-09 23:41:13 +00:00
he
17acd2c1c5 Add recognition of Nortel Baystack 21 as an rtk8139 variant.
Rest of information submitted in PR#33044.
2006-03-09 22:17:49 +00:00
he
09dd8aa07e Commit regenerated files after adding Nortel Baystack 21 info. 2006-03-09 22:15:19 +00:00
he
ca9813a911 Add vendor code for Nortel and Baystack 21 id. Part of info
submitted in PR#33044.
2006-03-09 22:14:48 +00:00
macallan
934c5059a7 add commented out DBRI_* options 2006-03-09 20:58:40 +00:00
garbled
7001ea36f9 Make INSTALL compile again with the new changes. Try to clean it up a
little too.
2006-03-09 20:58:12 +00:00
macallan
494a6eb736 default to sun terminal emulation, add DBRI_* options and comments 2006-03-09 20:58:00 +00:00
macallan
b4978607ac keep the chip powered down when not in use on machines that support it
( like SPARCbooks ) - needs testing on other machines
tested on my SPARCbook 3GX
2006-03-09 20:44:18 +00:00
gdamore
08f478e5ab Fix the RTC so that the AU1550 keeps accurate time. The RTC is taken from
the TOY register, which is presumed to be seconds since Jan. 1 2000.

For now I'm assuming the trim divider is 32K, which makes 1 tick per sec.
This is true for the DBAU1550 board at least.  Other boards might need to
initialize a reasonable trim counter and establish the 32KHz oscillator.

In any case, this code is *no worse* on older systems than what was there
before.
2006-03-09 20:42:18 +00:00
garbled
fbf9d81aaf Deleting this kernel. These days it looks pretty much identical to
GENERIC.. so I'm not sure what it is supposed to be an example of.
2006-03-09 20:22:52 +00:00
garbled
1dd8b98704 Prep super-commit:
1) create new pnpbus psuedo bus.  This is a bus layer that reads the PNP
tree from the residual data and allows attachment of devices with the
information given therein.  Based loosely on i386/pnpbios.

2) Delete obio bus, as with the pnp bus we no longer need it.

3) Create a number of functions that gather the information needed to set
up the machine from the residual data, rather than hardcoding it in.

4) Create a quirk table for machines that are bizzare enough that the
residual information is not sufficient.  (such as the 6015)

5) Using the data gathering routines and the quirk table, delete struct
platform completely from the architecture.  Prep is now almost completely
dynamic in figuring out the machine it is running on and setting things
up properly.

6) Add a wdc_pnpbus driver which attaches the wdc controller found on
some 7248's and the 6015.  This replaces the now-defunct wdc_obio.

7) delete all the mot_* and ibm_* files, and replace them with a single
ibm_machdep.c which only contains the quirk functions for the 6015 and
the 6050.

8) Modify GENERIC to work with all this stuff.
2006-03-09 20:17:27 +00:00
he
f45aef6127 Remove now-unused local variable. 2006-03-09 18:50:17 +00:00
he
cbc9e47bd2 Give it 10000 bytes more SYMTAB_SPACE, so that it fits again. 2006-03-09 18:48:20 +00:00
wiz
79e2096684 cdrecord package has been renamed to cdrtools, fix paths.
From OKANO Takayoshi in PR 33008.
2006-03-09 18:10:07 +00:00
wiz
009e260f10 Fix a URL. From OKANO Takayoshi in PR 33001. 2006-03-09 18:07:53 +00:00