Commit Graph

68210 Commits

Author SHA1 Message Date
tsutsui 3aa8405cb9 Regen from diodevs rev 1.7:
> Change device ID for 98624A HP-IB from 0x80 to 0x01.
> nhpib.c in Lite2 used 0x01 and my 98624 also has an ID 0x01.
2003-11-23 01:59:25 +00:00
tsutsui ff8bdea2e8 Change device ID for 98624A HP-IB from 0x80 to 0x01.
nhpib.c in Lite2 used 0x01 and my 98624 also has an ID 0x01.
2003-11-23 01:57:35 +00:00
gson 3187c34fa2 Make the raw midi device pass through received system exclusive
messages rather than discard them.
2003-11-23 01:25:59 +00:00
tsutsui 31cf2e3911 Suppress uninitialized warnings. 2003-11-23 00:09:11 +00:00
manu c36ad94b40 Add HW_PAGE_SIZE sysctl 2003-11-22 23:26:52 +00:00
fvdl 370056a0f6 Use the redefined Promise product ids. 2003-11-22 20:57:18 +00:00
fvdl e7fcb7da4d Regenerate after rearranging the Promise ids. 2003-11-22 20:56:53 +00:00
fvdl ac92051a0b Clean up the Promise IDE controller defines. 2003-11-22 20:54:01 +00:00
tsutsui 919cc25d24 Add an entry of "com0 at dio0 scode 9" so that /dev/ttyC0 and
compat symlink (/dev/tty0) are always reserved for DCA serial.
2003-11-22 17:24:29 +00:00
manu 48b5fdb14d Don't use the target port in task_for_pid: it is only usefull on
multiple-machine configurations -- something we don't do yet.
2003-11-22 17:17:55 +00:00
uwe 94c8b6c69f Add _UC_SETSTACK, _UC_CLRSTACK flags. Add __fpr_fpul to __fpregset_t
and redefine __fpr_regs as an array of 32 ints (SH3E has 16, SH4 has
32 32-bit FP registers) to reserve the space for FPU registers - we
will properly redefine this as a union when we do support FPU.
2003-11-22 17:05:53 +00:00
itohy 1b7b873248 - Correctly handle bit 24 of miscellaneous control register, which has
different meanings for read and write.
  This fixes 48kHz playback to SPDIF.
- Fix the problem where the SPDIF output voltage setting (0.5V, 5V)
  was swapped.  The default value is changed from 0.5V to 5V, which
  correctly selects 5V (so the default physical behavior is unchanged).

Should fix PRs kern/16047 and kern/16817
(but not tested since I don't have other SPDIF hardware to test with).
Approved by tshiozak.
2003-11-22 16:48:14 +00:00
sekiya 20d207b125 Add (commented out) dpclock for ip22 and blinkenlitzen for ip32. 2003-11-22 15:08:44 +00:00
fvdl 6f7ba6556b Add and enable sk/skc drivers. 2003-11-22 14:20:47 +00:00
kent f9ae2a22c1 For ICH4/ICH5, use native BARs instead of compatible BARs.
The patch was provided by Lars Heidieker.
2003-11-22 08:49:41 +00:00
thorpej f6c3c3450e Add a missing i82541 ID to the table. 2003-11-22 08:32:12 +00:00
kent c51ed264ee AD1985 codec needs the same quirk as AD1980.
The patch was provided by Lars Heidieker.
2003-11-22 06:15:29 +00:00
kent c6585e1d6d Cosmetic changes
- ANSIfy
 - no argument names in prototypes
 - variable declaration with initialization
2003-11-22 05:40:48 +00:00
sekiya f93f583751 Register definitions for National Semiconductor DP8573A RTC. Code originally
from Steve Rumble, with modifications by myself.
2003-11-22 04:01:01 +00:00
sekiya 8e5c74aa34 Add dpclock driver (and minimal hpc1 goo) for ip20. 2003-11-22 03:58:52 +00:00
sekiya a7c36d873f Add dpclock driver (and minimal hpc1 goo) for ip20. Code originally
from Steve Rumble, with modifications by myself.
2003-11-22 03:58:51 +00:00
sekiya 6cd8f56df9 Add ip20.c 2003-11-22 03:39:35 +00:00
sekiya d11f147850 Add initial ip20 (Indigo) support. hpc1 code to follow. Code originally
from Steve Rumble, with modifications by myself.
2003-11-22 03:35:44 +00:00
matt 99f7a6b7db More PPC64 changes. (latent for now). 2003-11-21 22:57:14 +00:00
tsutsui 3fb3c2b562 Revert previous DPRINTF changes since gcc3 properly removes text strings
in while(0) statements during optimization.
2003-11-21 19:44:53 +00:00
tsutsui 604d3c43a9 Make sure machine and ${MACHINE_ARCH} symlinks created before make depend. 2003-11-21 19:39:19 +00:00
matt d765841d3e Restore ci_curpm since it re-enables 603 to working state. 2003-11-21 18:07:29 +00:00
matt 13e522ee98 Add PowerPC64 definitions 2003-11-21 17:40:48 +00:00
abs 115bd31b73 Sync with GENERIC.MP (in particular add MPBIOS). Noted by Adam C. Migus 2003-11-21 09:29:11 +00:00
gson 19871d69f2 Code enabled by option AUDIO_DEBUG exhibited undefined behavior and
caused compiler warnings with gcc 3.3.2.
2003-11-21 03:08:37 +00:00
chs 6cca27ceb0 add cnmagic support to pdc console driver. 2003-11-21 00:25:36 +00:00
manu 43b8c2c38e Avoid re-allocations of darwin_emuldata structures by COMPAT_MACH. This
caused a memory leak, and as mach_emuldata is shorter than darwin_emuldata,
it caused memory corruption.
2003-11-20 22:05:25 +00:00
yamt bba8d5af45 comments on tcp_outflags. 2003-11-20 16:21:48 +00:00
yamt 348187802d comments. 2003-11-20 16:18:49 +00:00
yamt 0b47e1b287 fix a race case of nfsrv_getcache. 2003-11-20 16:17:25 +00:00
dsl 91f5ee90a4 Add .WAIT after first subdirectory to ensure we don't build the libraries
twice.
2003-11-20 16:16:41 +00:00
kochi 9e86672dce convert tab -> space (pointed out by Kanaoka-san) 2003-11-20 16:15:59 +00:00
kochi e712db964a fix for ThinkPad 'large reference count' problem.
from shaohua.li at intel.com
2003-11-20 15:42:16 +00:00
scw d657bddd8c In data_abort_handler(), honour pcb_onfault even in the case where
current_intr_depth > 0.
2003-11-20 14:44:36 +00:00
fvdl 56bf58a34b Add (commented out) and document NO_TSC_TIME. 2003-11-20 13:32:41 +00:00
fvdl a8ea4f26c8 If NO_TSC_TIME is defined, do not use the tsc microtime. This option can
be used to make time pass a little more smoothly when running under
VMware.
2003-11-20 13:30:29 +00:00
junyoung e58c050c81 Use predefined macro rather than hardcoded value. 2003-11-20 12:30:34 +00:00
sekiya 53acd623c8 Add pckbc to device list. 2003-11-20 08:34:05 +00:00
sekiya b26a57f648 Add driver for pckbc at hpc. There's an interrupt issue that still needs
to be resolved.
2003-11-20 08:31:13 +00:00
petrov b5706bc691 Remove nwindows calculation, it's not used. Set l_cpu in cpu_switch. 2003-11-20 08:08:52 +00:00
petrov b56164b9ed Set curcpu() for SMP. 2003-11-20 08:04:04 +00:00
manu 3c00d1aad5 Start to implement another strange feature: signals as Mach software
exceptions. This can be requested with ptrace, and cause signals to
be transformed into a particular kind of exception.
2003-11-20 07:12:34 +00:00
lukem 6918f15fc1 Provide appropriate no-op defaults for _MK* macros, in case <bsd.own.mk>
is too old.
2003-11-20 07:08:02 +00:00
jonathan 89d603f9ea This file was derived from FreeBSD, where "in6pcb" is a macro for
"inpcb", and this struct inpcb* and struct inp6cb* are the same type.

On NetBSD they are different types, so we must change the types of
formal argument in IPv6-specific functions from "struct inpcb *" to
"struct in6pcb*".

The code didn't compile on NetBSD beforehand, if both FAST_IPSEC + INET6
were configured. This fix will cause even more short-term breakage for
that case, but its a step in the right direction: it shows up what
still needs to be fixed.
2003-11-20 06:35:09 +00:00
sekiya b4a9ea3c2d ip2x can't handle four-meg ramdisks; use a three-meg ramdisk instead and
compile the kernel with -Os.
2003-11-20 05:27:07 +00:00