Commit Graph

127725 Commits

Author SHA1 Message Date
kleink
26897a3b9b Fix a shift-by-one-bit glitch in the MONO_OUT mixer register's definition;
from Stephen Ma in PR kern/18342.
2004-05-25 20:59:37 +00:00
thorpej
2ecdd552dc Add the notion of "shadow registers" to the wdc driver. These shadow
registers are registers that overlap with others on many controllers, but
which may actually be distinct on some controllers.  Right now, the two
shadows are:

- wd_status (usually overlaps wd_command)
- wd_features (usually overlaps wd_error)

Add a new helper function, wdc_init_shadow_regs(), used to initialize
the shadow register handles on controllers where they do actually overlap.

Partially from Jordan Rhody @ Wasabi Systems, Inc.
2004-05-25 20:42:40 +00:00
christos
5031ff004a Add a regression test for /dev/ptmx [code for it not committed yet]. 2004-05-25 20:32:31 +00:00
wrstuden
f09a7d98b6 Change comments around locking. While you _can_ grab vnode locks
as LK_SHARED, the VOP_ code (in all our existing file systems)
was implememted assuming exclusive locking. Use of LK_SHARED
is technically a bug and only works right for uni-processor and
big-lock SMP systems. Our current file systems will blow up
(probably quite subtlely) with LK_SHARED and fine-grained SMP
locking.
2004-05-25 17:27:03 +00:00
aymeric
12c9a81707 -I. is part of CPPFLAGS, not CFLAGS. Make it so, allows to lint. 2004-05-25 16:47:31 +00:00
tsarna
2dd7257376 note uep(4) 2004-05-25 15:38:17 +00:00
hannken
8c21bc6224 Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD.
- Not enabled by default. Needs kernel option FFS_SNAPSHOT.
- Change parameters of ffs_blkfree.
- Let the copy-on-write functions return an error so spec_strategy
    may fail if the copy-on-write fails.
- Change genfs_*lock*() to use vp->v_vnlock instead of &vp->v_lock.
- Add flag B_METAONLY to VOP_BALLOC to return indirect block buffer.
- Add a function ffs_checkfreefile needed for snapshot creation.
- Add special handling of snapshot files:
    Snapshots may not be opened for writing and the attributes are read-only.
    Use the mtime as the time this snapshot was taken.
    Deny mtime updates for snapshot files.
- Add function transferlockers to transfer any waiting processes from
  one lock to another.
- Add vfsop VFS_SNAPSHOT to take a snapshot and make it accessible through
  a vnode.
- Add snapshot support to ls, fsck_ffs and dump.

Welcome to 2.0F.

Approved by: Jason R. Thorpe <thorpej@netbsd.org>
2004-05-25 14:54:55 +00:00
christos
afa83b513a notyet is in the users namespace as pointed out by klaus. 2004-05-25 14:49:38 +00:00
christos
fdaf51dfc9 we don't implement getipnode*(), so don't define their flags for now. It
confuses some software (ntpd).
2004-05-25 13:55:48 +00:00
skrll
279e627659 Re-run mknative. 2004-05-25 13:39:35 +00:00
is
c72c5843a8 My incarnation of the RPTI 400 card tells 0:0:0:0:0:0 when using the ASIC
to read the Ethernet address. However, as other OS's drivers suggest,
something which looks right is at offset 0x110.
2004-05-25 11:51:11 +00:00
lha
76164d845a Now that we have res_nsearch, use it. Thanks christos for adding it. 2004-05-25 11:15:43 +00:00
wiz
18e13de38b Use Nx instead of NetBSD; uppercase Dt argument;
set date to some more appropriate value.
2004-05-25 10:54:58 +00:00
wiz
9d6790e608 Add xrefs to uep(4). 2004-05-25 10:54:22 +00:00
lha
c569aad96a Add kgetcred, a tool that fetches a credential from the KDC
Useful when debugging service and cross-realm problems.
2004-05-25 10:31:45 +00:00
mrg
9b954397e0 use "zcat -fq" not just plain "zcat". this lets zgrep work on non
compressed files (as reported by simonb) as well as not printing
random warnings that zgrep isn't ready to handle.
2004-05-25 07:09:09 +00:00
atatat
53c625655c Sysctl descriptions under vfs subtree 2004-05-25 04:44:43 +00:00
atatat
16122fe06c Remaining sysctl descriptions under hw subtree (ath and bge) 2004-05-25 04:38:36 +00:00
mrg
2d5e05af49 - fix "gzip -t" to not output anything by default. PR#25507
- fix any decompression on corrupted gzip files.  PR#25508
- ask to overwrite files if we have a tty, rather than failing the
  operation.  PR#25509.
- clean up maybe_err()/maybe_warn(): use maybe_err() only for fatal
  errors.  maybe_warn() is for processing errors.  this allows
  "gzip -d file1.gz file2.gz" to decompress file2.gz even if file1.gz
  is corrupted, etc.
- change the internal compressor/decompressor API to return "-1" on
  failure, not 0.  this allows for 0-sized files to be decompressed
  correctly.
2004-05-25 04:34:40 +00:00
atatat
4de3747b89 Sysctl descriptions under net subtree (net.key not done) 2004-05-25 04:33:59 +00:00
atatat
d37080bc2f Sysctl descriptions under ddb subtree 2004-05-25 04:31:48 +00:00
atatat
db2f5beb7d Sysctl descriptions under vm subtree 2004-05-25 04:31:17 +00:00
atatat
5b22e79ada Remaining sysctl descriptions under kern subtree 2004-05-25 04:30:32 +00:00
atatat
190adb15c3 Sysctl descriptions under emul subtree. 2004-05-25 04:29:08 +00:00
atatat
100394ee13 The FAST_IPSEC code actually supports KEYCTL_PREFERED_OLDSA, so export
it via sysctl.
2004-05-25 04:00:33 +00:00
mhitch
4c9aff16f0 Addition of header files for sysctl set function prototypes referenced
structs defined in other header files.  Gcc 2.95 on vax doesn't like this.
Add appropriate header files to fix vax compile failures.
2004-05-25 01:36:37 +00:00
fair
75457d3bb1 Add documentation for XSERVER and XSERVER_DDB to resolve PR 20173. 2004-05-25 00:33:04 +00:00
tsarna
50aea7d354 add uep(4) manpage to setlists 2004-05-25 00:20:39 +00:00
tsarna
8b0281367f basic uep(4) manpage.
kill -HUP `cat /var/run/wizd.pid`
2004-05-25 00:18:13 +00:00
tsarna
99e30caccf +uep 2004-05-24 23:54:26 +00:00
tsarna
f7fae574cc add uep driver 2004-05-24 23:50:11 +00:00
tsarna
6cf367d31d "uep" a driver for USB eGalax touch-panels. These are commonly found on
Xenarc, Liliput, etc. small touchpanel LCD displays.

TODO:
- manpage
- calibration support (make hpc's tpcalib stuff more MI?)
- On i386 and other xfree-ish xservers, (currently-uncomitted) patches
  are needed for X to honor wscons absolute mouse position events.
2004-05-24 23:48:36 +00:00
bouyer
5c594e4cc4 Add a delay(5000) between the ATAPI_SOFT_RESET and the channel reset.
Some ATAPI device never get out of busy if touched too fast after a reset.
Delay value from atapi_wdc.c; fix problem reported by Nicolas Joly on
current-users.
2004-05-24 20:45:30 +00:00
kleink
5c1882fdb9 Fix a glitch in the initial import: The XMAC hash function is actually
based on CRC32-_LE_.

From Christian Weisgerber in private mail.
2004-05-24 20:12:01 +00:00
jonathan
20f923718e Change DIAGNOSTIC warning in nfs_send() about NULL rep->r_procp: the
warning is triggered pervasively, so print it only once per boot.
(The callers who pass NULL r_procps should soon be fixed to pass a
valid struct proc* ).
2004-05-24 19:08:07 +00:00
tsarna
b20d882c63 regen 2004-05-24 19:02:19 +00:00
tsarna
a0645ac0f8 Add IDs for eGalax USB touchpanel controllers.
Descriptions are not very good because the only documentation I have
says "the VID and PID may be one of these combinations", without any
additional information about the differences or even model names.
2004-05-24 19:00:42 +00:00
hannken
ddf6ca10ff Do not fail if directory sysinst exists. Makes update builds work again. 2004-05-24 18:17:45 +00:00
christos
cbebf25ae4 remove stray NSUNLOCK(); pointed out by Brian Ginsbach. 2004-05-24 16:16:26 +00:00
yamt
9080a4b746 instead of blindly set IF in MCOUNT_EXIT,
save eflags in MCOUNT_ENTER and restore it.
2004-05-24 14:01:10 +00:00
yamt
7ca373cce9 remove a duplicated prototype of getprotoent_r. 2004-05-24 12:34:28 +00:00
kleink
eb8c340ab9 In sk_init_yukon(), don't open-code clearing the multicast filter but
go via the normal filter setup path instead.  The old behaviour only
worked ok as long as the init function was exclusively called at attach
time, when there was no configuration to be lost.

From Christian Weisgerber in private mail.
2004-05-24 10:06:59 +00:00
martin
b1998403bc Back to SIZEOF_HEADERS. 2004-05-24 07:20:26 +00:00
lukem
b8580dfae9 Put the description of "options" in a new paragraph, for consistency 2004-05-24 05:52:52 +00:00
itojun
62eb5fae68 close(2) missing. Andrey Matveev 2004-05-24 03:51:04 +00:00
snj
031f6818c2 Bump date for last. Minor English fixes. Use Dq. Sprinkle some Dv. 2004-05-24 03:26:34 +00:00
christos
e944b1cdd8 Can't do the trick with using sbp as temporary storage; allocate memory
instead.
2004-05-24 03:09:48 +00:00
christos
556949a68e Oops, forgot to commit this. 2004-05-24 01:20:17 +00:00
wiz
93e3ca3773 Add comma in enumeration. Bump date for previous. 2004-05-24 00:09:49 +00:00
wiz
894fc3b8de Use Dq instead of quotes; bump date for previous. 2004-05-24 00:08:04 +00:00