Commit Graph

79376 Commits

Author SHA1 Message Date
tsutsui 42f78f411a Correct an entry for Acard UDMA IDE controller.
The chip is actually marked as ATP860-A, not ATP860R.
2001-04-21 13:28:52 +00:00
tsutsui c7bcfd56a3 Fix a leftover comment. 2001-04-21 11:54:25 +00:00
sato a797d869ed dump io setting: DPRINTF->VPRINTF 2001-04-21 10:32:38 +00:00
shin 18b3797247 add /dev/altq 2001-04-21 09:54:33 +00:00
jdolecek 583f68be2c update prototype for uvm_map_pageable()
XXX there are probably more things which need an update here
2001-04-21 08:34:11 +00:00
jdolecek 4475e78cfe fix typo 2001-04-21 08:22:44 +00:00
tsutsui f39a68828d Make sure to check SC_ACCEL_TAGS in ncr53c9x_ioctl()
even if sync transfer is disabled or not supported.
2001-04-21 07:28:22 +00:00
martin 83930a016c Demangle an #ifdef mess and make all ioctl routines take an u_long
as the command argument. Before we were subject to subtle sign extension
differences depending on char being signed or unsigned.
2001-04-21 07:23:41 +00:00
tsutsui c6e66cb834 Define ${ELF2ECOFF} and use it so that we can specify objcopy
for it on cross environment.
2001-04-21 05:54:02 +00:00
tsutsui 64eed5859d Clean up ncr53c9x_select():
- Define NCR_F_SELATN3 for sc_features and use it to check if the chip
  supports SELATN3 command
- Make conditions of sending messages a bit simpler.
2001-04-21 05:35:20 +00:00
hubertf 965773e0ca Check for return value of getenv() before handing it to strdup().
Fixes a bug in last commit when PKG_ADD was not set.
2001-04-21 01:38:14 +00:00
ross baa78b5c79 Nonfunctional change split out from pending functional commit. 2001-04-20 23:52:23 +00:00
thorpej 4ad5b289fe No longer need to play with the kernel_lock while waiting
for the other processor to sync FP state.
2001-04-20 22:59:38 +00:00
thorpej c24c3604b0 SPINLOCK_INTERLOCK_RELEASE_HOOK should actually be
SPINLOCK_SPIN_HOOK, so that we actually check for
pending IPIs on the Alpha more than once.  Also,
when we call alpha_ipi_process(), make sure to go
to splipi().
2001-04-20 22:58:39 +00:00
thorpej b8ccfcaac5 Add splipi() to block interprocessor interrupts (which come in at IPL 5). 2001-04-20 22:28:58 +00:00
toshii 61ff48a82e In pmap_allocpagedir(), check if uvm_km_zalloc of ptpt is successful,
and handle alloc failure case.
2001-04-20 18:11:53 +00:00
matt 1a5fe5b583 Split cpu from mainbus so that cpu can attached to other buses (like ofbus). 2001-04-20 18:08:48 +00:00
thorpej 97682364ef Adjust for a multiprocessor data structure change (whee, I guess
I haven't built a GENERIC.MP for a while...)
2001-04-20 18:03:27 +00:00
thorpej 499f5a02fd Alas, we must put pmap_emulate_reference() in the kernel_lock
perimeter as long as we still acquire it in interrupt handlers,
in order to avoid a lock ordering deadlock.
2001-04-20 18:00:50 +00:00
thorpej a18eaa4cb6 Make sure there is there is a curproc in ltsleep(). 2001-04-20 17:58:49 +00:00
tsutsui f2e3f6d5d4 Cosmetics. (tab/space etc.) 2001-04-20 17:32:33 +00:00
he 9f142f57b9 In the provisional disklabel (which will be used if there is no
valid on-device disk label), set d_npartitions to RAW_PART+1 instead
of to 1.  Discovered as a build bug on the netbsd-1-5 branch, affecting
miniroot construction and vnd devices; RAW_PART went missing from the
in-core disklabel, and eventually also the on-device label.
2001-04-20 16:58:19 +00:00
matt 5f6967f571 A small change for NETWINDER support. (netwinder needs its own pci_attach_hook) 2001-04-20 16:52:04 +00:00
matt 60ca1c1c66 Make EXEC_ELF32 standard. Cleanup/fix GENERIC to include more devices. 2001-04-20 16:48:01 +00:00
fredette b56ccf464d Add entries for the NatSemi MM58167 time-of-day clock chip
and the chipset used in the Sun2 "sc" SCSI adapters.
2001-04-20 16:39:22 +00:00
fredette 31d512c2e3 Added support for the chipset used on the Sun2 "sc" SCSI adapters.
A little rough around the edges, but definitely a starting point.
2001-04-20 16:35:22 +00:00
thorpej e84fefd1f1 pmap_asn_alloc(): In a multiprocessor configuration, it's possible
to arrive here referencing the kernel_lev1map without having the
RESERVED ASN -- another CPU may have caused pmap_lev1map_destroy()
to be called, and that routine only invalidates the ASN for the
CPU that called it.  So, in the MULTIPROCESSOR case, simply assign
the RESERVED ASN if we reference the kernel_lev1map rather than
asserting that we already have the RESERVED ASN.  Thanks to Bill
Sommerfeld for helping me track down the problem.

Also add a new IPI that causes a CPU to re-activate its address
space if the pmap it's using changes level 1 maps (this probably
won't happen very often, but it's correct to have it).

This makes Alpha MP kernels boot multiuser.  In fact, this commit
is being made from my dual-CPU AlphaServer 1200 running an MP kernel.
2001-04-20 16:22:33 +00:00
matt 21b85badda More changes to get the netwinder to multiuser. Hack the initarm code
to reserve the first 2MB for the kernel.  Use the netwinder specific
files.  Add pci_attach_hook for init the pci devices.  Add and alternate
id for the PCI ISA bridge.
2001-04-20 16:09:48 +00:00
jdolecek 54f4c1e1f2 add com(4) 2001-04-20 16:08:46 +00:00
jdolecek 07a8d8c9db put com* at mca? where it alphabetically belongs in SYNOPSIS 2001-04-20 16:08:16 +00:00
jdc 475308e857 Forget to mention: This fixes PR lib/12565. 2001-04-20 13:14:42 +00:00
jdc 36d80fe4b0 Add entries for scrolling regions and getnstr() functions. 2001-04-20 13:06:35 +00:00
jdc e1b04b0bbd Bump libcurses minor (now 4.2). 2001-04-20 13:04:58 +00:00
jdc e279497a4c Implement the getnstr() functions.
Add __warn_references() for getstr().
Move getstr() family closer to SUSv2 :
  add checks for <carriage return>, the kill character, KEY_LEFT and
  KEY_BACKSPACE
  ignore other KEY_* characters
2001-04-20 13:03:24 +00:00
jdc f82a1102e0 Make comments match reality (delete-char instead of insert-char). 2001-04-20 12:57:47 +00:00
jdc 3f9388e3e3 Implement scrolling regions :
has_ic()
  has_il()
  setscrreg()
  wsetscrreg()
2001-04-20 12:56:08 +00:00
reinoud 80b53c5a9b Euhm... small typo ! 2001-04-20 12:47:55 +00:00
sato 355c78fa22 enlarge MSGBUFSIZE for -v option. 2001-04-20 12:08:45 +00:00
sato f3f40df128 options<TAB><TAB> -> options<SPACE><TAB> 2001-04-20 12:07:49 +00:00
reinoud 1351706593 Fix a few race conditions ... the VSYNC update flag could be cleared
resulting in a blank screen when f.e. a setcursor ioctl was called
after the screenblanker had enabled the screen again ... the actual
switching on was then never performed at VSYNC.

A simple |= instead of = does the trick ... just leave the other bits
on please :)
2001-04-20 11:53:06 +00:00
pooka 2eb8dafad8 Remove /usr/X11/man/whatis.db from path list, as it can no longer found
in /etc/man.conf
2001-04-20 11:45:37 +00:00
jdolecek 97bcf9d7d7 until I find better way, don't mess with ed(4) link to edc(4) 2001-04-20 11:25:05 +00:00
fvdl 9dc4bbb990 Don't forget to unlock the vnode returned by cache_lookup if the
subsequent access check fails. Don't overwrite the error code
returned by cache_lookup. Remove a piece of redundant code.

Should fix kern/12680.
2001-04-20 11:22:02 +00:00
jdolecek 4d5eec3337 regen 2001-04-20 11:19:51 +00:00
jdolecek a20a13451f Add support for IBM Multi-Protocol Communications Adapter. Card provided
by Hans Hubner <hans@huebner.org>.
We only support the card in "serial" mode. BISYNC nor SDLC modes are
not supported.
2001-04-20 11:19:27 +00:00
fvdl a4c70394dc On VOP_GETATTR failure in nfs_nget, call vgone() to get rid
of the vnode that was just created. Suggested by Enami.
2001-04-20 11:19:16 +00:00
sato 17218cb6b4 - add VR4181 and VR4122 cpu for hpcmips. and regen headers.
- add new option 'options BOOT_STANDALONE'
	boot from standalone(not WinCE application) boot loader.
- add new option 'options SPEC_PLATFORM'
	statically specify platid in config file.
	In BOOT_STANDALONE case,
	'options SPEC_PLATFORM=platid_mask_MACH_xxx_yyy',
	and add 'options SPEC_MACH_xxx'&'options SPEC_MACH_xxx_yyy'.
	for  specify platid in config file statically'
	In wince boot case, 'options SPEC_PLATFORM'
	and add 'options SPEC_MACH_xxx'&'options SPEC_MACH_xxx_yyy' for
	config level size optimization.
XXX: now I working in hpcmips...
2001-04-20 10:15:02 +00:00
tron d34bc24bd8 Correct link target: dasd(4) is called edc(4) now. 2001-04-20 10:08:01 +00:00
jdolecek 1df81c3607 regen 2001-04-20 10:05:16 +00:00
jdolecek b973e27bba Add support for NeoTecH Single RS-232 Async. Adapter, SM110. Tested
with card provided by Hans Hubner <hans@huebner.org>.

Also pretty the autoconf attach messages a little.
2001-04-20 10:03:35 +00:00