Commit Graph

103686 Commits

Author SHA1 Message Date
briggs
2cc2b9cde2 Some systems/shells have difficulty if the closing ] of a test does not have
preceding whitespace.  Ensure that there is whitespace.
2002-10-10 20:46:39 +00:00
dyoung
e57ba8d648 Introduce biosdiskreset(), and call it to reset the disk (with Int
0x13 Function 0) after a read error. This is a requirement mentioned
in most BIOS documentation.

This answers PR 18591.

Incidentally, on the Soekris Engineering net45x1 single-board
computer, this fixes a bug where the bootloader corrupts the kernel
while loading it from certain varieties of CompactFlash card
(especially varieties identified by NetBSD as <TOSHIBA THNCF064MBA>).
2002-10-10 18:52:42 +00:00
rafal
5ad5ca60a5 Memory and I/O space accesses to MACE PCI address ranges are passed through
in the correct byte order, so there's no reason to byteswap them.
2002-10-10 18:16:40 +00:00
provos
c603c2b26f enable meta key in emacs mode for 7-bit locales. approved thorpej. 2002-10-10 17:41:19 +00:00
thorpej
f157f8fff5 Add missing register prefixes. 2002-10-10 17:12:23 +00:00
jdolecek
ee922fe253 back previous off; as pointed out by Jason, MP doesn't work on sparc yet 2002-10-10 17:09:32 +00:00
thorpej
9ee29cd5eb Deal with the fact that __GNUC__ is not defined when preprocessing
assembler (Grr).
2002-10-10 17:02:23 +00:00
jdolecek
06436e36df add GENERIC.MP to KERNEL_SETS on architectures with MP support 2002-10-10 16:58:06 +00:00
pooka
fec12d1505 make a few debug printf's match reality 2002-10-10 15:39:01 +00:00
provos
1b3623c27a correctly evaluate group predicates 2002-10-10 14:06:30 +00:00
jdolecek
3aa30dca1a fix typo - driver name is 'opb', not 'obp' 2002-10-10 13:45:14 +00:00
jdolecek
f4e83b3c1d CFATTACH_DEL() needs 6 args 2002-10-10 13:37:21 +00:00
drochner
3dd7978358 add a dummy pattern rule to avoid yacc invocation
(which fails with r/o src tree)
2002-10-10 13:03:19 +00:00
jdolecek
de8f0324ad use (volatile int) cast, rather than just (volatile); the latter gives a warning 2002-10-10 11:45:14 +00:00
abs
5470c1def0 If we are going to point ENV at .shrc, and link this in as /.profile as well
as /root/.profile, then use /root/.shrc rather than $HOME/.shrc otherwise
single user mode tries to use /.shrc...
2002-10-10 11:15:41 +00:00
jdolecek
d32bd396f2 #undef ffs before the ffs() function definition, so that the name
isn't rewrote to __builtin_ffs() on gcc 2.95+; this fixes compilation
on sun2
also change the comment for function
2002-10-10 10:51:56 +00:00
chris
a8d4145f3a Minor tweaks to footbridge's delay, always reset the timer when starting delay run (and set last to the counter value).
When the read value is 0, reset the timer (don't wait till the next loop round to reset it)
Add a bit of debug to the calibration stuff to make sure its working ok.
2002-10-10 10:12:27 +00:00
jdolecek
a3e314bfcb tag the cdevsw as D_TTY 2002-10-10 10:12:00 +00:00
scw
7135f0329f Fixes for LP64. 2002-10-10 09:47:17 +00:00
wiz
c40801a8ee groff-1.18.1 out. 2002-10-10 09:38:46 +00:00
jdolecek
74c4946bb2 include shark/conf/std.shark, shark/conf/std.arm32 doesn't exist 2002-10-10 09:17:05 +00:00
scw
58c1858c31 More fixes/tweaks:
- Use the PVO_CACHEABLE flag in the pvo as the One True Indicator of
   the cacheable status of a mapping instead of peeking at the PTEH.
 - Don't inline some of the larger routines, in an effort to appease
   the somewhat buggy compiler.
 - Fix some comments.
 - Fix some casts.
 - Add a bunch more debugging instrumentation.
2002-10-10 08:57:52 +00:00
scw
bbb7b848b6 Don't try to trace back through proc_trampoline. 2002-10-10 08:53:22 +00:00
scw
a3d166c50b - Add kcr0 and kcr1 to db_regs.
- Move usr, sr, pc, and the branch-target registers to the top of
   the listing so that it is no longer necessary to scroll through
   64 integer registers to see them.
2002-10-10 08:52:31 +00:00
itojun
ce7f14ae22 GNU tar update 2002-10-10 08:23:51 +00:00
itojun
4384c54c01 switch to GNU tar 1.13.25 with security fixes. 2002-10-10 08:22:22 +00:00
wiz
0da5ac2408 Add dot in abbreviation. 2002-10-10 07:55:50 +00:00
thorpej
d47fd44e41 Avoid collision with __unused in sys/cdefs.h. 2002-10-10 07:25:21 +00:00
simonb
b1a30609f9 Install the kernel linker script in /usr/lkm/ldscript so that modload(8)
works without needing to resort to -A abuse.  LKMs work cleanly on MIPS
now.
2002-10-10 01:59:29 +00:00
simonb
da75d51b40 Add support for using an optional linker script (/usr/lkm/ldscript if
found, and overridable by the -T option).
2002-10-10 01:57:10 +00:00
thorpej
e4c85a8424 Add __unused, __packed, __aligned(), and __section() macros. Inspired
by FreeBSD.
2002-10-10 01:41:59 +00:00
lukem
30f103aea1 some clarifications & roff cleanups (yes, there's a problem with .Oo .. .Oc).
sparc64 does NOT appear to need a slicemap, so comment out that entire
section.

XXX: this program needs a rewrite. the argument handling is suboptimal.
that's coming next...
2002-10-10 01:25:03 +00:00
lukem
df6c4cf203 more details on which platforms can share a multiboot cd 2002-10-10 01:22:19 +00:00
thorpej
bee5ae7f7d Garbage-collect the __DO_NOT_DO_WEAK__ stuff. 2002-10-10 00:52:47 +00:00
martin
57801e8fb7 Pass a struct cons_channel * to cc_iclose, not a struct kbd_softc *.
This argument has been previously unused, thus undetected due to void*
typing. Mmm, copy & paste. Note that sparc got it right though.

Many thanks to Valeriy E. Ushakov <uwe@netbsd.org> for debugging support.
2002-10-10 00:22:19 +00:00
chris
0efb927aa4 As GENERIC grows, so does the needed symbol table space, bump it to
380000 from 370000.
2002-10-10 00:05:54 +00:00
bjh21
6ae19cc8cd Use ADR rather than an explicit ADD from PC. 2002-10-09 22:28:03 +00:00
nathanw
eeffadffd5 In _bus_dmamem_alloc_range(), respect the high end of the caller's range. 2002-10-09 21:35:33 +00:00
wiz
f40ce8cd84 mmm, bullding 2002-10-09 21:20:20 +00:00
thorpej
cfc2b2b238 Note new attribute dependency syntax in config(8). 2002-10-09 20:27:59 +00:00
scw
4401a03fd4 Tweak the "ffs" code in cpu_switch so we can ditch __HAVE_MD_RUNQUEUE. 2002-10-09 20:27:35 +00:00
pooka
8e4950499d regen for rfork 2002-10-09 20:24:10 +00:00
thorpej
60adad59bd Define a "scsi_core" attribute. Make the "scsi" attribute depend on
"scsi_core".  Make all the files previously selected by the "scsi"
attribute selected by the "scsi_core" attribute.  Give the "scsibus"
device the "scsi_core" attribute.
2002-10-09 20:23:56 +00:00
pooka
324d517241 FreeBSD rfork emulation 2002-10-09 20:22:47 +00:00
itojun
b15fea2610 suppress too noisy log by default (can be re-enabled by sysctl). sync w/kame 2002-10-09 20:22:16 +00:00
thorpej
1f5fa983ab Add support for specifiying attribute dependencies on attributes. This
allows for the following:

define foo
define bar { }: foo

device foobar: bar

An instance of "foobar" will select "bar", which will in turn select
"foo" due to "bar"'s dependency on "foo".

Circular dependencies are not allowed, and a dependency may also not
be an interface attribute.
2002-10-09 20:17:00 +00:00
itojun
e076df538c seemingly more correct ".." patch by Solar Designer <solar@openwall.com>,
from bugtraq posting
2002-10-09 19:58:35 +00:00
itojun
9ad5cf147a sort 2002-10-09 19:54:05 +00:00
itojun
05b137baea allow --unbzip2 for backward compat
-y is not allowed as -y is reserved by GNU tar camp, it seems.
2002-10-09 19:53:25 +00:00
itojun
2601f13929 update GNU tar entry 2002-10-09 19:42:02 +00:00