Commit Graph

160911 Commits

Author SHA1 Message Date
nonaka
16469ee06f Added zaurus. 2007-07-29 14:37:25 +00:00
nonaka
d8caf5f9b4 Added apm releated programs. 2007-07-29 14:35:55 +00:00
nonaka
055f45996f Added zaurus. 2007-07-29 14:34:45 +00:00
nonaka
d1d5985b69 Added apmvar.h 2007-07-29 14:32:18 +00:00
nonaka
1de7f19819 Added support to detect AC adapter and charge battery. 2007-07-29 14:31:23 +00:00
nonaka
9efd71ca75 sync with OpenBSD. 2007-07-29 14:29:38 +00:00
xtraeme
e802e6b656 - Do not call sme_gtredata in sysmon_envsys_createplist, as in some
systems the interrupts are not configured and causes unexpected behaviour
  in acpi_bat and other drivers, reported by cube@.
- Update the 'type' object in sme_update_dictionary(), so that it can
  report the correct units type in acpibat(4).
2007-07-29 14:02:29 +00:00
jmmv
1887d3d26e Add dhclient to the shark's installation disk image so that we can configure
network interfaces through DHCP in sysinst.
2007-07-29 13:59:38 +00:00
ad
10b11b97b0 B_ERROR is gone. 2007-07-29 13:53:46 +00:00
ad
a0d1fd8d0c It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.
2007-07-29 13:31:07 +00:00
plunky
30ba4a7458 add mention of rc.d/btuartd 2007-07-29 13:17:38 +00:00
pooka
b7321c1a86 apply ketchup to vop_mmap_args comment 2007-07-29 13:12:42 +00:00
ad
eb171eaaa7 It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.
2007-07-29 12:50:17 +00:00
pooka
abf11c212d Define a new lockmgr flag LK_RESURRECT which can be used in
conjunction with LK_DRAIN.  This has the same effect as LK_DRAIN
except it atomically does NOT mark the lock as drained.  This
guarantees that when we got the lock, we were the last one currently
waiting for the lock.

Use LK_DRAIN|LK_RESURRECT in vclean() to make sure there are no
waiters for the lock.  This should fix behaviour theoretized to be
caused by vfs_subr.c 1.289 which caused vclean() to run into
completion and free the vnode before all lock-waiters had been
processed.  Should therefore fix the "simple_lock: unitialized lock"
problems seen recently.

thanks to Juergen Hannken-Illjes for some analysis of the problem
and Erik Bertelsen for testing
2007-07-29 12:40:37 +00:00
ad
66fefd117b It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.
2007-07-29 12:15:35 +00:00
ad
480f8d26c5 Disable kernel assertions if panicstr != NULL. 2007-07-29 11:46:02 +00:00
ad
c52c14050e Be more forgiving if panicstr != NULL. 2007-07-29 11:45:21 +00:00
ad
79ba10e06a lockmgr > rwlock 2007-07-29 11:25:01 +00:00
pooka
dff8581037 Print also the topmost flag hex in vprint().
fun fact: this bug was introduced over 10 years ago, so I don't
think anyone has really keenly missed it.
2007-07-29 10:00:15 +00:00
pooka
833194271b update CODE REFERENCES to match new module 2007-07-29 09:40:54 +00:00
pooka
e97d926940 Move bitmask_snprintf() from subr_prf.c to subr_prf_bitmask.c to permit
standalone compilation.  No functional change.
2007-07-29 09:38:01 +00:00
rumble
f486212a0e When computing the superblock checksum, use an unsigned short to avoid an
undesired sign-extension. Now EFS works on big endian machines, too.
2007-07-29 00:56:04 +00:00
rumble
64dd04152b Set the 'ri' pointer before use. 2007-07-28 22:35:56 +00:00
mjf
05619021ad Implement bounds checking in some places in display driver code to avoid
the possibility of a local user panic.
2007-07-28 20:28:56 +00:00
dsl
bd8009e530 Don't call P_ZOMBIE(struct kinfo_proc2), it's p_stat field contains
lwp states, not process states!
Since the times are filled with zeros for zombie processes the check
before assuming teh process time is zero is moot - delete it.
Fix the other chact to test the p_realstat.
Fixer PR kern/36295
2007-07-28 17:05:50 +00:00
drochner
c6de8226b0 Back out local NetBSD change (range check to avoid buffer overflow),
to reduce diffs to upstream.
This is superseded by another check (TCHECK2) introduced upstream.
2007-07-28 16:09:14 +00:00
drochner
87eb08c4d6 Back out local NetBSD change (attempt to handle FDDI padding), to reduce
diffs to upstream.
This turns out to be a no-op, and it shouldn't be here at all because
the DEC/NetBSD specific FDDI padding is dealt with in libpcap already.
2007-07-28 16:07:32 +00:00
drochner
624d9b0e79 Back out local NetBSD change (typecast to void*), to reduce diffs to
upstream.
Appears unnecessary to me (source and target are unsigned char*) and
compiles w/o for me.
2007-07-28 16:04:44 +00:00
drochner
427fb19923 Back out local NetBSD changes (removal of _U_ which expands to
attribute(unused)), to reduce diffs to upstream.
While that is ugly, we have the _U_ left in at other places.
2007-07-28 16:02:17 +00:00
drochner
68aa07a617 Back out local NetBSD change (addition of #include files), to reduce
diffs to upstream.
Compiles fine without for me, and there is no CVS commit message
telling why it should be necessary.
2007-07-28 15:59:39 +00:00
kiyohara
c845e341d1 s/ichsmp/ichsmb/. 2007-07-28 15:01:25 +00:00
kiyohara
ad2eb788f6 s/cat4/man4/. 2007-07-28 14:51:36 +00:00
pooka
0a0815b77e Move hashinit() & hashdone() from kern_subr.c to subr_hash.c to
permit standalone compilation.  No functional change.
2007-07-28 12:53:52 +00:00
kiyohara
dab69ffee7 s/uint32_t reg/pcireg_t reg/.
Check condition `!= 0'.
2007-07-28 12:31:50 +00:00
kiyohara
5fc45c72a5 Add ichsmb(4). 2007-07-28 11:06:23 +00:00
kiyohara
37b3e2d574 Add support for Intel ICH SMBus controller. 2007-07-28 10:51:56 +00:00
pooka
33f2f6779a minor header cleanup 2007-07-28 08:19:36 +00:00
ad
46022e56e5 Update the blurb to match reality. 2007-07-28 00:12:26 +00:00
tron
8760b54b72 Use the appropriate number of maximum devices for Fibre Channel.
Problem Jarle Greipsland on "current-users" mailing list.
2007-07-27 18:38:13 +00:00
reed
cd2b62d931 Add lastlogin(8) to see also. 2007-07-27 16:59:25 +00:00
pooka
af927546de Move vfs_attach(), vfs_detach() and vfs_reinit() from vfs_subr.c
to vfs_init.c.  This permits easier standalone compilation of these
routines.
2007-07-27 14:25:21 +00:00
pooka
49e9065012 Expose struct vfsops and VFS_FOO()s if __VFSOPS_EXPOSE is defined. 2007-07-27 13:43:05 +00:00
tsutsui
1983a26b2e Check a correct value on a sanity check in jensenio_eisa_intr_map().
Fixes yet another bug on Jensen found on tracking PR port-alpha/36628.
2007-07-27 13:37:07 +00:00
tron
b737847a3a Mention support for new hardware in mpt(4). 2007-07-27 13:08:14 +00:00
tron
14ce5c0a98 Add support for newer SAS and similar devices to mpt(4). Tested with
the LSI SAS1064 in a Sun x4200 server.

These enhancements were developed by Garrett D'Amore and contributed
to NetBSD by the TELES AG.
2007-07-27 13:06:51 +00:00
xtraeme
294ea334f7 Change locking stuff in sysmon_envsys_register() and
sysmon_envsys_createplist().
2007-07-27 11:59:09 +00:00
jnemeth
7de3213369 Update the releng team list based on the current releng mailing list
(including adding the person that is currently spearheading the release).

XXX Somebody from releng should check this over.
2007-07-27 10:40:00 +00:00
yamt
c90a0e2579 stop nfs tick when we have nothing to do. 2007-07-27 10:03:58 +00:00
yamt
662e7a9e40 use ubc_uiomove for read as well. 2007-07-27 10:00:42 +00:00
yamt
3822af7031 ubc_uiomove: add an "advice" argument rather than using UVM_ADV_RANDOM blindly. 2007-07-27 09:50:36 +00:00