Commit Graph

93666 Commits

Author SHA1 Message Date
reinoud b91c20709e When ARMFPE wasn't enabled the `usearmfpe' flag was statically initialised
but not used resulting in a compiler error. By splitting the declaration
and the initialisation this is solved.

Better would be to not even declare the flag when ARMFPE isnt enabled but
that would just add to the #ifdef jungle.
2002-03-11 11:50:12 +00:00
simonb af03fa8023 Add an RCS id. 2002-03-11 11:29:29 +00:00
simonb 6b078ef993 Fix gcc 3.x "operation on `foo' may be undefined" warnings when using
constructs like "tptr+=*tptr++;".

Itojun will forward these changes to tcpdump.org.
2002-03-11 10:43:33 +00:00
leo 0cd2b4eee6 Take care of the 'machine' and 'm68k' include paths.
Copied verbatim from the x68k/stand/libsa/Makefile.
2002-03-11 10:29:42 +00:00
martin 0039b1300a KNFify my last change. 2002-03-11 10:06:12 +00:00
simonb d94dc50679 Split the _SUBDIR assignment into two assignments so you can do things
like "grep ^_SUBDIR Makefile".
2002-03-11 07:49:24 +00:00
lukem 3f267f7add as we don't need local version of REV and VER any more, read in
distrib/Makefile.inc directly and remove the now-unnecessary
Makefile.inc from here
2002-03-11 07:11:37 +00:00
chs b0263218b6 override cn_trap() with zs_abort() so we can drop to the monitor
if there's no DDB.  fixes PR 12547.
2002-03-11 07:11:26 +00:00
lukem 0a2de544dd remove now-unused files 2002-03-11 07:06:19 +00:00
lukem ceed08717c - convert to New Distrib World Order, which allows this directory to be
cross-built without root privileges.  (tested i386->sparc cross-build).
- remove now-unused cruft

XXX: there's still other parts of distrib/sparc that need fixing.
2002-03-11 07:04:21 +00:00
itojun e35048b143 note ssh config pathname change 2002-03-11 07:02:12 +00:00
itojun 0a2445c3b6 move sshd config files to /etc/ssh 2002-03-11 04:57:55 +00:00
itojun ce418d6d8e dig /etc/ssh 2002-03-11 04:38:41 +00:00
simonb 2ebbd79a63 Include <stdlib.h> for exit() prototype. 2002-03-11 03:29:49 +00:00
simonb 4c99e006ad Need this to build the system - libc nlist assumes all mips have ecoff. 2002-03-11 02:33:37 +00:00
itojun 3d6f24bae3 no \n to warnx(3). From: Mike Pechkin <mpech@prosoft.org.lv> 2002-03-11 02:06:02 +00:00
enami 89433f5abd Fix indentation. 2002-03-11 01:19:17 +00:00
enami c26a42313c Fix function decl. of _pool_reclaim() so that subr_pool.c compiles again
even if POOL_DIAGNOSTIC is defined.
2002-03-11 01:16:43 +00:00
bjh21 dad2756159 Use the values from <machine/ieeefp.h> to define the exception flags, and
rounding modes, rather than different ones (oops).
2002-03-10 23:31:35 +00:00
manu b2ce645507 Added syssgi(GETGROUPS) and syssgi(SETGROUPS) 2002-03-10 22:36:28 +00:00
ragge fe503fb96f Major update of the vax pmap:
- Reinstall the "dynamic page table length" that was removed some
	  years ago.
	- Limit the user page table submap to max 5% of available memory.
	- Free the page table space when a process is swapped out.
	- If the UPT submap runs out of space, throw away pmap mappings
	  using the same algorithm as for swapping processes.

As a result of this, 4MB machines are useable again and it's even possible
to compile a kernel for 2MB machines (but it will be slow... :-)

Still to do:
	- Multiprocessor fixes.
	- More profiling.
2002-03-10 22:32:31 +00:00
christos 071d0cb34b Search for space to attach a 3c562d correctly. From Hayakawa Koichi
<haya@netbsd.org>, thanks.
2002-03-10 22:28:02 +00:00
christos 07fb02cbcb Undo my previous change that worked around a problem attaching a 3c562d.
This is handled correctly now in the driver itself. From Hayakawa Koichi
<haya@netbsd.org>, thanks.
2002-03-10 22:27:04 +00:00
christos 7ef1545f01 PR/15839: Peter Seebach: PS/2 driver improvements 2002-03-10 22:21:21 +00:00
manu 911cceb1b7 Added statvfs/fstatvfs 2002-03-10 21:56:24 +00:00
jdolecek 5147204191 remove - the C version diverged enough for this to not be
full-featured replacement
2002-03-10 20:46:42 +00:00
jdolecek f004775535 fix behaviour if exactly one directory is specified (off-by-one error)
this caused makewhatis behave as if called without arguments at all

Problem reported by Xavier HUMBERT on current-users.
2002-03-10 20:36:10 +00:00
lukem 91c57b31d0 rcsid 2002-03-10 20:23:28 +00:00
lukem be07ec41d5 document MEMORY_DISK_SIZE 2002-03-10 20:05:42 +00:00
lukem cd19d52695 * rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
are now consistently named
* fold opt_mdsize.h into opt_md.h
2002-03-10 19:56:37 +00:00
augustss 42314426c9 Regen. 2002-03-10 19:55:55 +00:00
augustss 861a9e05a1 Add some WLAN devices. 2002-03-10 19:55:23 +00:00
augustss 101cc60a48 Don't define ACPI_BUT_DEBUG here. 2002-03-10 19:55:01 +00:00
lukem 710f40a884 * rename MEMORY_DISK_SIZE to OLD_MEMORY_DISK_SIZE; as far as I can
tell nothing in the acorn32 port was using this version of
  MEMORY_DISK_SIZE but I've left the code here incase the portmaster
  wants it.
* rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
  are consistently named
* fold opt_mdsize.h into opt_md.h
2002-03-10 19:53:25 +00:00
cyber 7e4db265ee _io_alloc and _io_map work in pairs, dont try to do anything with the data
until afterward the _io_map.
In some pcmcia chipsets the _io_alloc is a noop.
2002-03-10 19:20:50 +00:00
manu 6a48d31676 Fix a bug in the way syssgi(MAPELF) handles relocation: we are supposed to
look for a block of free virtual memory big enough to hold all sections. The
blocks starts at the beginning of the first section and ends at the end of
the last section. In the previous version the block ended at the beginning
of the last section, hence creating situations where there was not enough
free space to map the section.
2002-03-10 19:03:08 +00:00
augustss 7cf6202cca Fix a typo. 2002-03-10 18:46:35 +00:00
wiz 2f9d07f100 ispell, and a grammar fix. 2002-03-10 18:39:42 +00:00
junyoung a59447b7ad Fix typos. 2002-03-10 17:31:25 +00:00
kent 8574f78760 auich_set_params() sets 2 to hw_channels whenever monaural format is requested. 2002-03-10 16:48:58 +00:00
martin e41836739f Remove another old debug message.
Return the real mapping size in *_mem_map and *_io_map.
Minor cleanup.
2002-03-10 16:18:44 +00:00
bjh21 a42e17ae9a __RCSID -> __KERNEL_RCSID 2002-03-10 15:47:43 +00:00
bjh21 3a0f83d390 Re-work the way that FPAs are handled. If ARMFPE isn't configured, don't
even bother probing for an FPA.  If ARMFPE is configured, always use it,
even if there's an FPA (since it provides the FPA support code).  Move all
printfs about FPAs into armfpe_init.c.

This means I can delete the last two elements from struct _cpu, so that the
structure, and the whole of <arm/cpus.h> is redundant and can be deleted.
2002-03-10 15:29:53 +00:00
martin df4ebf76f9 Regen (seems I forgot that after TDK/Elsa ISDN MCall addition) 2002-03-10 15:13:52 +00:00
jmcneill 023d9c6eb8 Correctly enable/disable the low-pass filter, depending on the sample rate.
This fixes timing issues when playing back at 48kHz (noticable using
pkgsrc/graphics/mplayer and DivX ;-) streams).
2002-03-10 14:57:31 +00:00
ichiro 8596bfd754 fix 128bit WEP work with Prism2 Card.
from FreeBSD
2002-03-10 14:43:38 +00:00
bjh21 6b92497159 Only include roundAndPackInt32(), roundAndPackInt64() and estimateSqrt32()
if we actually need them for 80/128-bit support.

I'm not sure this is Right, but I suspect the #ifdefs around here need
revising to handle sparc64 nicely anyway.  Still, it compiles on ARM again
now.
2002-03-10 14:15:08 +00:00
itohy d5f39a2d9c Add explicit support of OPL3-SA2 (YMF711).
Not well tested....
2002-03-10 13:57:10 +00:00
martin e889f54f2f Adjust some unused register offsets to the new world order and fix a
comment.
2002-03-10 11:55:50 +00:00
bjh21 b0f4f4fe56 Add an RCSID while I'm here. 2002-03-10 11:39:58 +00:00