Commit Graph

39228 Commits

Author SHA1 Message Date
skrll f7155e40f6 There's no need to pass a proc value when using UIO_SYSSPACE with
vn_rdwr(9) and uiomove(9).

OK'd by Jason Thorpe
2004-09-17 14:11:20 +00:00
drochner ea827e5146 forgot one ISACF_*_DEFAULT conversion, noticed by Nick Hudson 2004-09-16 16:08:27 +00:00
rumble b1a9752c01 Correct a few comment typos that have propagated through the
tree.
2004-09-16 03:57:10 +00:00
thorpej 64c6842169 The pss driver has a comment at the top saying that it won't
even compile, so don't bother trying.
2004-09-15 15:54:23 +00:00
scw 17d7b87515 It helps to call fpu_sqrt() when dealing with the frsqrte instruction. 2004-09-15 07:04:21 +00:00
tls 74ec9a5fcc Actually mix samples into the kernel RNG pool. There's a buglet here: all
disk samples are reported as belonging to the first disk.
2004-09-15 04:55:21 +00:00
drochner 2db688402b adapt to ISA "unknown address" namespace separation (purely mechanical,
as far as "grep" reaches)
2004-09-14 20:32:48 +00:00
drochner 1134c44162 adapt to ISA "unknown address" namespace separation 2004-09-14 20:25:05 +00:00
drochner 61ac7027b3 include "locators.h" explicitely (don't rely on isavar.h doing so) 2004-09-14 19:57:37 +00:00
jdolecek 3ea04717bf do not include "compat/aout/files.aout", COMPAT_AOUT is soon to be removed 2004-09-14 16:51:57 +00:00
drochner 6453b0fcb2 fix wrong asm .end names which caused assembler warnings,
from Nicolas Joly per PR port-alpha/26945
2004-09-14 11:27:22 +00:00
simonb c5b66303ed White space nit. 2004-09-14 09:00:24 +00:00
simonb 357f38915a Tidy up a little. 2004-09-14 08:22:33 +00:00
fvdl 2a1aa1e67d Remove some devices (sync with i386). 2004-09-13 22:33:47 +00:00
drochner df80bed99c put EISA attachment specific code inside "#if NPCEB > 0",
to avoid references to EISA variables if "pceb" is not defined in
kernel configurations, and save some bytes
tested by Havard Eidnes (or his colleague:-)
2004-09-13 18:42:59 +00:00
drochner 11ff62378b add "joy" 2004-09-13 17:26:28 +00:00
drochner 103deb3575 use config_found() instead of config_found_sm() if no submatch
function is used
2004-09-13 15:14:12 +00:00
drochner a02e2488a0 autoconf cleanup: turn xxxsubmatch() functions into the locator
passing variants
2004-09-13 14:57:31 +00:00
drochner a48272e3d0 pass locators to tlsbsubmatch()
XXX the "offset" locator is unused appearently, assume that "0"
is a sensible value
2004-09-13 14:48:46 +00:00
drochner cb1ceb0bce remove "pcibus" and "isabus" from "mainbus" -- neither of them
attaches directly
cleanup a comment
2004-09-13 14:38:37 +00:00
drochner b1ce7363e0 clean up the questionable use of sabtty_match() as submatch function
(with no useful contents), and implement a real submatch function instead
2004-09-13 14:32:38 +00:00
drochner 6c73a9561e nothing attaches to a "sabtty", so there is no need for an
interface attribute
2004-09-13 14:29:38 +00:00
chs cbc396ce30 work around a binutils bug where converting ELF kernels to a.out with objcopy
produces corrupted binaries when the link_set_* sections extend into another
page after the end of the .text section by using a generated an ldscript that
puts all the link_set_* data into the .text section in the first place.
2004-09-13 09:39:40 +00:00
jdolecek 8c73815634 remove the commented COMPAT_AOUT - it's not present in the other
kernel configs neither
2004-09-12 12:49:22 +00:00
dsl 4b313d03d3 Need %ah == 0 (not 0xff) in order to find the correct partition table entry
when simulating a key press in the non-interactive mbr code.
Fixes bug introduced in rev 1.10 - older versions worked because %ah
happened to be 0!
Fixes PR bin/26919
2004-09-12 08:41:47 +00:00
reinoud a4ea5c43d3 Add wsmux and keyboard RAW support for better X 2004-09-10 21:09:57 +00:00
reinoud 52a3b4ec4a Add USB-2 support to Alpha 2004-09-10 21:09:06 +00:00
nathanw 3a1db40022 Spelling in comment. 2004-09-10 15:27:10 +00:00
jmmv 5a9d24809c Set valid values for the (commented out) WS_DEFAULT_COLATTR and
WS_DEFAULT_MONOATTR options.  This way, if a user blindly uncomments
them, he will not get a build failure.  Addresses PR kern/26503.
2004-09-08 11:38:22 +00:00
thorpej 9946bbdb7a Use CPUFLAGS for codegen options. 2004-09-06 23:41:21 +00:00
uwe 7caf846e65 Add lxtphy.
Requested in PR port-hpcsh/26863.
2004-09-06 23:32:59 +00:00
is 0297f3ae8c While in graphics mode, short-circuit text-mode functions that would destroy
graphics state. Same fix as ite_cl.c 1.4.
Problem reported, and original fix provided, by Pawel Chwalowski in PR 26788
(but had to be recreated because the original patch didn't apply due to
a whitespace problem).
2004-09-06 18:12:54 +00:00
drochner ea081c8468 fix a botch in config_found->config_found_ia transition,
by Havard Eidnes
2004-09-06 12:38:17 +00:00
sekiya 8590eac465 Use the mace interrupt handler for PCI interrupts.
From KIYOHARA Takashi
2004-09-06 07:24:06 +00:00
dsl 4a83eca5d5 Save 2 more bytes (by adjusting the ERR_NO_LBA setup).
Use up all the space by adding a short banner message.
'Fn diskn' for bootsel and 'NetBSB MBR boot' for the non-bootsel code.
2004-09-05 21:42:43 +00:00
sekiya 7e244e5e53 Oooops, iaa.iaa_name must be initialized. 2004-09-05 13:32:10 +00:00
sekiya 847a930d95 Use config_found_ia() rather than config_found(). 2004-09-05 11:48:34 +00:00
manu 6e3c639957 IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
2004-09-04 23:29:44 +00:00
tsutsui 52b46dcf6f - Use ANSI function declarations and make some functions static.
- Some KNF
2004-09-04 13:43:11 +00:00
tsutsui 378871cd27 Include ioconf.h to declare struct cfdriver. 2004-09-04 11:28:32 +00:00
thorpej e489b76d88 More complete fix for overriding CPUFLAGS and also apply fix to bootxx,
from Valeriy Ushakov.
2004-09-03 21:55:17 +00:00
thorpej f340ce91f0 Override CPUFLAGS to empty so that a CPUFLAGS setting in the user's
mk.conf don't affect the C options we need to build the boot loader.
2004-09-03 18:25:04 +00:00
leo 86c572bcee Correct typo in copyright notice. (noticed by Hubert Feyrer). 2004-09-03 14:07:57 +00:00
scw ecadc37220 Fix the rcsid. 2004-09-02 12:23:09 +00:00
scw db255697d0 Apply suggested changes from PR port-powerpc/24830 arch/powerpc/ibm4xx:
Bad register constraints in copyin(), copyout(), copyinstr(), copyoutstr(),
and delay().
2004-09-02 08:22:58 +00:00
tacha 163c7d245a Make this compile again. 2004-09-02 02:18:38 +00:00
dsl ab6077db18 Remove the functionality added in rev 1.7.
With no menu items the mbr_bootsel code will wait for the timeout (default
10 seconds) and then boot the default device - usually the active partition.
Forcing the 'active' partition was wrong - jmmv has a system which needs
to boot from hd1 where hd0 has no mbr partition info.
I suspect the problem I though rev 1.7 fixed was actually caused by
disklabel copying sector zero of the disk to sector zero of the partition!
Gains another 9 bytes of free space, mbr_bootsel now has 20 free bytes.
2004-09-01 20:31:20 +00:00
tsutsui 221c318874 - Adapt to the MI wdc driver changes which added the notion of
"shadow registers":
  http://mail-index.netbsd.org/source-changes/2004/05/25/0048.html
- While here, also fix accesses to CTL regsters to use the correct address.

Now the cobalt bootloader works again.

XXX Maybe we should make this SA wdc driver MI...
2004-09-01 15:54:39 +00:00
uwe af4511cccc Force STRIPFLAG to be empty after bsd.own.mk is included, so that
any value set in /etc/mk.conf is overriden.
2004-08-31 22:57:13 +00:00
simonb ac20296fee Remove the unused MKTTE macro. 2004-08-31 01:06:12 +00:00