Commit Graph

28130 Commits

Author SHA1 Message Date
gwr a8af683eb9 Eliminate references to vmspace.vm_pmap 1997-05-13 18:00:49 +00:00
kleink 244f0cc5f2 Update to the new `chown(2) vs. (S_ISUID|S_ISGID)' world order. 1997-05-13 17:45:16 +00:00
augustss 9d5e7c9a4c Add audio utility programs.
The audio device can be inspected and changed by audioctl,
and the mixer device by mixerctl.  The command syntax was
inspired by sysctl.
1997-05-13 17:35:50 +00:00
gwr 1aa91b893d Eliminate references to vmspace.vm_pmap
(also fix some comments).
1997-05-13 17:17:12 +00:00
gwr d69bf3ded2 Eliminate references to vmspace.vm_pmap
(also fix some typos in comments).
1997-05-13 17:16:28 +00:00
gwr 1d8ffff9d9 Use GLOBAL(), _C_LABEL(), etc. 1997-05-13 16:31:26 +00:00
jtk d01ff6bdaa regen 1997-05-13 14:45:39 +00:00
jtk 68187ebd40 correct the identification of Intel Orion PCIset chips 1997-05-13 14:44:54 +00:00
scottr fac0bcfedb Update a recently-added comment re: bytelanes values. 1997-05-13 13:22:56 +00:00
mikel d42ad5411c don't try to ignore invalid signal; fixes PR bin/2901. 1997-05-13 06:48:42 +00:00
scottr 5b80f9077f Tweak sbc_drq_intr() (interrupt-driven PDMA interrupt handler); it
now works properly on at least some disks.  Further testing is
necessary.
1997-05-13 06:34:00 +00:00
mikel 254cb6fdc9 fix some potential buffer overflows, and other cleanup. 1997-05-13 06:15:52 +00:00
mikel 09e3ffba3e fix typos; from Dave Huang in PR bin/3611. 1997-05-13 04:55:33 +00:00
mikel 71f0bfd8cc refer to proper key file, not gettytab; from Dave Huang in PR bin/3610. 1997-05-13 04:38:20 +00:00
mikel b674a8fd0e fix typos noted by Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp>. 1997-05-13 04:15:06 +00:00
mikel a9f44d3e01 xrefs need section numbers 1997-05-13 03:15:40 +00:00
explorer 51096e423b Add kernel log() man page. Will add other logging/printing functions soon. 1997-05-12 23:51:56 +00:00
fvdl f9d1ae2243 clear B_AGE for non-flush writes, buffers seem to be reused
too quickly, disturbing NFS performance (XXXX needs further analysis
and a _real_ fix)
1997-05-12 23:42:11 +00:00
lukem c20c8f0d8d fix up minor typos in comments 1997-05-12 23:40:50 +00:00
fvdl fe28924160 * If nfs_reconnect fails, be sure to release the sndlock, otherwise no
other requests will get through and the mount point will be effectively dead.
  This could happen for mounts using TCP and -i and/or -s.
* Reserve enough space for UDP sockets. Fixes PR 3008, from Naofumi Honda.
1997-05-12 23:40:22 +00:00
fvdl 7b65591cb9 In nfsrvw_coalesce, make sure the coalesce list from the nfsd is moved
as well. This fixes client hangs. (from Naofumi Honda
<honda@Kururu.math.sci.hokudai.ac.jp> / NetBSD-pc98)
1997-05-12 23:37:12 +00:00
thorpej e98c5a9b1c Fix two boundary/overflow errors in extent_alloc_subregion():
(1): "substart == ex->ex_end" and "subend == ex->ex_start"
     are completely legal parameters for extent_alloc_subregion()
(2): "(subend - substart) + 1" can cause an overflow if the whole
    numeric range is covered by the extent.
Submitted by Matthias Drochner <drochner@zelz26.zel.kfa-juelich.de>
in PR #3119.
1997-05-12 23:36:32 +00:00
fvdl ae69375a24 Store RPC procnum consistently as an u_int32_t. This is as it should be,
and avoid possible server crashes due to bogus comparisons. Partly
from BSDI.
1997-05-12 23:36:04 +00:00
scottr 3b7a1d3ab0 Convert several interrupt handlers to bus space model, removing some
XXX's.  Also, fix a bug in grfmv_intr_generic() that I found and
confirmed with Allen.
1997-05-12 20:35:50 +00:00
kleink 9c03d5cf55 When doing a CREATE, RENAME or DELETE w/ DOWHITEOUT and ISWHITEOUT lookup on a
non-existent file and the end of the pathname is reached, and this `current'
directory resides on a read-only mounted file system, don't update/prepare
its inode for the actual operation but return EROFS.
1997-05-12 19:04:16 +00:00
christos 7c2d8cb288 Use ${.CURDIR}/tags instead of tags. `tags' is .PHONY so it gets rebuilt
all the time.
1997-05-12 16:41:03 +00:00
lukem 808ec252ad don't print -ve ETA if file size has grown. noticed by hpeyerl@netbsd.org 1997-05-12 11:41:13 +00:00
lukem 54e2fe6d7e provide empty settings for $hostname, $domainname and $defaultroute,
with comments indicating alternation locations for info
1997-05-12 11:33:31 +00:00
lukem 6de0bcebfd document $hostname, $domainname, $defaultroute and $ifaliases_XXX 1997-05-12 11:28:19 +00:00
lukem 1775d86183 * add support for $hostname, $domainname, $defaultroute and $ifaliases_XXX
* only configure lo0 if not configured by the "configure interface" loop
1997-05-12 11:26:10 +00:00
thorpej 4d989c06dd Add the following drivers:
- frodo at intio
- dnkbd at frodo (commented out until integrated)
- apci at frodo
1997-05-12 08:24:56 +00:00
thorpej f8337a2c14 Add apci driver glue. 1997-05-12 08:23:28 +00:00
thorpej 286b3b171d Add glue for APCI driver at cdev minor #31 and in console switch. 1997-05-12 08:17:53 +00:00
thorpej 6cc1022d84 Garbage-collect an unneeded definition. 1997-05-12 08:14:01 +00:00
thorpej a492e1df80 Add a kernel driver for the APCI 8250-like UARTs that live in the
Frodo ASIC, originally contributed by Mike Smith
<mike@pressed.spam.frisbee.net.au>, but reworked by me to:
- Essentially duplicate the dca driver, modifiying where necessary
  to work with the APCI.
- Deal with the different Frodo autoconfiguration model.
- Don't attach a tty to the 0th UART - it's not really useful for much
  more than the Domain keyboard.
- Added a routine to check for the existence of a DCA at select code 9.
  On most models, the 1'th UART is mapped to select code 9 by the PROM,
  and on these models, we do _NOT_ want to attach the device as an APCI.
  However, on the 425e, this mapping does not take place, so we attach
  as an APCI.  The 2'th and 3'th UARTs always get tty instances.
- Add console support which will only be invoked on the 425e (i.e. check
  for DCA at 9, and defer console to it if it exists).
1997-05-12 08:12:36 +00:00
thorpej a155715d44 Add a driver for the Apollo Utility Chip (a.k.a. "frodo"), contributed
by Mike Smith <mike@pressed.spam.frisbee.net.au>, with some changes to
the autoconfiguration model and slight changes to the interrupt glue
by me.
1997-05-12 08:03:48 +00:00
mikel 90842c1ab1 xref sigaction(2), not obsolete sigvec(2). 1997-05-12 08:03:28 +00:00
mikel 90490d03b2 fix xrefs: sigvec(2) -> sigaction(2), killpg(2) -> killpg(3). 1997-05-12 08:00:09 +00:00
thorpej 2392fb2a1c Bump version: Added APCI console support 1997-05-12 07:58:08 +00:00
thorpej 83c63bd2de - Always build a romout() stub.
- If kbdnmi() returns, stop cold, since it shouldn't.
1997-05-12 07:56:00 +00:00
thorpej f39885279b - Define INTIOBASE here for use by the standalone programs.
- Add some extern's for "userom" and romputchar()
1997-05-12 07:54:45 +00:00
scottr 61322b7b85 KNF and other cosmetics. 1997-05-12 07:53:58 +00:00
scottr bfc4c6c42d Whoops; here's the rest of the Deferred Task Manager changes. 1997-05-12 07:53:04 +00:00
thorpej 4e0ee78444 - Always build the romputchar() glue.
- Don't set "userom" in the trap handler (we didn't before, but we've
  removed the previous CPP conditional that was used to enable it.)
1997-05-12 07:53:02 +00:00
thorpej eac0352a9e In kbdnmi(), after we have cleared the interrupt condition, reset
the machine, rather than simply returning to the assembly NMI handler.
Previously, the assembly handler would simply jump back to begin:, which
would frob the stack, and re-clear the BSS.  However, this is not sufficient,
as there may be state in initialized data that must be restored.  Thus,
the only reasonable solution is to re-load the boot block.
1997-05-12 07:51:32 +00:00
thorpej c25bfe1365 Don't use hardcoded hex for the address of the internal HP-IB interface.
Instead, use definitions from <hp300/dev/dioreg.h>
1997-05-12 07:48:23 +00:00
thorpej 82ae3a106e Don't use a hard-coded hex address for the 0'th APCI port; use definitions
from <hp300/dev/frodoreg.h>
1997-05-12 07:47:03 +00:00
mikel 7c0be96cf7 xref sigprocmask(2), not obsolete sigsetmask(2). 1997-05-12 07:46:33 +00:00
thorpej 0c5b002449 Add prototypes for standalone APCI driver. 1997-05-12 07:45:41 +00:00
thorpej 05333d3fa5 - Add glue for standalone APCI console driver.
- Make the romputchar() useage conditional only on "userom".
1997-05-12 07:44:53 +00:00