Commit Graph

63783 Commits

Author SHA1 Message Date
soren
f820567ce2 Allow non-pmax to use COMPAT_ULTRIX. 2000-04-29 21:47:13 +00:00
soren
a1bad64e9a exec_ecoff.h is not used here. 2000-04-29 21:45:27 +00:00
lukem
8452ac780c add rc.d.8 and rc.shutdown.8 2000-04-29 21:42:46 +00:00
mycroft
e29ea15050 Always wrap the bigram string in double quotes, in case it contains spaces.
Some other trivial cleanup.
2000-04-29 21:41:19 +00:00
thorpej
1dcdb13c04 Implement __cpu_simple_{,un}lock{,try}(), modeled after the Alpha
implementation.
2000-04-29 19:39:51 +00:00
dmcmahill
7348e432f3 change -fpic to -fPIC. Among other things this will let sparc shared
c++ libraries built with pkglibtool (which uses -fPIC) work.
change approved by mycroft.
2000-04-29 17:42:46 +00:00
dmcmahill
7d8f383dc6 Change -fpic to -fPIC. Change was approved by mycroft. 2000-04-29 17:41:11 +00:00
soren
082109d0e4 Move free page zeroing to before the whichqs spinner. Pointed out by simonb. 2000-04-29 14:44:42 +00:00
sjg
5fe132c5cb Added the :U :D :L :P :! and :@ modifiers as used by ODE make.
These allow some very useful magic in the makefiles.
The comment in var.c describing their behaviour is mostly lifted
from ODE make, but the implementation of the modifiers themselves
is quite different (much simpler) due to divergence of our code base.
2000-04-29 12:18:52 +00:00
sjg
6f4163b60c Allow MAKESYSPATH in the environment to override the default syspath. 2000-04-29 12:15:16 +00:00
kleink
cc7e7b3d7a Fix raw partition number for cd(4) nodes. 2000-04-29 09:47:01 +00:00
veego
63f94fabf2 Fix the last change so it doesn't fail due too a missing '; then'. 2000-04-29 06:01:08 +00:00
matt
0c28135c93 fix SHOW to work on any platform 2000-04-29 04:36:16 +00:00
thorpej
0a15898a28 Add <machine/lock.h> 2000-04-29 03:46:24 +00:00
thorpej
dc8f3d3b3f Oops, install <machine/lock.h> on these systems, too. 2000-04-29 03:45:42 +00:00
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