Commit Graph

87354 Commits

Author SHA1 Message Date
itohy e8ba741b16 Add mpu at cmpci and opl at cmpci attachment.
I always test it on alpha, and add cmpci entries to alpha config files.
2001-11-04 07:39:40 +00:00
itohy 031207a029 Document mpu at cmpci and opl at cmpci attachment.
Document the mixer structure.
2001-11-04 07:00:39 +00:00
itohy bd78bc67aa Re-implement the mixer
o  Implement SPDIF selection/monitoring function.
    Now, say, playback to both analog output and SPDIF is possible.

 o  Implement support of AUX input, MIC preamp and MIC recording gain.

 o  L-R selection of record source doesn't seem to work on cmpci.
    Therefore, the *.swap mixer functions are and deleted.

 o  Following SB mixer registers don't exist on cmpci, and they are removed.
	input gain, output gain, AGC, equalization (bass, treble)

 o  Other mixer changes, including
	inputs.XXX.mute -> (deleted)
	outputs.XXX.mute -> inputs.XXX.mute
	inputs.pc_speaker -> inputs.speaker
	spdif.* -> reorganized to spdif.input.*, spdif.output.*

 o  Current status:
      I have tested these and confirmed to work fine.
	- Output and recording from Line-in, AUX, CD and MIC analog inputs,
	- Output and recording from FM synthesizer,
	- Output from PC speaker input,
	- Output wave playback.
	- SPDIF (44.1kHz) input selection (#1, #2 (6ch version only),
	  wave to spdin), phase selection, monitoring and recording,
	- SPDIF (44.1kHz) playback, through (SPDIF in to SPDIF out)
	  and monitoring.

      I haven't tested these but may work.
	- SPDIF 48kHz input and output,
	- Full-duplex operation,
	- Recording wave output.

      I don't think these are working.
	- Legacy (wave + FM synthesizer) to SPDIF output (and the monitoring),
	- Exchanging front and rear outputs,
	- Surround.

      These are not implemented.
	- 4ch / 6ch support,
	- Joystick port support.
2001-11-04 06:57:40 +00:00
itohy 2869e4213e Document "opl at cmpci" and "flags 1". 2001-11-04 06:46:47 +00:00
itohy ab43d67621 Introduce "flags 1", which causes left and right channels swapped. 2001-11-04 06:44:31 +00:00
wdk cb516564d4 Remove duplicate .include 2001-11-04 06:18:26 +00:00
jhawk 0016013e96 Clarify the disk2 confusion about .tgz files (grammar correction). 2001-11-04 06:00:03 +00:00
groo f320ce17e1 Add ``score'' (20) to trivia section. 2001-11-04 03:33:49 +00:00
thorpej c88c2c4852 Don't require the IQ80310 option. Made possible by files.<board>. 2001-11-04 03:01:19 +00:00
thorpej ddb2e9f4cb Don't require INTEGRATOR or INTEGRATOR_FPGA options. Made possible
by files.<board>.
2001-11-04 02:56:13 +00:00
thorpej 9ef485f568 Garbage-collect a bunch of stuff that's not used/needed in
eval board environments.
2001-11-04 02:38:28 +00:00
atatat 89e0f1a4c6 Add 'check_pkgs' option. 2001-11-04 02:22:13 +00:00
thorpej b8d49fac16 Move board-specific config definitions into files.<board>, allowing
each board type to have its own device namespace.
2001-11-04 02:20:22 +00:00
thorpej 5f6d116c46 Switch PowerPC to the new toolchain. 2001-11-04 01:36:18 +00:00
thorpej 95a9886f49 Add a comment describing what this file is. 2001-11-04 01:23:49 +00:00
thorpej 8f626436b6 Add missing RCS ID, add missing name. 2001-11-04 01:16:01 +00:00
enami 97ab45c39d Don't try to build nonexistent compressed man page. 2001-11-04 00:30:52 +00:00
augustss 069ab256ae Don't generate an error if setting the gid/uid doesn't actually change
the gid/uid.  Among other things, this eliminates tons of warnings when
unpacking a tar file in an msdos fs.
2001-11-03 23:49:58 +00:00
wiz a1264327ae Sort alphabetically. 2001-11-03 22:39:25 +00:00
wiz f56dfeb08b add trm (MI) 2001-11-03 22:35:33 +00:00
hubertf a5378d2cae Make comment about scripts/* go the same place as the scripts/* code: /dev/null 2001-11-03 20:49:56 +00:00
thorpej fd329b8dd0 Fix typo in previous. 2001-11-03 20:46:25 +00:00
thorpej b437f0975b Switch NetBSD/sparc to the new toolchain. 2001-11-03 20:26:56 +00:00
thorpej 88ff68974a Changes from Martin Husemann and myself:
- Make the 32-bit SPARC profile support work with the GCC 2.95.3
  SPARC ELF compiler, which uses a different name for mcount.
- Make the 64-bit SPARC profile support header look more like the 32-bit
  SPARC header (no functional change -- 64-bit SPARC already used the
  correct mcount name).
2001-11-03 20:24:42 +00:00
tsutsui 1b197161d4 Add iha and trm at pci, and mark untested SCSI controllers "UT". 2001-11-03 17:22:39 +00:00
tsutsui f88a1097c3 Add trm at pci.
BTW, should we also add it into INSTALL?
I guess there is no trm adapter which has Openfirmware..
2001-11-03 17:16:17 +00:00
tsutsui 6707f5f39d Add trm at pci. 2001-11-03 17:08:56 +00:00
tsutsui d3701fc18a Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...
2001-11-03 17:01:16 +00:00
tsutsui f82eb7bfa1 Replace a magic number with macro. 2001-11-03 15:52:03 +00:00
jdolecek 787ee522f9 Ignore windows-style FAT directory entries if we don't expect any more
file name data and the entry starts with \0\0. Apparently this happens
occasionally, don't know if it's mtools (probably), MS Windows or
NetBSD msdosfs fault. When this happens, NetBSD msdosfs was not
able to open the file, where neither mtools nor MS Windows had any
problem with it. So, it's appropriate to add this fix in any case.
2001-11-03 14:53:37 +00:00
lukem 678a800f83 change from WARNS?=1 to WARNS?=2 for bin/ 2001-11-03 13:40:30 +00:00
lukem 94f08e9869 default to WARNS=1 if not set 2001-11-03 13:39:25 +00:00
lukem 537f55c6b7 fix WARNS=2 2001-11-03 13:35:39 +00:00
lukem b8a6769184 fix minor WARNS=2 2001-11-03 13:21:09 +00:00
lukem cc76cf8530 fix WARNS=2 2001-11-03 13:08:16 +00:00
lukem c55aa0f9cb - move "Wflag" global from mtree.c to spec.c, and reinstate the functionality
of tv's previous code, which skips uname or gname parsing if -W is enabled.
- rename "lineno" to "mtree_lineno", to reduce possibility of name
  clashes in code that yanks in spec.c & misc.c (unlikely, but you never know)
2001-11-03 12:51:40 +00:00
lukem 33b90eebfd fix WARNS=2 2001-11-03 12:49:31 +00:00
yamt 7a6b533ba6 add btinfo stuff. 2001-11-03 12:02:28 +00:00
jdolecek 1a92fabcb3 Don't print any warning if the time base was not provided (i.e. given as zero).
Fixes port-i386/1413 by David Carrel.
2001-11-03 11:16:25 +00:00
yamt 375b263ebc - remove debug printf.
- reset the board in EtherStop.
2001-11-03 09:36:47 +00:00
lukem 3343f31154 explicitly pull in sys/types.h 2001-11-03 06:22:54 +00:00
reinoud 9be624a530 Not used in this port yet but since it is supposed to be a generic machine
dependend loadfile extention i copied it from arch/arm32/include where it
was committed as part of the ofwboot for sharks where Jason is working on.
2001-11-03 02:12:37 +00:00
rearnsha e4fff4a560 Replace most uses of pmap_pde_p with pmap_pde_page, since that is what
we need later in the code.  This fixes a fatal kernel fault in
pmap_modified_emulation if a user application tries to access a kernel
address that is section-mapped.

Add a diagnostic that detects attempts to call pmap_kenter_pa with a
va that is section-mapped.
2001-11-03 00:06:02 +00:00
rearnsha 64c191c269 Define boolean predicates pmap_pde_page, pmap_pde_section & pmap_pde_fpage,
which return true if their pde argument is a coarse page, section or
fine page respectively.
2001-11-03 00:01:23 +00:00
rearnsha 6dcc9636dc Define L1_FPAGE for fine page entries in L1 page table. 2001-11-02 23:58:46 +00:00
christos 0598afe4d0 Fix switch alias handling. Inspired from FreeBSD, but corrected to handle
alias expansion inside the switch as appropriate. This is achieved by a
flag noalias which is turned on and off in as we parse. In the following
example [1] and [0] indicate the value of noalias.

[0] case <expr> in
[1] <lit> ) [0] <expr> ;;
[1] <lit> ) [0] <expr> ;;
...
[1] esac [0]

FreeBSD does:

[0] case <expr> in [1]
<lit> ) <expr> ;;
<lit> )  <expr> ;;
...
esac [0]

This handles the following shell script:

alias a=ls

case $1 in
a)	echo a;
	a;;
f)	echo f;;
*)	echo default;;
esac
2001-11-02 23:49:14 +00:00
thorpej 8526824bce Fix the LOADADDR() macro. 2001-11-02 23:43:13 +00:00
thorpej efe39dc997 The a.out header is at the beginning of the .text segment in
ZMAGIC images, so use the correct constant (KERNEL_TEXT_BASE)
to find it.
2001-11-02 21:51:57 +00:00
thorpej 428018d519 The a.out header is at the beginning of the .text segment in
ZMAGIC images, so use the correct constant (KERNEL_TEXT_BASE)
to find it.
2001-11-02 21:19:10 +00:00
thorpej b563250dbb Couple of changes:
- Set MARK_START to where we expect to be loading the kernel (0xf0100000).
- The ARM OpenFirmare bindings document describes how the client
  program is loaded: OFW allocates and maps 6MB of memory at load-base
  (0xf0000000), loads the client program, and then unmaps the memory from
  the end of the client program to the end of the allocated region.  Then
  transfers control to the client program.  We must emulate this behavior
  to load the kernel: allocate 5MB at 0xf0100000 (where we expect to load
  the kernel), load the kernel, then unmap the area after the kernel.

We can now load DHCP and load the kernel via NFS before getting the
dreaded Data Abort.
2001-11-02 20:24:37 +00:00