Commit Graph

121069 Commits

Author SHA1 Message Date
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
dsl 1cedefc117 - Call delwin() when we stop displaying a window, saves space and newwin
is fast enough anyway.  Lets the calling code change some fields (eg
  the title for the 'yes/no' menu) between calls.
- Don't update m->x, m->y, m->w the changed values aren't needed once
  the window has been created.
- Allow the window title to span multiple lines.
- Fix a nasty bug caused by having pointers into the memory area freed
  by realloc when creating lots of dynamic menus.
- Fix check that ought to have allowed dynamic menus to be deleted.
2003-11-22 22:18:32 +00:00
lukem 6d246880fb In the various _MKTARGET macros, prepend "${.OBJDIR:T}/" to the ${.TARGET},
to provide more context about the operation.  Especially useful for crunched
binaries and kernel builds.  Idea suggested by David Laight <dsl@>
2003-11-22 21:53:28 +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
jschauma 1c134906c3 Move MMU and OTP to acronyms.comp. 2003-11-22 18:01:46 +00:00
tsutsui 225995185c Regen from etc/MAKEDEV.tmpl rev 1.9:
> Update device description for hp300 MI com(4) changes.
2003-11-22 17:36:43 +00:00
jschauma 040001dcf1 Add OTP. 2003-11-22 17:34:40 +00:00
tsutsui 74a31d9ed9 Update device description for hp300 MI com(4) changes. 2003-11-22 17:26:45 +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
tsutsui 4c8374cf19 Update MD entries for DCA, DCM and APCI serial ports to migrate MI com(4):
- use ttyC[0123] for DCA and APCI with MI com(4)
- use ttyM[0-f] for DCM instead of tty0[0-f] to avoid confusion with MI com(4)
- create the foloowing symlnks to compatibility:
 tty0  -> ttyC0 (for DCA)
 ttya0 -> ttyC1 (for APCI)
 ttya1 -> ttyC2 (for APCI)
 ttya2 -> ttyC3 (for APCI)
 tty0? -> ttyM? (for DCM)
- note the above symlinks should be removed after the next release

As per discussion on recent port-hp300 (ok'ed by thorpej).
2003-11-22 17:20:08 +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
nathanw cdf7f99ee6 Manually inline pthread__testcancel in these routines; two function
calls' worth of overhead per cancellable syscall is overkill.
2003-11-21 23:03:13 +00:00
matt 99f7a6b7db More PPC64 changes. (latent for now). 2003-11-21 22:57:14 +00:00
nathanw 4e755ddba8 Prevent ptc_mutex from remaining set if a CV sleep is woken by
cancellation:

 * Arrange to not set ptc_mutex until after the pre-sleep cancellation
   test.

 * In the post-sleep cancellation test, check if there are no more
   sleepers and clear ptc_mutex if so.

While here, sprinkle some __predict_false() around the cancellation
tests.
2003-11-21 22:08:00 +00:00
wiz e0cae3a80b Bump version for wait-for-child fix. 2003-11-21 22:05:06 +00:00
wiz 4e536677a2 Wait for decompress child before continuing.
Closes PR 23526 by Ron Roskens.
2003-11-21 22:04:32 +00:00
lukem 2a42af8c7a Add "DISK" to -S output. 2003-11-21 21:47:42 +00:00
christos dd092f8c34 munmap() so that we don't accumulate memory on multiple files. 2003-11-21 21:20:25 +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
nathanw 374a535730 Add condcancel1. 2003-11-21 19:26:05 +00:00
nathanw d2ac4c0565 RCS ID 2003-11-21 19:25:50 +00:00
nathanw 2d3513cfd8 Regression test for destroying a condition variable that had a cancelled
wait.
2003-11-21 19:24:01 +00:00
matt d765841d3e Restore ci_curpm since it re-enables 603 to working state. 2003-11-21 18:07:29 +00:00
abs c3751e8404 Increase size and number for authlog, cron, lpd-errs, and messages 2003-11-21 18:07:09 +00:00
matt 13e522ee98 Add PowerPC64 definitions 2003-11-21 17:40:48 +00:00
scw 19552574ee Don't compile fp*.c if doing a soft-float build. 2003-11-21 11:39:46 +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
nathanw d8637f542a Use $(build_exeext) in both the source and destination, like the other
rules.
2003-11-20 18:43:58 +00:00
uwe 6d08061385 Do not move incoming paramters to callee-save registers when not
necessary.  Saves about a dozen of instructions.
2003-11-20 17:55:11 +00:00