161840 Commits

Author SHA1 Message Date
xtraeme
25fa55f16f Change the DPRINTFs in sysmon_envsys_destroy_plist() to DPRINTFOBJs
(second level of verbosity).
2007-09-09 12:28:08 +00:00
christos
c3b08dc40f PR/36955: Ighighi: Use fseeko instead of fseek. 2007-09-09 12:20:27 +00:00
apb
6fc16fbc88 Document "emul" keyword. Fixes PR 36935.
Also sort list of keywords, and bump date.
2007-09-09 10:35:32 +00:00
martin
90ef42f1bb Print the access concentrator name when a session is established.
This seems to be usefull to identify peers with known broken firmware
(e.g. that can only do IPv4 reliably).
2007-09-09 09:58:55 +00:00
xtraeme
d76f18ef6a Add all drivers that I just added. They won't be built by default... 2007-09-09 05:51:59 +00:00
xtraeme
ee73e65e69 Sync with reality. 2007-09-09 05:50:02 +00:00
xtraeme
09af330546 Remove a local CPPFLAGS line that was commented out. 2007-09-09 05:46:27 +00:00
xtraeme
3d9887f5a6 Add the ug(4) LKM. Not tested but I've been using lm(4) and should work. 2007-09-09 05:40:22 +00:00
xtraeme
7edd0f0532 Add the detach method, will be used by the LKM. 2007-09-09 05:39:10 +00:00
xtraeme
42d3167c6c Add the nsclpcsio(4) LKM. Not tested but I've been using lm(4) and
should work.
2007-09-09 05:27:10 +00:00
xtraeme
2db2debe7e Add the detach method and don't bother with gpio in the LKM for now. 2007-09-09 05:26:18 +00:00
xtraeme
ba6e78a942 Add the smsc(4) LKM. Not tested but I've been using lm(4) and should work. 2007-09-09 05:18:20 +00:00
xtraeme
3efc7cfcb3 Add the detach method, will be used by the LKM. 2007-09-09 05:17:17 +00:00
xtraeme
c2d7d8aaf3 Add the it(4) LKM. Not tested but I've been using lm(4) and should work. 2007-09-09 05:11:01 +00:00
xtraeme
d7850b3e83 Add the detach method, will be used by the LKM. 2007-09-09 05:08:11 +00:00
xtraeme
ae26b33f71 Remove a duplicate line. 2007-09-09 04:38:16 +00:00
xtraeme
2049e94266 Add the lm(4) LKM and a common template to build ISA modules by only
setting some variables. Voodoo magic to create lkm_isa.c was required.
2007-09-09 04:24:24 +00:00
dyoung
ca1b22492a Bug fix: filed.fd_ofiles is always a pointer to the open files
table, so always read the table from kernel virtual memory at that
address.  Do not ever try to read the table from filed0.fd_dfiles,
because it just isn't necessary, and sometimes we read a stale
table from there.
2007-09-09 01:26:55 +00:00
xtraeme
0c62f2147b regen 2007-09-09 01:09:19 +00:00
xtraeme
cf19cf6244 Another ICH8M SATA Controller found in jmcneill's laptop. 2007-09-09 01:09:02 +00:00
ad
b5d1c4ed09 Block SIGALRM in the 'setup' thread, otherwise the alarm may not be taken
by the thread in sigsuspend().
2007-09-09 01:08:56 +00:00
cube
14a82de83a Improve the structure of the man page to make it more usual, with the hope
that people might actually read it some day.  Yeah, I know, dream on, dream
on.

Thanks schmonz@ for a quick english check.
2007-09-09 00:35:14 +00:00
xtraeme
66ad9e7acd sysmon_envsys_register: don't forget to clear SME_FLAG_BUSY when
registration succeeds.
2007-09-08 23:59:38 +00:00
xtraeme
1e91f1628f Use DPRINTF for a debugging printf. 2007-09-08 23:21:02 +00:00
xtraeme
2473f3e4f5 Use panic(9) for previous. To make pooka and rmind happy. 2007-09-08 23:16:08 +00:00
xtraeme
4258a2b5f4 Remove an unused variable. 2007-09-08 23:14:13 +00:00
ad
debc2870e6 Update. 2007-09-08 23:00:31 +00:00
xtraeme
f854251f66 sme_event_worker: in PENVSYS_EVENT_STATE_CHANGED, only
ENVSYS_DRIVE or ENVSYS_BATTERY_STATE sensors are allowed for now.

Other type of sensors will be ignored. Added this to make
Coverity Prevent happy.
2007-09-08 22:58:56 +00:00
ad
f4fd6b797e - Get rid of self->pt_mutexhint and use pthread__mutex_owned() instead.
- Update some comments and fix minor bugs. Minor cosmetic changes.
- Replace some spinlocks with mutexes and rwlocks.
- Change the process private semaphores to use mutexes and condition
  variables instead of doing the synchronization directly. Spinlocks
  are no longer used by the semaphore code.
2007-09-08 22:49:50 +00:00
xtraeme
aeb9b8e3fb Fix another memleak that only happened when using
sysmon_envsys_unregister(): in sysmon_envsys_destroy_plist() I wasn't
removing the _objects_ from the dictionary, instead I was calling
prop_object_release() with the keysym returned by
prop_object_iterator_next()... obviously this wasn't correct.
2007-09-08 22:42:37 +00:00
pooka
38602220e1 Free longname in all error branches. CID: 4545 2007-09-08 22:05:32 +00:00
rumble
f25f34f4c0 Don't explicitly set vp->v_size and then call uvm_vnp_setsize(). This is
not only unnecessary, but trips a kernel assertion introduced in r1.85 of
uvm/uvm_vnode.c.
2007-09-08 19:19:37 +00:00
rumble
0b6fb31125 In efs_readdir don't foolishly allocate and free dirents for each entry
before copying them out, rather just use a single one. Further, follow
the example of tmpfs and others by simply allocating on the stack.

This should have the side-effect of silencing false Coverity reports like
CID 4559 and 4554.
2007-09-08 18:17:59 +00:00
ober
062d98253b regen. added Intel Pro/Wifi 4965AGN 2007-09-08 16:39:27 +00:00
ober
b72cf10513 Add definitions for Intel 4965AGN. 2007-09-08 16:38:28 +00:00
rumble
df9eaeb9e0 CID 4553:
In efs_lookup, when checking whether a CREATE or RENAME operation would
succeed, be sure to pass the appropriate vnode pointer to VOP_ACCESS.
2007-09-08 16:21:27 +00:00
pooka
96b66ea698 Free pufbuf in error branches. CID: 4546 2007-09-08 15:49:33 +00:00
xtraeme
6f2d66f364 Don't forget to free sme_evdrv in non error case too. Noticed and
reviewed by rmind.
2007-09-08 15:47:37 +00:00
pooka
88f28c1eed honor LOCKLEAF in namei 2007-09-08 15:40:51 +00:00
pooka
584065ec56 Check against errors when reading trace device. CID 4561. 2007-09-08 15:34:23 +00:00
xtraeme
70a37300e4 Use only one single condvar(9) for devices and events, they are protected
by the same mutex (sme_mtx) and there's no point in using two of them.

Also add a comment mentioning some locking notes.

Reviewed and ok by rmind.
2007-09-08 15:25:18 +00:00
chris
5e02e37306 Fix bug which causes cats builds to not produce an a.out install kernels,
which are needed to boot from Cyclone firmware.

Bug reported on port-cats mailing list:
http://mail-index.netbsd.org/port-cats/2007/09/08/0000.html
2007-09-08 14:25:09 +00:00
gdt
c6d3ad8ec3 enable cgd to reduce diffs to GENERIC 2007-09-08 12:11:58 +00:00
agc
e0ef0e5000 Welcome to version 20070908 - multiple targets bug fix. 2007-09-08 09:52:20 +00:00
agc
c11d4df578 Resurrect the port number argument to the iSCSI test harness. 2007-09-08 09:44:24 +00:00
plunky
086f1f09f5 fix misleading comment 2007-09-08 07:46:13 +00:00
dyoung
7cf94b5474 Rename gre_socreate1() -> gre_socreate(). 2007-09-08 04:34:02 +00:00
xtraeme
94b4332c25 Update a comment. 2007-09-08 03:42:20 +00:00
xtraeme
c1594607bd Disable debug, committed accidentally in previous. 2007-09-08 03:41:28 +00:00
xtraeme
cf08870553 Use a 2 seconds period to refresh sensor data, previous value wasn't
accepted and triggered an assertion.
2007-09-08 03:38:35 +00:00