163606 Commits

Author SHA1 Message Date
xtraeme
752ee73cf1 Remove duplicate sme_events_list. 2007-11-16 08:18:33 +00:00
xtraeme
27ddba0559 Implement the 'refresh-timeout' property in device blocks for the
configuration files. This sets the timeout value that will be used
to check for critical limits.

The value can be viewed by the 'envstat -D' command.
2007-11-16 08:01:37 +00:00
xtraeme
31962fc6e5 Extend the envsys2 API (one more time, sorry) as defined in:
http://mail-index.netbsd.org/tech-kern/2007/11/09/0001.html

sysmon_envsys_create() and sysmon_envsys_destroy() were added to
create/destroy sysmon_envsys objects (and its TAILQ/LIST for sensors/events).

sysmon_envsys_sensor_attach() and sysmon_envsys_sensor_detach() were
added to attach/detach sensors to a specified sysmon_envsys device.

The events framework is now per device and configurable via the
ENVSYS_SETDICTIONARY ioctl or /etc/envsys.conf and envstat(8).

Update all users and documentation to reflect these changes.
2007-11-16 08:00:11 +00:00
skrll
74c813c4e9 s/proc/lwp/ in comment 2007-11-16 07:36:10 +00:00
dyoung
fba210bf0b Use uintXX_t instead of u_intXX_t. 2007-11-16 06:06:15 +00:00
dyoung
c58de3c983 Cosmetic: rename some variables and constants. Move some constants
from atw.c to atwreg.h.
2007-11-16 05:53:16 +00:00
dyoung
b66951c216 Replace some magic numbers with HFA3861A register names.
Do not alias the Rx descriptor word ar_ctl to ar_rssi with a #define.
Instead, call the member ar_ctlrssi.

Convert the ugly macro ATW_RXDESC_INIT() to an inline subroutine,
atw_rxdesc_init().

Do not load an empty IEEE80211_RADIOTAP_FLAGS field into the Tx
radiotap header.
2007-11-16 04:58:38 +00:00
dyoung
67612c1e03 Define some more registers. 2007-11-16 04:52:36 +00:00
dyoung
5167b8ef99 Add missing */, RCS Id, and license. 2007-11-16 04:31:34 +00:00
dyoung
93ac8c75eb Add part of the Intersil HFA3861A register set so that eventually
I can remove magic numbers from atw(4).
2007-11-16 04:24:06 +00:00
ad
33e2fcd08e Avoid doing rep; movsl with %ecx == 0, since it's expensive. Suggested
by dsl@.
2007-11-16 01:37:58 +00:00
ad
85a2e7d924 Work around broken MD headers. 2007-11-16 01:21:24 +00:00
martin
c9a4a7f28d Note gdb 6.5 kernel crash dump & pthread debugging problems. 2007-11-16 00:27:04 +00:00
degroote
91f3c9d9f9 Use device_t instead of struct device* and use associated functions
Use callout_setfunc and callout_scheduler instead of callout_reset

No functionnal change expected
2007-11-16 00:13:32 +00:00
ad
ab19d73932 Kill the memory barriers: force users of the outgoing timehand to move
on quickly by also incrementing its generation number.
2007-11-15 23:16:55 +00:00
dyoung
c0297f3ac1 Fix order of operations:
rtw_rxdesc_init: before initializing a Rx descriptor's
            control word, synchronize the Rx buffer

        rtw_start, be paranoid: set the "NIC owns" bit on a Tx
            descriptor dead last.  Always reinitialize the "next
            Tx descriptor" pointer, just in case it got clobbered
            somehow.

Let the compiler decide whether to inline rtw_collect_txring or
not.
2007-11-15 22:55:50 +00:00
dyoung
57103df331 Use __arraycount(). 2007-11-15 22:49:46 +00:00
ad
d3c8987b25 Oops; fix thinko. 2007-11-15 22:28:05 +00:00
ad
a67091837e Lock curlwp when updating the start time. 2007-11-15 20:12:25 +00:00
ad
0239b151ae Add a bit of locking around timecounter attachment / selection. 2007-11-15 20:12:04 +00:00
ad
e4df9c1dd8 Disable TLB shootdown IPIs while in the debugger. Crashdumps may try to
use them, and all but one CPU is paused. Reported and tested by martin@.
2007-11-15 19:46:44 +00:00
ad
deae4f32c5 Remove support for 80386 level CPUs. PR port-i386/36163. 2007-11-15 19:18:32 +00:00
xtraeme
d7fd24f5fe Fix typo and bump date missed in previous commits. 2007-11-15 15:34:54 +00:00
yamt
e1581d5f80 yamt-lazymbuf: update 2007-11-15 14:44:50 +00:00
xtraeme
1ee3f0b9a4 it -> itesio 2007-11-15 13:29:48 +00:00
xtraeme
503d8b60d1 Remove a debug printf. 2007-11-15 13:23:13 +00:00
xtraeme
0c95eec1eb - Remove an extra RCS ID line.
- Update the ifdef on itesio_isavar.h to reflect the rename.
2007-11-15 13:09:07 +00:00
xtraeme
e9e087f048 Update for it(4) -> itesio(4) rename. 2007-11-15 13:04:50 +00:00
tsutsui
0192f3ddfc Add some definitions for resizefs features. 2007-11-15 12:59:17 +00:00
xtraeme
a73f1d379b Update for it(4) -> itesio(4) rename. 2007-11-15 12:58:28 +00:00
xtraeme
b0ac365f62 Rename it(4) to itesio(4) to accomodate for the following changes:
- The driver now uses the Super I/O address port as port argument in
  the configuration file. The Environmental Controller base address is
  fetched by the Super I/O EC LDN configuration registers.

- Invalidate voltage sensors if data returned is 0xff.

- Use the Super I/O Global Configuration Registers Chip ID[12] and Device
  Revision to store/print the correct information.

- Use only the Fan Extended Tachometer registers on IT871[68]F for now;
  this gives us correct data for IT8705/IT8712F again.

Inspired by the smsc(4) driver. The UPDATING file has been updated to
reflect the rename.
2007-11-15 12:53:40 +00:00
skrll
c85b38c0c8 Explicitly include <machine/reg.h> 2007-11-15 10:22:25 +00:00
manu
eee8a41d73 Regen 2007-11-15 04:34:23 +00:00
manu
310579e011 It's 88C055, not 88CO55. 2007-11-15 04:33:50 +00:00
joerg
d69661a074 Remove sysinst part of LAPTOP kernels. 2007-11-15 00:55:02 +00:00
joerg
611565d05b Remove GENERIC_LAPTOP and INSTALL_LAPTOP. To compensate, switch
bootfloppy-big to actually use INSTALL_LARGE (with ACPI) and 5 floppies.
2007-11-15 00:31:19 +00:00
dyoung
c03a973fd0 KNF. Remove superfluous parentheses. In the switch-statement,
consolidate all of the 'error = EOPNOTSUPP;' cases.  No functional
change intended.
2007-11-14 22:58:27 +00:00
wiz
45ff3b5240 Revert 1.8: .tr does not want HTML-escaped characters.
While here, remove trailing whitespace.
2007-11-14 22:54:38 +00:00
jmmv
b5d1b31284 The directories that hold the debug versions of tests cannot be marked
with the 'debug' flag, because they are always created.
2007-11-14 22:36:27 +00:00
agc
ece8c754d5 Note iSCSI initiator support will be in 5.0 in the ROADMAP. 2007-11-14 22:20:53 +00:00
christos
7c16cc9e3b From Anon Ymous
- Fix a stupid typo: sizeof(sizeof(a)) isn't very useful.
- Use emalloc(3) and erealloc(3) instead of malloc(3) and realloc(3),
  resp.
2007-11-14 22:06:04 +00:00
jmmv
0908676b55 Add the debug versions of all atf tools. 2007-11-14 21:51:16 +00:00
jmmv
6ff8382f07 Fix build of tests with an MKDEBUG build by properly creating the target
directories that will hold the debug programs and by registering those in
the file lists.  (Untested, but hopefully will work.)  Noted by drochner@.
2007-11-14 20:37:53 +00:00
agc
445a5e5f36 Bump version to 20071114, to include the iSCSI initiator in the portable
version.
2007-11-14 20:05:52 +00:00
agc
f56debaab1 Rationalise this completely for the portable GNU autoconf version (which
is not used by the NetBSD reachover framework).

Get rid of the misplaced bin directory during the build phase, it's not
necessary.

Add commands to build the NetBSD iSCSI initiator.
2007-11-14 20:00:06 +00:00
agc
e99d7af118 Add some commented out code (not enabled yet) to deal with MODE_SENSE_10
SCSI commands.

No functional change.
2007-11-14 19:58:06 +00:00
ad
adec684ce8 Boot the secondary processors just before the interrupt-enabled section
of autoconfig. This is needed if APs are able to take interrupts.
2007-11-14 19:45:44 +00:00
drochner
095b25e7dd Add pthread_equal() to libc stubs; this makes a lot of sense for
threadsafe libraries implementing own locking functions.
Ride on yesterday's minor version bumps.
2007-11-14 19:28:23 +00:00
pooka
4a0a4d4f30 Fix a problem noticed by Reinoud: the fs would try to release an
unlocked vnode when trying to rename a directory.  The fix was to
shuffle some bits around and #pray.

The rename routine actually needs a very very major wide-angle whopping:
 * it takes locks out-of-order
 * it deals with references from SAVESTART lookups in interesting ways
 * I doubt there is any guarantee for correct operation if there
   are multiple concurrent accesses
 * the error branches might just as well call panic() directly
2007-11-14 19:16:29 +00:00
garbled
276f1a3cde Commit a fix for the _SR regions that are needed by ofppc. Because this
platform tends to just declare anything from 0x8 to 0xf as mem or io
regions willy-nilly, we need to avoid batmapping a few of those in order
to save space for USER_SR, KERNEL_SR and KERNEL2_SR.  I picked values for
these three that are least-commonly used or used for non-vital things.
2007-11-14 18:34:12 +00:00