thorpej
f51470a514
Require that each each MACHINE/MACHINE_ARCH supply a lock.h. This file
...
contains the values __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED, which
replace the old SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED. These files
are also required to supply inline functions __cpu_simple_lock(),
__cpu_simple_lock_try(), and __cpu_simple_unlock() if locking is to be
supported on that platform (i.e. if MULTIPROCESSOR is defined in the
_KERNEL case). Change these functions to take an int * (&alp->lock_data)
rather than the struct simplelock * itself.
These changes make it possible for userland to use the locking primitives
by including <machine/lock.h>.
2000-04-29 03:31:45 +00:00
mycroft
2228799172
As the comment suggests, move the __unsetattr() to the end of doupdate(), just
...
before the fflush(). This avoids needlessly resetting modes.
2000-04-29 02:51:16 +00:00
mycroft
72c28c5c3b
Set the ms flag for wscons.
2000-04-29 02:49:39 +00:00
mycroft
6d4f51a947
Fix pasto.
2000-04-29 00:50:05 +00:00
lukem
1bc94d695d
document the conditions for /etc/rc to be called with "autoboot"
2000-04-29 00:47:06 +00:00
mycroft
f9f1ee95d2
Use the mask here too.
2000-04-29 00:43:36 +00:00
mycroft
c7d40b65f9
Speed up refresh in the presence of attributes by precalculating a mask for
...
each `end' command to turn off other attributes in the case of conflicts.
2000-04-29 00:42:26 +00:00
lukem
9fb4c732ec
minor typo
2000-04-29 00:38:43 +00:00
lukem
1be62bfbcb
link rc(8) to rc.shutdown(8) and rc.d(8). clean up other MLINKS entries.
2000-04-29 00:29:01 +00:00
abs
49de827f3a
Mention /var/run/dmesg.boot
2000-04-29 00:24:09 +00:00
perseant
37f567639c
Test whether the filesystem is an LFS before trying to read the alternate
...
superblock (whose disk address is stored in the primary superblock). Also,
refuse to mount a filesystem whose superblocks overlap or where the alt.
superblock has a lower disk address than the primary superblock.
Solves PR#10001.
2000-04-29 00:23:00 +00:00
abs
22cfbf2cbb
If ps cannot get the terminal size from STDOUT, it tried STDERR and STDIN.
...
What this does to the POLS when a script that is parsing ps output just happens
to run in a narrow terminal cannot be described in polite company.
If STDOUT is not a tty, leave width at 80.
2000-04-29 00:18:48 +00:00
abs
6a7a9484ec
lpf used its own broken argv parsing (-h without an argument would dump core)
...
Convert to getopt() and add a basic usage()
2000-04-29 00:12:32 +00:00
abs
9e96565f2e
pcmcia modems end up at com3 with a GENERIC kernel, so create a tty03 in std
2000-04-29 00:10:37 +00:00
abs
e335e1cd4d
useradd defaults to using the 'users' group, so add one.
2000-04-29 00:09:31 +00:00
mycroft
e48c1f3d01
Since ME implies OP on xterm and wscons, ME must == OP. So, change OP to be
...
\E[m. This is less optimal in some obscure cases, but it probably doesn't
matter in practice.
2000-04-28 23:39:46 +00:00
mycroft
db72a0c5d6
Clean up a bunch more logic.
2000-04-28 23:37:11 +00:00
mycroft
40add0b991
Massively simplify some logic.
2000-04-28 22:44:33 +00:00
is
4e69cf7536
revert the depend change... it was unneeded, and is even hurting in some
...
cases.
2000-04-28 22:01:14 +00:00
mycroft
65406b5c76
Set the `ut' attribute for xterm and wscons.
2000-04-28 21:59:15 +00:00
mycroft
73ac8c709b
Add a concept of the `background attribute'. This is the same as the
...
current attribute, but has all non-color flags turned off. Use this when
doing erasure, as this allows us to optimize repainting in curses.
XXX The way the default attribute is handled is totally bogus and needs to
be fixed.
2000-04-28 21:56:16 +00:00
augustss
23bcab075a
Don't request sense after INQUIRY. From FreeBSD & OpenBSD.
2000-04-28 21:34:05 +00:00
augustss
d2e2dce826
Regen.
2000-04-28 20:54:39 +00:00
augustss
0b9c397110
Add 2 more eap audio devices.
2000-04-28 20:54:10 +00:00
soren
9c2835a1c4
Make sure to read the clock before we leave the 'cold' state.
2000-04-28 19:58:04 +00:00
soren
2cfb26c801
Zero free pages in the idle loop.
2000-04-28 19:25:55 +00:00
uch
fa8a38980b
update man page.
2000-04-28 19:15:15 +00:00
is
4cacfc5684
change 10base-t media _setting_ to set autodetect instead.
...
Contrary to what the rtl8019 docs say, this seems to be necessary.
Observed by myself when implementing non-auto earlier, and independently
complained about by Antti Kante in PR 9962.
2000-04-28 17:49:03 +00:00
uch
bd5f21ffeb
add PCIBIOS_ADDR_FIXUP, PCIBIOS_IRQS_HINT configuration. and its sample.
2000-04-28 17:23:51 +00:00
soren
78a464a74d
Add microtime().
2000-04-28 17:23:40 +00:00
uch
cc30f00dd3
PCI I/O address fixup routine.
...
When BIOS don't asign PCI I/O address space to device,
allocate it without conflict and write to PCI configuration header.
2000-04-28 17:19:10 +00:00
uch
e3c3882828
PCIBIOS_IRQS changed to PCIBIOS_IRQS_HINT. PCIBIOS_IRQS_HINT is
...
used when no IRQ guess. when at least 1 PCI device configured
correctly, unused.
2000-04-28 17:15:15 +00:00
uch
bbb8c56fcb
add PCI_MAPREG_PPB_END (PCI-PCI bridge) PCI_MAPREG_PCB_END (PCI-Cardbus bridge)
2000-04-28 17:12:45 +00:00
jdc
e074acd8a2
We can't assume colour won't be turned off if the escape sequences for
...
turning off attributes aren't the same as the one for colour, so decide
that we've turned off colour when we turn off any attributes.
2000-04-28 17:11:51 +00:00
thorpej
f5fc764943
Only invoke hostname(1) and domainname(1) if they exist (tested with the
...
`type' shell built-in). Makes it possible to save some space on install
media which uses DHCP.
2000-04-28 16:34:31 +00:00
soren
99e6adf31e
Adapt to cpu_intr() change.
2000-04-28 15:55:51 +00:00
ad
b093a1430b
Make ca* devices.
2000-04-28 13:55:04 +00:00
ad
db06ac868b
Attach cac* and ca*.
2000-04-28 13:51:56 +00:00
ad
8f9b06a9e6
- Enable ca(4) device.
...
- Fix a couple of nits.
2000-04-28 13:50:25 +00:00
ad
ab2d7be096
Add missing cdevsw and chrtoblktbl entries.
2000-04-28 13:28:42 +00:00
simonb
3c359c262d
The size of the members of struct ultrix_utsname were nothing like
...
reality - adjust and fill in "version" the same way that some other
compat routines do. An Ultrix "uname -a" returns something meaninful
now instead of just "NetBSD ".
2000-04-28 12:52:52 +00:00
augustss
308fa27a0d
Unmute some mixer controls by default. From OpenBSD.
2000-04-28 12:39:59 +00:00
tron
8427714121
Add "dependall" target.
2000-04-28 10:47:34 +00:00
drochner
4bc03f3617
-fix .Dv usage at one point
...
-The ucom_get_status() argument list gets messed up - should be .Fn
anyway, so change it accordingly. Convert the other functions to
.Fn/.Fa too for consistency.
2000-04-28 09:37:43 +00:00
jdolecek
520f9dc581
pasfind(): avoid silly bug - if bus_space_map() of SB I/O space failed,
...
we used bad label and tried to bus_space_unmap() invalid memory
region
Fixes port-i386/9992 by Jarkko Teppo <jate@uwasa.fi>.
2000-04-28 08:51:42 +00:00
shin
e3d2f0ae85
delete obsolete 'options MIPS_16K_PAGE'.
2000-04-28 07:19:33 +00:00
jdc
ff39cfe5f4
Remove test code inadvertently left in.
2000-04-28 06:51:36 +00:00
itojun
5d5dd022cb
add bind operators guide into share/doc/smm/10.named. PR 9996.
2000-04-28 06:21:20 +00:00
itojun
be16012135
remove files that should not be imported.
...
in Makefile, s/SRC/.ALLSRC/ to honor .PATH.
2000-04-28 06:19:58 +00:00
lukem
dfdc326b50
update NAME
2000-04-28 06:13:00 +00:00