Commit Graph

94433 Commits

Author SHA1 Message Date
jdolecek
e971d6b60f msdosfs_mountfs(): drop some excessive braces in the GEMDOS-related section
no change in functionality
2002-03-24 16:30:11 +00:00
jdolecek
d1f2e630ca Fix a memory leak in bridge_ioctl_add() when the called for non-ethernet
interface.
Problem noted and fix provided by in kern/16019 by Love.
2002-03-24 16:11:23 +00:00
bjh21
650f7e5c99 arm26 -> acorn26 changes. 2002-03-24 16:10:11 +00:00
bjh21
c5ada96476 arm26 -> acorn26. 2002-03-24 15:56:59 +00:00
lukem
cb067e4b20 also check $rc_force != "" to determine if operation should occur 2002-03-24 15:52:41 +00:00
bjh21
cc685cb13e __arm26__ -> acorn26. This has the advantage of actually being defined. 2002-03-24 15:52:33 +00:00
bjh21
a90a7a1ab7 Mention the DS2401 Silicon Serial Number. 2002-03-24 15:51:45 +00:00
lukem
398a7fe250 remove unnecessary precmd 2002-03-24 15:51:26 +00:00
bjh21
99ba40c188 arm26->acorn26 transition. 2002-03-24 15:49:38 +00:00
bjh21
1de4f40a8a Rename NetBSD/arm26 to NetBSD/acorn26, so that the two Acorn/ARM ports have
matching names.  This commit might include some private hacks that have been
lurking in my tree a while.  They're all harmless, and this reduces the number
of gratuitous diffs I have to deal with.
2002-03-24 15:45:29 +00:00
bjh21
ebfcb75fe5 Add ARM610 cache information. Not yet tested because booting on ARM610s seems
to be broken at present.
2002-03-24 15:37:46 +00:00
lukem
ee821504dd - document optional "interpreter" argument to check_pidfile() and
check_process()
- document rc_* variables available in method and after run_rc_command()
  completes
2002-03-24 15:32:59 +00:00
jdolecek
bbee4277ca fd_revoke(): don't assume that f_type other DTYPE_VNODE and DTYPE_SOCKET
is automatically bogus, make the code return EINVAL for all non-vnode
descriptors
2002-03-24 15:32:51 +00:00
jdolecek
4cfe9dc1f6 use FILE_USE()/FILE_UNUSE() as appropriate, use malloc()/free()
instead of MALLOC()/FREE() for variable-size allocations (sync
with kern/sys_generic.c)
XXX not tested
2002-03-24 15:19:24 +00:00
jdolecek
3089d90eeb add explicit comment a FILE_USE() is not needed here 2002-03-24 15:12:45 +00:00
lukem
c0685815ef - Add sanity checks recommended by Robert Elz in [bin/13871] (with slight mods)
- Use symbolic trap names
2002-03-24 15:08:58 +00:00
jdolecek
fc18dc8984 minor indentation fix 2002-03-24 15:03:00 +00:00
kent
79decd163e Move 'pecoff' to installable SUBDIR 2002-03-24 15:01:57 +00:00
isaki
5427707367 remove bsd_audioio.h 2002-03-24 15:01:04 +00:00
bjh21
96dda214b4 Avoid "unused variable" warnings in the NCR5380_USE_BUS_SPACE case. 2002-03-24 14:56:01 +00:00
isaki
7b178b2f1f bsd_audioio.h was obsolated by vs0 2002-03-24 14:54:50 +00:00
jmcneill
2000b295ed Fix suspend/resume. Previously, suspending/resuming while playback was active
would either:

 1. Cause the machine to stop responding, or
 2. Cause the currently playing voices to stop output.

With this change, voices are stopped on suspend, and continue from where they
left off on resume.
2002-03-24 14:17:35 +00:00
lukem
006297f9da use src/distrib/Makefile.inc, removing obsolete version here 2002-03-24 13:38:14 +00:00
lukem
e132d32d8e remove unused files 2002-03-24 13:20:09 +00:00
is
6963fa721e use the right endian ether_crc32 function in the multicast hash table computation 2002-03-24 11:00:17 +00:00
thorpej
a6d59cb039 pmap_allocpagedir(): Don't use pmap_pte(), and simplify a little. 2002-03-24 06:07:00 +00:00
oki
b10ef43c8e Read /usr/libexec/ld.so.dll if failed to read
/emul/pecoff/usr/libexec/ld.so.dll.
reported via IRC from kent, thanks.
2002-03-24 05:55:49 +00:00
thorpej
b812152b34 pmap_handled_emulation(): Fix locking protocol botch.
XXX Should we traverse the PV list and enable all PTEs?
2002-03-24 05:55:31 +00:00
thorpej
6fbfe41621 pmap_handled_emulation(): Use pmap_map_ptes() correctly. 2002-03-24 05:52:10 +00:00
uwe
b540b26b5a Sync most Cyrillic names with X11 keysym names. 2002-03-24 05:43:12 +00:00
thorpej
ec75dcf496 pmap_modified_emulation(): Use pmap_map_ptes() correctly. 2002-03-24 05:39:53 +00:00
thorpej
0aef2cab11 pmap_unwire(): Use pmap_map_ptes() correctly. 2002-03-24 05:28:46 +00:00
thorpej
11df08a743 pmap_clearbit(): Use pmap_map_ptes() correctly. 2002-03-24 05:15:59 +00:00
thorpej
eb638f9bc5 Use pmap_is_curpmap() consistently. 2002-03-24 04:56:49 +00:00
thorpej
242f080390 Clean up the PTP allocation functions a bit. 2002-03-24 04:49:16 +00:00
thorpej
c34d24ea3c Clean up PTE access macros a bit. 2002-03-24 04:38:33 +00:00
sommerfeld
b8de140e4e Prototype ACPI Control Method Battery driver.
ACPI defines two different battery device interfaces: "Control Method"
batteries, in which AML methods are defined in order to get battery
status and set battery alarm thresholds, and a "Smart Battery" device,
which is an SMbus device accessed through the ACPI Embedded Controller
device; this driver knows how to attach to the former sort of device.

As a total kludge, since we haven't wired things up to sysmon/envsys
yet, we report battery status through a once-per-minute kernel printf,
so don't use this driver yet if you want your disk to spin down.

Motivated by and tested on Sony PCG-R505TL laptop, which has
nonfunctional APM.

configure as:

acpibat* at acpi ?

Sample output:

acpibat0 at acpi0: ACPI Battery
acpibat0: Sony Corp. LION
acpibat0: Design 38480mWh, Predicted 38480mWh Warn 120mWh Low 0mWh
acpibat0: discharging: 15112mV cap 25480mWh (66%) rate 16849mW
...
acpibat0: discharging: 15224mV cap 25070mWh (65%) rate 18405mW
...
acpibat0: discharging: 15200mV cap 24310mWh (63%) rate 13771mW
...
acpibat0: charging: 15768mV cap 23330mWh (60%) rate 20388mW
2002-03-24 03:46:10 +00:00
thorpej
aa1563948c * arm_byte_to_page() -> arm_btop()
* arm_page_to_byte() -> arm_ptob()
2002-03-24 03:37:18 +00:00
sommerfeld
44ede71657 Add acpi_eval_struct, to evaluate a complex data structure.
#if 0-out a half-fixed acpi_eval_string() and #if 0 the only call to it.
(Previous code referenced an uninitialized local variable and couldn't
have possibly worked).
2002-03-24 03:32:14 +00:00
thorpej
48d8c5fdd9 Remove some redundant tests in pmap_enter(). 2002-03-24 03:25:10 +00:00
kristerw
f3dbc98b85 Handle patches in which diff(1) has added lines saying
"\ No newline at end of file"
2002-03-24 01:56:20 +00:00
jdolecek
0b5e2aba9a Fix problem with assumption non-socket == vnode in F_{G,S}ETOWN different way
(revisions 1.47 & 1.48 effectively backed off):
* for all but vnodes, just fallback to sys_fcntl(); assumming
  state of support for F_SETOWN/F_GETOWN and even hardcoding it here is
  not right (e.g. rev. 1.47 had this incorrect for DTYPE_PIPE)
* fallback to sys_fcntl() also for vnodes which don't represent tty
* don't need to use FILE_{,UN}USE() here, the code won't block while
  using the pointer
* add/fix some comments
2002-03-24 00:32:34 +00:00
lukem
2a593e4ce5 remove now-unnecessary files 2002-03-24 00:16:05 +00:00
sommerfeld
1803fb93a9 Add -q flag, for use with -w and -f, which suppresses output after a set. 2002-03-24 00:11:00 +00:00
itohy
78b5427b7e Add wait-for-ready code between setting MCE and changing data format,
which is required by OPL3-SA2 (YMF711) chip.
Fixes PR kern/14819.
2002-03-23 23:40:32 +00:00
shin
a378ffa3a9 fix pasto. 2002-03-23 23:39:57 +00:00
christos
8a47c9318b make sure this compiles cleanly and works. 2002-03-23 23:39:18 +00:00
heinz
503cf59ccc some typos 2002-03-23 22:36:45 +00:00
heinz
07dc707915 typo 2002-03-23 22:31:36 +00:00
enami
3a7e0fa1da Don't pass NULL to warn() etc. Instead, use "<stdin>" to warn about stdin. 2002-03-23 21:36:08 +00:00