Commit Graph

107309 Commits

Author SHA1 Message Date
rafal
c21021e6fb Improve the interrupt code somewhat by having callers of xxx_intr_establish
pass in an interrupt handle (which is currently to the CRIME interrupt the
device is attached to) so the interrupt handlers know which device was the
one looking for attention.

While here, fix up PCI interrupt routing for both the on-board devices and
the PCI slots -- even though there is only one PCI slot in the chasis, the
hardware can accomodate up to three and provides an interrupt mapping for
all the PCI interrupt pins for both the internal SCSI & PCI slot and the
two "extra" slots.
2003-01-06 06:19:40 +00:00
rafal
b0e9963d23 Don't shift the pending interrupt bitmask passed to crime_intr() so it can
associate pending interrupts with the proper sources.  Add some comments to
the vestigal ip32_intr_establish() on what it really *should* do.
2003-01-06 05:59:34 +00:00
rafal
1e74cf4267 Postpone DDB/KGDB init until we know the machine type, so the debugger can
be attached to the right place, twiddle the right watchdog registers, etc.
2003-01-06 05:56:00 +00:00
christos
e1c163ef05 avoid name collision [class_stats] 2003-01-06 03:44:23 +00:00
reinoud
340ca7145e We have version 3.02 now : just a small fix for bootkernel name guessing. 2003-01-06 02:54:03 +00:00
thorpej
7ee41d4310 Need to -I${RPC_XDIR} now, since we don't generate the .h file
locally anymore.
2003-01-06 02:26:53 +00:00
seb
d7b1a9a6a6 Introduce a new feature for reverting multiple boot configurations i.e.
effectively making the currently selected configuration the only one
active and removing boot configuration selection menu.
This is accomplished by running 'newbtconf revert'.

From PR bin/17808 by myself. Thanks to gendalia and lukem for the help finding
the right keyword.

Approved by lukem.
2003-01-06 00:31:49 +00:00
jmcneill
3310ad9e79 Add acpitz 2003-01-05 23:42:57 +00:00
sommerfeld
da083e42b5 add bsd.rpc.mk to sets. 2003-01-05 23:40:05 +00:00
sommerfeld
24d16bebd2 Add bsd.rpc.mk to FILES 2003-01-05 23:37:02 +00:00
seb
7c96b4b4d4 Newbtconf is supposed to handle directories as well, like /etc/rc.conf.d,
hence fix directory handling.
From PR bin/17807 by myself. Approved by lukem.
2003-01-05 23:32:54 +00:00
sommerfeld
df5660c9f3 Fix build glitch. 2003-01-05 23:23:43 +00:00
sommerfeld
7b74535513 When moving the cursor down, only scroll up if cursor is exactly at
bottom of scroll region; don't scroll if below scroll region.
Should fix kern/11827
2003-01-05 23:20:00 +00:00
lukem
ef98b9ddca Fix logic error I introduced recently into mount_critical_filesystems().
Noted by kilbi@rad.rwth-aachen.de in [bin/19703].
2003-01-05 22:59:35 +00:00
sommerfeld
52b083a154 Add symbolic names for MSR's used by SYSENTER/EXIT.
(I was experimenting a while back, might as well commit this one file..)
2003-01-05 22:47:13 +00:00
christos
611f2a6106 say what don't you like about $when, approved by luke. 2003-01-05 22:47:12 +00:00
christos
125b1a5718 Regen, err. Gen. 2003-01-05 22:34:35 +00:00
christos
11bbaf4453 Infrastucture for ACPIVERBOSE 2003-01-05 22:33:53 +00:00
christos
c601b2355e add ACPIVERBOSE; while I am there, fix the eval_string function so it does
not leak.
2003-01-05 22:33:21 +00:00
christos
a731ae7dc4 add ACPIVERBOSE [commented out] 2003-01-05 22:31:13 +00:00
kristerw
84b199e7d9 Correct length of a memcpy.
From Alan Barrett in PR 18620.
2003-01-05 22:28:41 +00:00
christos
cee2d9b418 exit 0 when -r 2003-01-05 22:16:22 +00:00
agc
9d61d2fff1 Add an enumerated type which is used in pkgdb_open() to specify
read-only or read-write mode.

Modify the return value of pkgdb_open() to have a more logical boolean
value.
2003-01-05 21:49:51 +00:00
jmcneill
65c6c82f48 Document all known ACPI devices and options (disabled by default). 2003-01-05 21:44:32 +00:00
kristerw
4786f258bd Make yacc emit plain ANSI C prototypes instead of __P() wrapped ones.
Per discussion on tech-toolchain.
2003-01-05 21:38:50 +00:00
agc
1b535c4ef0 Use EXIT_FAILURE, rather than hardcoding a value of '1' in err(3) and
errx(3).

Plug a memory leak by modifying the signature of
_pkgdb_getPKGDB_FILE() to take a buffer and its size, and fill in that
buffer and return it.
2003-01-05 21:27:20 +00:00
jmcneill
6ed596bc88 Cross-reference envsys(4) 2003-01-05 21:11:54 +00:00
jmcneill
61cf1ff02d Add man pages for the ACPI Thermal Zone driver. 2003-01-05 21:10:57 +00:00
jmcneill
cd06c05f6c Mention ACPI attachments for acpitz, com, fdc, lpt, npx, pckbc, and wss. 2003-01-05 20:58:38 +00:00
pk
9df7616ed3 Combine the various sun4m/sun4d TLB flush routines into a hand-coded
assembler version.
2003-01-05 19:38:42 +00:00
pk
c0142e4ded Print the cpu number in many pmapdebug-controlled debug traces. 2003-01-05 19:31:12 +00:00
sommerfeld
35e929d5c4 Document some previously undocumented options. 2003-01-05 19:28:13 +00:00
pk
113229a2cb trap(T_FPE): reset the `p_md.md_fpu' when preempting the FPU. 2003-01-05 19:26:17 +00:00
sommerfeld
8f6f405641 Use <bsd.rpc.mk> 2003-01-05 19:24:06 +00:00
briggs
f23e0c65e4 Understand how to create device nodes for mlx and ld.
As part of 'all', create mlx0 and ld0-3.
Pointed out by Daniel Eggert in PR 18487.
2003-01-05 19:24:05 +00:00
briggs
6e51b83bf3 Add mlx. Pointed out by Daniel Eggert in PR 18487. 2003-01-05 19:21:44 +00:00
sommerfeld
d4b8f1f9fe Common makefile fragment for invoking rpcgen. See bsd.README for
documentation on the parameters which control this fragment's behavior.
2003-01-05 19:18:52 +00:00
seb
a74ab65529 Fix usage message and SYNOPSIS section wrt to option O as suggested by wiz. 2003-01-05 13:07:38 +00:00
pooka
b99251db10 Add ${MACROS} to ${ROFF} usage to make output readable
from jbernard@mines.edu in misc/19685
2003-01-05 12:34:26 +00:00
pooka
732f4c9fa5 Add ${MACROS} to ${ROFF} usage to make output readable
from jbernard@mines.edu in misc/19685
2003-01-05 12:24:22 +00:00
jdolecek
fd682b678b it's sufficient to install notify handler once
fix a typo in error printf in acpitz_get_integer()
#if 0 the warning when there is no _TZP
2003-01-05 12:16:22 +00:00
lukem
dd2a7e0da5 'if ! command;' is not POSIX sh, even though our /bin/sh supports it 2003-01-05 11:40:29 +00:00
kristerw
a505fc7826 Fix two bugs:
1. snprintf(foo, 0. "XXX") is guaranteed not to write in foo by the
   standard (ISO/IEC 9899 7.19.6.5) but our implementation handles this
   as if the buffer has a size of (size_t)-1.

2. snprintf(NULL, 0, "XXX") leaks memory since cantwrite() allocates
   memory if _bf._base == NULL, and this buffer is never freed
   (PR 16483).
2003-01-05 11:05:47 +00:00
scw
584c708e83 When detaching a ulpt device, call vdevgone() for the corresponding
NOPRIME minor device too.
2003-01-05 10:19:42 +00:00
takemura
cfbbdd3ae0 Fixed threshold value for Vrc4173 PIU. 2003-01-05 08:41:54 +00:00
jmc
216f0f8cde Add some missing splx()'s noted by Krister Walfridsson 2003-01-05 08:11:33 +00:00
jmc
da000bb65b Remove arbitrary bufcnt limit in at_output. 2003-01-05 08:03:45 +00:00
jmcneill
3e467b8109 Print something a bit more informative when displaying 'not configured'
messages for objects without a valid HID.
2003-01-05 06:19:05 +00:00
dsainty
97f7cada0b Make the ubt driver functional. This is an experimental, incomplete, but
actually functional driver.  It provides a local HCI interface to the
HCI-over-USB interface on standards-compliant Bluetooth USB devices.

Currently this device can be attached to the bthci driver for direct user-land
access to the device.
2003-01-05 05:20:20 +00:00
dsainty
466f76bf7b Make the bthci driver functional. This is an experimental, incomplete, but
actually functional driver.  It provides user access through a character
device to a Bluetooth HCI capable driver.

The device interface is the same (open/read/write) as the RAW HCI socket
(socket/recv/send) interface provided by the Linux and FreeBSD netgraph
Bluetooth stacks.  This allows a (very small) number of diagnostic programs to
be trivially ported and actually work.
2003-01-05 05:12:38 +00:00