Commit Graph

148916 Commits

Author SHA1 Message Date
seanb
13d47e9c25 Consistently establish / disestablish shutdown hook
in the bus layer and remove from common ath_attach().
Having it in both layers (on some bus architectures)
was causing a double call to ath_stop() on shutdown
which in turn was tickling the bus lockup described
therin on slower machines.
2006-07-14 13:37:25 +00:00
yamt
ff6f0069a4 prtsig: remove a mysterious abort(). 2006-07-14 05:43:49 +00:00
xtraeme
911aafad9f Make this build again and fix the bus_space_tag_t member of the softc,
it's defined in the com_regs struct now.
2006-07-14 05:02:00 +00:00
rpaulo
bca99f7dee We don't have Postfix 2.3.0 yet.
While there, fix the license a bit.
2006-07-14 01:08:36 +00:00
pavel
7173632277 sys_getfh -> compot_30_sys_getfh 2006-07-13 23:52:55 +00:00
pavel
336e41ffa7 regen (sys_getfh -> compat_30_sys_getfh) 2006-07-13 23:48:08 +00:00
pavel
50a6eaa646 use the COMPAT_30 getfh. 2006-07-13 23:47:17 +00:00
pavel
20d6f5666c regen (sys_getfh -> compat_30_sys_getfh). 2006-07-13 23:45:54 +00:00
pavel
485f2e18be use the COMPAT_30 getfh. And do it always - don't protect it by
#if defined(NFS) || defined(NFSSERVER).
2006-07-13 23:44:34 +00:00
martin
dee43775e6 Small simplification, pointed out by Christian Hattemer in private mail. 2006-07-13 23:43:13 +00:00
pavel
b15a1164c7 regen 2006-07-13 23:40:55 +00:00
pavel
6ac5157e79 request the COMPAT_30 getfh in the master files. (Changes to the generated
ones would be lost.)
2006-07-13 23:38:57 +00:00
pavel
a360a47f63 regenerate again to have correct source RCS Id 2006-07-13 23:26:24 +00:00
pavel
56194475a6 regen. 2006-07-13 23:23:52 +00:00
pavel
037b2fed75 do not protect the getfh syscall by
#if defined(NFS) || defined(NFSSERVER).
The native syscall also isn't.
2006-07-13 23:22:30 +00:00
yamt
6ea460924a mntsrv: wrap a long line. 2006-07-13 23:18:59 +00:00
martin
f8fef2f801 regen 2006-07-13 23:10:40 +00:00
yamt
9cb0d9a9d8 compat_30_sys_getfh: s/fhandle_t/struct compat_30_fhandle/ (fix overrun.) 2006-07-13 23:04:02 +00:00
gdamore
34537908ab Add an option COM_REGMAP to allow com(4) to use an array of register indices.
This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.

Additionally, we use a common com_cleanup routine rather than having a
zillion copies of it in the attachment points.

This has been tested on a number architectures, and it has been shown to get
close to comparable performance when COM_REGMAP is defined, and comparable
when it is not defined.

Approved by core@.  Fixes PR port-evbmips/32362.
2006-07-13 22:56:00 +00:00
pavel
65ace88efa regenerate again to have correct source RCS Id 2006-07-13 22:35:06 +00:00
martin
74709a8860 Apply _KERNEL_OPT 2006-07-13 22:08:00 +00:00
gdamore
b67e43bbbc Register name for "psm" driver. 2006-07-13 22:05:53 +00:00
martin
3fb505e6b2 Version the lfs_cleanerd internal fcntl() for filehandles too,
so old cleaners should work with newer kernels.
2006-07-13 22:05:52 +00:00
martin
edf136d748 fix typo 2006-07-13 21:51:50 +00:00
gdamore
2f446293b4 Activate argpio. Apparently I forgot to commit this change earlier.
Noticed while merging other com(4) changes.
2006-07-13 21:38:24 +00:00
bjh21
642809bdd7 Bump version number for today's changes. 2006-07-13 21:32:12 +00:00
martin
b2fb3338d9 Adapt to getfh versioning 2006-07-13 21:31:31 +00:00
gdamore
ccee3fc76f Revert yamon_getenv() so it returns char *. While this is suboptimal, it is
the only convenient way to use the returned value with numerous library
routines which have not been altered to properly use constified char *.

This was found to be necessary when I extended yamon to hold a string
describing a video mode for use with my experimental radeonfb.
2006-07-13 21:06:18 +00:00
uwe
4c3c91e691 De-__P. ANSIify.
Same object code is generated (except in prf.c, where putchar argument
type was changed to int to match the prototype and one instrcution
changes accordingly).

strategy() in ofdev.c was not ANSIified in this sweep, b/c that
changes code generated at call sites!
2006-07-13 20:03:34 +00:00
martin
629693c760 Lint insists on this. 2006-07-13 19:09:06 +00:00
christos
2b91c98c21 remove PAM_DEBUG 2006-07-13 18:18:09 +00:00
garbled
a59f110c72 Rather than hardcode the location of the Interrupt Vector Register, we
try to locate it using the residual data.  On some machines this doesn't
work, so we fall back to hardcoding it.  This should fix isa interrupts
on the 7025-F40, which has the IVR at a different location.
2006-07-13 17:50:37 +00:00
christos
eb251235c6 flex arrays are a c9x feature. 2006-07-13 17:49:29 +00:00
martin
9adca95023 COMPAT_SUNOS* uses COMPAT_30 getfh too 2006-07-13 17:39:47 +00:00
bjh21
0867d7e87d RCS ID header. 2006-07-13 16:48:18 +00:00
bjh21
c5e6021bb2 Pass the argument to OSModule_Free in the correct register. This stops
NBFS leaking memory.
2006-07-13 16:29:46 +00:00
martin
508a062fec Make freebsd_sys_getfh use compat_30_sys_getfh 2006-07-13 16:28:38 +00:00
bjh21
99d7b7bca3 Fix error handling in nbfs_close(). 2006-07-13 16:11:41 +00:00
bjh21
723176de91 Handle Service_FSRedeclare correctly. NBFS now works after restarting
FileSwitch.
2006-07-13 16:09:58 +00:00
bjh21
bd0da079fe Add Service_FSRedeclare. 2006-07-13 16:03:23 +00:00
bjh21
a0121cb653 Sensible error handling, with libsa errors being mapped to useful RISC OS
errors.  Also centralise our filing system number (as yet unassigned) in
nbfs.h.
2006-07-13 15:51:54 +00:00
bjh21
890c1cd933 It's possible to launch the installation kernel by double-clicking it now. 2006-07-13 15:19:58 +00:00
bjh21
5fa51428d5 Fix a couple of .Pa that should have been .Pp. 2006-07-13 15:07:47 +00:00
bjh21
74be07eab4 Correct another reference to BtNetBSD.zip.
Also spell "RISC OS" consistently and correctly throughout.
2006-07-13 14:50:27 +00:00
martin
81b2f47532 Do not automagically UP the interface when setting the address.
Together with previous ifconfig changes, this fixes PR 30694, at
least for pppoe (and other sppp based) interfaces.
2006-07-13 14:04:50 +00:00
martin
50edcae7de Trying the old "ifconfig <name> x.x.x.x down" issue again:
if the kernel does not set the interface up after we set an address,
do it explicitly, unless we (previously) set it down on user request.

This will allow the network drivers to be "fixed" while keeping visible
behaviour the same. Part of fixing PR 30694.
2006-07-13 14:02:03 +00:00
bjh21
99397e519f BtNetBSD is shipped as a Spark archive complete with RISC OS file types now,
which simplifies things considerably.
2006-07-13 13:53:45 +00:00
bjh21
0daf2ef0d5 Fix sources of software. 2006-07-13 13:45:47 +00:00
martin
8e562bd728 No arg names in prototypes 2006-07-13 13:43:27 +00:00
bjh21
d117d70cb0 boot32 can boot gzipped kernels (when it works at all), so there's no need
to require a standalone gunzip.
2006-07-13 13:25:17 +00:00