Commit Graph

93641 Commits

Author SHA1 Message Date
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
bjh21
64a051900d Id -> NetBSD in RCSID (oops). 2002-03-10 11:35:32 +00:00
martin
7e219b424d Remove RAY_USE_AMEM. This option claimed to use attribute memory access
for the registers, which was true, but actually the same as the driver
did without this option.

What it realy did is work around a stupid bug in the driver that did not
use the "offset" result from the pcmcia_mem_map call mapping the CIS memory.

We got away with this for a long time since on i386 and typical pcmcia
bridged the offset returned will be 0. It always failed (without
RAY_USE_AMEM=1) if the check for a different function CCR aliases in pcmcia.c
failed and mapped the CCR base new - this time at the CCR base of this
function (0xf00), so all register acceses (that had 0xf00 added) happened
way off in neverland.

Now we do not hardcode the CCR base to the register definitions, but
instead use the offset returned by pcmcia_mem_map. This makes the driver
work with and without CCR base aliases being found.
2002-03-10 11:32:18 +00:00
bjh21
9bb7807c7b Remove fpu_model from struct _cpu. Instead, have initialise_arm_fpe()
printf() the FPE version number itself.
2002-03-10 11:32:00 +00:00
bjh21
63231772e8 Add a ci_dev element to struct cpu_info, pointing to the device that
corresponds to the CPU.
2002-03-10 11:06:01 +00:00
takemura
41e10f2ddf Attached vrpiu at vrc4173bcu. 2002-03-10 10:13:31 +00:00
jdolecek
6cfc5b796f use TAILQ_FIRST()/TAILQ_NEXT()/TAILQ_EMPTY macros rather than dereferencing
appropriate structure members
2002-03-10 08:55:40 +00:00
uch
9a0d81c6cc use IOM_RAM_BEGIN macro instead of ram_start. 2002-03-10 07:46:51 +00:00
uch
672baca18b proc0 and page table intialize routines are moved to sh3_machdep.c 2002-03-10 07:46:12 +00:00
uch
f9201a1606 common part are moved to sh3/include/param.h 2002-03-10 07:45:31 +00:00
takemura
794600ce92 Attached vrkiu at vrc4173bcu. 2002-03-10 07:24:52 +00:00
augustss
1d7626cdd5 Make icu_intr_disestablish() actually work. 2002-03-10 03:15:24 +00:00
augustss
5cd0234a24 Regen. 2002-03-10 02:58:35 +00:00
augustss
bb70169d38 Add vendor Intersil. 2002-03-10 02:58:14 +00:00
augustss
00c6ccf059 Regen. 2002-03-10 02:55:26 +00:00
augustss
61b69e8d60 Add Pen Driver USB Disk. 2002-03-10 02:54:57 +00:00
christos
9a6801b5cd fix pool_allocator fallout. bad boy jason! 2002-03-10 01:48:25 +00:00
reinoud
6d18a99125 Fix port-acorn32/15850: machdep.booted_kernel on acorn32 is incorrect.
This has been on my TODO list for some time and i found it time to fix it
since its pretty simple to do.

The patch checks if the kernel is booted from the `UnixFS' RISC OS filing
system (case unimportant) and if so interprets its name to get the unix
file name the kernel has. If it doesn't see this prefix it will asume its
just called `netbsd'
2002-03-10 01:28:19 +00:00
bjh21
60219ba2a6 Kill the fpu_flags element from struct _cpu. It was only ever set to 0
anyway.
2002-03-10 00:44:09 +00:00
augustss
c93a7a4d14 Add a nic I don't really know much about, but it's used on my D-Link card. 2002-03-10 00:16:47 +00:00
bjh21
01b68bd7de Clean up inline assembler. Rather than saving R0, copying FPSR to R0,
copying it to the output register and then restoring R0, just copy the
FPSR straight to the output.
2002-03-10 00:09:24 +00:00
chs
240c70fa15 add a note to discourage the use of {u_,}longlong_t in non-XDR contexts,
as discussed on tech-kern.
2002-03-09 23:57:25 +00:00
bjh21
aeece3b5bd Remove the cpu_model member from struct _cpu, and just use the cpu_model
variable directly.  While we're at it, make cpu_model rather larger.
2002-03-09 23:49:15 +00:00
chs
bd2a5f591d switch all mpc6xx powerpc ports to NEWPMAP by default.
the old pmap is still available with the OLDPMAP option.
2002-03-09 23:35:56 +00:00
sommerfeld
16d5bd2bae Adapt to pool rototill. 2002-03-09 23:26:51 +00:00
bjh21
09dd49a342 Remove the cpu_class element from struct _cpu, and make it a local variable
in identify_arm_cpu(), since it's almost unused elsewhere.

Change the detection of bugged StrongARMs to use the cpu ID rather than the
class.  This turns "almost" into "entirely".
2002-03-09 23:24:11 +00:00