Commit Graph

104611 Commits

Author SHA1 Message Date
pooka
426a477b06 Be more verbose about the second DAC support.
requested by the wiz
2002-11-04 17:07:44 +00:00
wiz
29d58d0333 s/sqiud/squid/ in comment, reported by skrueger at europe com. 2002-11-04 16:59:37 +00:00
pooka
486e308c1a note eap(4) change 2002-11-04 16:38:51 +00:00
kent
22d0e4bb85 auvia_set_params:
For a fixed-rate codec, when AUMODE_RECORD and AUDIO_ENCODING_MULAW or
AUDIO_ENCODING_ALAW, use AUDIO_ENCODING_SLINEAR_LE/16bit for native encoding
instead of AUDIO_ENCODING_ULINEAR/8bit because aurateconv does not support
sampling rate conversion for 8 bit PCM.
This change fixes PR kern/18834.
2002-11-04 16:38:49 +00:00
pooka
acfba287f0 reflect second DAC support 2002-11-04 16:37:04 +00:00
pooka
d6b170e2de add support for the second DAC found on the chip. to attach the second
audio device, define EAP_USE_BOTH_DACS
2002-11-04 16:34:25 +00:00
jdolecek
2ba45545df back previous off; don't install macho_machdep.h 2002-11-04 15:27:15 +00:00
kent
8eadd119b9 Add power-management register definitions. 2002-11-04 14:56:10 +00:00
wiz
98219f2782 regen (typo fix from PR 18921) 2002-11-04 12:36:25 +00:00
wiz
ec50e0a966 Fix typo reported by Nicolas Joly in PR 18921. 2002-11-04 12:35:27 +00:00
mrg
c7cd1b33d0 fix PR#18909, but not quite exactly the same as the patch provided. also,
check if the filesize causes a size_t overflow and if so, use the fallback
read/write loop method.
2002-11-04 12:04:23 +00:00
itohy
ba91c01b07 Fix asm usage. "tf" is an output operand, not an input. 2002-11-04 08:12:30 +00:00
junyoung
0c51bd608e Missing '.' 2002-11-04 08:05:52 +00:00
itohy
94b2e6e61d Dump DDB_* and SYMTAB_SPACE options to opt_ddbparam.h rather than opt_ddb.h.
These options are used in limited files but #include "opt_ddb.h" are
everywhere, and changing them caused almost full recompilation.
2002-11-04 06:24:38 +00:00
simonb
af5c630516 cpu_dump() has to return something if it bails early; make it so. 2002-11-04 05:41:29 +00:00
thorpej
65fdfe7d64 Add TA0-TA3 register indices. 2002-11-04 04:24:48 +00:00
thorpej
abaff8e1c6 t4-t7 -> ta0-ta3 2002-11-04 04:06:51 +00:00
thorpej
3e54f426e0 Rearrange mips_pagecopy() and mips_pagezero() for N32/LP64.
XXX Does not yet use the correct reg names for new-ABI.
2002-11-04 04:04:32 +00:00
mrg
5cad86b3ea repair backwards compatibility with netbsd 1.6 - if we are not given the
wanted sizeof(struct disk_sysctl), use the old size.  for non-COMPAT_16,
however, we return EINVAL so that all future programs are forced into
passing the wanted size.  1.6 iostat(8) works with -current kernel again.

as seen on tech-kern.
2002-11-04 03:50:07 +00:00
thorpej
1bf923d5f3 Add N32 register vars. 2002-11-04 03:46:18 +00:00
thorpej
aa2b9a65fc Add SGI-compatible ta0-ta3 register names. These allow one to write
asm code which can be built easily in old-ABI and new-ABI environemnts.

In old-ABI, they map to t4-t7, and in new-ABI, they map to a4-a7.  This
means that t0-t3,ta0-ta3,t8,t9 are available in both ABIs.

Because ta0-ta3 overlap with arg regs (albeit arg slots which are usually
unused), they should be used only if t0-t3,t8,t9 isn't enough.
2002-11-04 03:38:32 +00:00
thorpej
bae541911c Add N32/N64 reg names. 2002-11-04 03:30:32 +00:00
lukem
bac7350bc5 whitespace consistency 2002-11-04 03:17:53 +00:00
itohy
babe417446 Initialize UTLB/ITLB data array 1 to zero.
If the VPN / PPN are not aligned to page boundary (the page size
is set by SZ bits in data array 1, which are random when power-up time),
unexpected exception occurs in some rare case, it seems....
Initialize SZ to zero (1KB page).  Also, clear VPN / PPN to zero just in case.

Make __sh4_itlb_invalidate_all() static.
2002-11-04 01:31:43 +00:00
matt
85529376d3 Get rid of nsysent. Use EMULNAMEU to use the appropriate constant.
Revamp the mach_syscall_dispatch function to be much simplier (pass in
a syscall code and return a const struct sysent * pointer).
2002-11-04 00:01:02 +00:00
manu
873ed6f9ee Added support for Darwin's PowerPC-only system calls:
ppccalls, with system call numbers starting at 0x6000
fasttraps, with system call numbers starting at 0x7FF0

Because the Mach system call dispatching code has grown a bit
too much, introduce an inline function to handle it (mach_syscall_dispatch).

While we are there, remove the Mach and Linux includes from
arch/powerpc/powerpc/syscall.c and push them into
arch/powerpc/powerpc/{mach|linux}_syscall.c
2002-11-03 23:17:18 +00:00
matt
6d54e503b3 LP64 changes (copied from mips and changed CHAR_MIN/MAX to 0/0xffU). 2002-11-03 22:55:24 +00:00
matt
c89494d09b Change _MACHINE_foo_H_ to _POWERPC_foo_H_ 2002-11-03 22:36:22 +00:00
matt
6dc0eb390f Add LP64 bits (copied from MIPS). 2002-11-03 22:35:33 +00:00
matt
0d380378cf Add LP64 limits. 2002-11-03 22:23:59 +00:00
chris
61578bc307 Checkin new interrupt handling code for the footbridge.
This is based upon Jason's work on xscale.

Most of the interrupt handling code is now written in C using an asm stub to
call into the C code.

spl* now only updates a software mask, and does not update the hardware,
this should be much faster.

The new code works well on cats, it's untested on netwinder, but should work.

The code implements generic soft interrupts.

More work is still required to bring the isa interrupt handling code upto
scratch currently all isa interrupts are handled at IPL_BIO on the footbridge.
This may cause isa interrupts to be handled later than they should be.
I plan to fix this in the near future.
2002-11-03 21:43:29 +00:00
jdc
09f6c6a9cc Apply patch from Takeshi Nakayama on current-users which fixes problems
when trying to play audio CD's on some drives.  The original message was :

> In my analysis, rev 1.19 of cd_scsi.c used cd_scsibus_set_mode()
> instead of scsipi_mode_select(). cd_scsibus_set_mode() had the code
> which clear a data.header.data_length, but scsipi_mode_select()
> does not have. So we need `data.header.data_length = 0;' before
> calling scsipi_mode_select().

Fixes PR 7299 and probably PR 15155 and PR 16883 too.
2002-11-03 21:14:28 +00:00
chris
230469d2ae Remove an extra } 2002-11-03 21:12:27 +00:00
thorpej
15d3b348c9 Add LP64 limits. 2002-11-03 20:02:39 +00:00
chs
6348674004 merge pmap.h for all 4k-page motorola-MMU (or compatible) m68k platforms. 2002-11-03 19:56:27 +00:00
thorpej
9f9d6d33f4 Add LP64 types, limits, formats. 2002-11-03 19:55:23 +00:00
wiz
9a746b1751 Move close so that last ioctl is before close call.
Fix duplicate word in comment.
Based on patch from Christian Biere in PR 18902, with a style nit fixed.
2002-11-03 19:35:00 +00:00
thorpej
f8dceffac5 Add LP64 macros. 2002-11-03 19:24:55 +00:00
thorpej
c88320f8d7 Add LP64 types. 2002-11-03 19:22:00 +00:00
tsutsui
0cc3f14252 HP360 does not have L2 cache, so no need to define CACHE_HAVE_PAC for it. 2002-11-03 17:44:07 +00:00
thorpej
16084f1873 Add _LP64 types. 2002-11-03 17:43:07 +00:00
thorpej
c5adb2880e In the _MIPS_PADDR_T_64BIT case, only use "unsigned long long" if _LP64
is not defined.
2002-11-03 17:35:32 +00:00
wiz
ac9ef76efe Add NetBSD calendar file.
Dates supplied by Hubert Feyrer, thanks!
2002-11-03 15:53:41 +00:00
aymeric
2c00b82f68 We don't need sys/syscallargs.h here anymore. 2002-11-03 15:39:39 +00:00
bjh21
b9870fb26c Quieten lint a little. 2002-11-03 14:59:06 +00:00
nisimura
da22f42379 Add some informative comments about setrunqueue and remrunqueue. 2002-11-03 13:59:12 +00:00
nisimura
ad5b782866 Retire __HAVE_MD_RUNQUEUE from MD types.h and remove
setrunqueue/remrunqueue from locore.S.  C codes are
compiled a bit shorter and provide better DIAGNOSTICs.
2002-11-03 13:47:34 +00:00
nisimura
5a63303fc1 Add two PRiD values.
- 0x55 for NEC Vr5500.  ISA might be MIPS64.
- 0x38 for Toshiba TX79.  This has thirty-two 128bit GPRs while
maintaining 32bit only virtual address space.  Any of pointer related
registers have 32bit.
2002-11-03 13:16:11 +00:00
bjh21
bfd06a4ff0 Regen (Simtec USB). 2002-11-03 12:59:44 +00:00
bjh21
097f627f92 Add Simtec USB podule. 2002-11-03 12:58:15 +00:00