129303 Commits

Author SHA1 Message Date
yamt
e9bca9a46e nfs_doio_read: on short read, zero out the rest of the buffer unconditionally.
we can't rely on n_size here because it can be changed under us.
2004-07-18 07:43:00 +00:00
yamt
1c77f27a7a nfs_commit: use NAC_NOTRUNC when loading an attribute
as we're called holding pages locked.
2004-07-18 07:41:42 +00:00
tsutsui
ef6be1434f Add options COMPAT_20. 2004-07-18 05:56:15 +00:00
tsutsui
7bd44baa54 Sync some entries with GENERIC. 2004-07-18 05:54:43 +00:00
tsutsui
07d4821916 Add options COMPAT_20. 2004-07-18 05:41:51 +00:00
kent
a9236e26b4 pass the whole of pecoff_opthdr, not only pecoff_imghdr. 2004-07-18 04:36:42 +00:00
wiz
0d7d1c090a Remove generated file; probably fixes PR 26333 by salo. 2004-07-17 23:28:35 +00:00
heas
9fb2efa68d Use aprint_normal consistently. 2004-07-17 21:23:10 +00:00
mycroft
98a431ae8a Clean up reader/writer counts for the revoke case in fifo_close(). 2004-07-17 20:53:01 +00:00
mycroft
4605cec510 PRIBIO -> PSOCK. This emulates the pre-sys_pipe behavior, and avoids including
processes blocked on pipe I/O in the load average.
2004-07-17 20:50:08 +00:00
mycroft
584d70dbc1 Avoid touching the xfer after calling usb_transfer_complete(), as the
driver callback may have recycled it.  From PR 25960.
2004-07-17 20:24:15 +00:00
mycroft
ab236698f0 ugen_isoc_rintr() may recycle the xfer immediately. Therefore, we avoid
touching the xfer after calling the callback in usb_transfer_complete().
From PR 25960.
2004-07-17 20:16:13 +00:00
mycroft
c206d4cf15 hcpriv is not actually used here. Remove references to it. 2004-07-17 20:12:02 +00:00
mycroft
db93484e06 Remove special-casing of Intersil product name. 2004-07-17 20:05:39 +00:00
mycroft
ce97c8c1d8 Regen. 2004-07-17 20:05:02 +00:00
mycroft
a673957e97 Fix Intersil product names. 2004-07-17 20:04:32 +00:00
mycroft
ea12e63610 Regen. 2004-07-17 19:55:28 +00:00
mycroft
af16b34b94 Remove ZONET ZEN. 2004-07-17 19:55:14 +00:00
mycroft
5bd875b764 A bit of cleanup:
* Change PCMCIA_CIS_* values that are empty to PCMCIA_CIS_INVALID.
* Use wildcard OUIs in a few more places.
* Steal a method for differentiating the AX88[17]90 from the Linux driver.
* Remove the ZoNet card entry; it's now a duplicate of the Compex entry.
2004-07-17 19:55:03 +00:00
mycroft
d4118817df Remove sc_open; the audio layer does this. 2004-07-17 19:47:27 +00:00
dsl
e0683ac0f3 Kill two more global variables, bsize (bios disk size) was never used
and bcylsize (bios cylinder size) can be calculated in the one place
it is needed.
The ask_sizemult() call will go once I decide what to to with the
(slightly useful) explanatory text about cylinder alignment.
2004-07-17 19:36:59 +00:00
wiz
9074ea7ce0 Code is not using gethostbyaddr any longer, but getnameinfo.
Fix references. Addresses part of PR 26337 by Peter Postma.
2004-07-17 18:34:01 +00:00
wiz
6387678427 Bump date for previous. 2004-07-17 18:33:23 +00:00
wiz
24d271a979 Code is not using gethostbyaddr any longer, but getnameinfo.
Fix references. Addresses part of PR 26337 by Peter Postma.
2004-07-17 18:32:23 +00:00
atatat
14eee8f4cc Rework sys/netipsec/ipsec_netbsd.c to present a more consistent tree.
Rework usr.bin/netstat/fast_ipsec.c to find the stats nodes under the
new names (Kame uses the name stats so we use different ones), as well
as setting slen appropriately between calls to sysctlbyname(), and
providing forward compatibility when actually retrieving stats via
sysctlbyname().

And correct a spelling error.
2004-07-17 16:36:39 +00:00
yamt
1a4759a97e as i386 does, propagete errors from uvm_fault() to users of pcb_onfault
via v0 so that eg. read(2) can return more appropriate errors
rather than always EFAULT.

ok'ed by Jason Thorpe.
2004-07-17 12:21:20 +00:00
dsl
65a0b724f8 'Warp' menu selection to 'Exit' when a timezone is selected.
Add a line-break to the TZ menu title - has to look better that way.
2004-07-17 11:28:16 +00:00
dsl
da414ff103 Remove the globals ramsize and rammb, the former was only ever used inside
a single function, the latter is now the return value of get_ramsize().
Changed all uses of rammb to get_ramsize().
Used the 64bit HW_PHYSMEM64 so silly things don't happen if the memory size
approaches (or even exceeds) 4GB.
2004-07-17 10:55:03 +00:00
petrov
1ee4832b70 Don't print relocated content (in DEBUG mode) as it can cause
misaligned access. It needs to be done differently if needed at all.
Fix PR port-sparc64/20907.
2004-07-17 05:03:33 +00:00
petrov
b0a06b6467 Update uvmexp's traps and syscalls. Reviewed by Jason Thorpe. 2004-07-17 04:56:31 +00:00
enami
9208b0c287 Add test case for df.c rev. 1.66. 2004-07-17 00:31:38 +00:00
enami
56ab99cb0c Drop LSBs when denominator is big. 2004-07-17 00:29:08 +00:00
enami
686e03f5e7 - If fktrace(2) failed, just exit rather than waiting for trace output.
- Reduce #ifdef a bit.
2004-07-16 23:52:01 +00:00
enami
5f072cb7f0 Print flags symbolically. 2004-07-16 23:28:20 +00:00
dyoung
084b007d1b The RSSI field in the Rx descriptor is the unadulterated content
of the DIVCTL/RSSI register on the RF3000 baseband.  Mask all but
the RSSI bits.
2004-07-16 23:13:27 +00:00
he
7ae4fdd283 Instead of placing largish buffers on the stack, use malloc/free.
Fixes compile problem for sun2.
2004-07-16 22:44:01 +00:00
mycroft
30533d66ac AUOPEN_* != AUMODE_*. Duh. Make unidirectional devices work again. 2004-07-16 22:39:23 +00:00
tls
f2621c88af Set the system clock (via Xen) in resettodr(), if domain 0.
This has a couple of beneficial effects:

1) The TOD time will be preserved across boots, as one would expect.

2) Newly-started VMs will get the correct time according to domain 0.
   Previously, since we never set the time back to Xen, each VM would
   get the uncorrected system clock time, never even seeing any
   changes made since the current startup.

I don't understand how XenoLinux slaves the other domain's clocks to
the Xen "wall clock" time that we're setting here, so I haven't even
tried.  But now we can run ntpd in each domain without a huge offset
at boot caused by never updating the wall clock time at all...
2004-07-16 22:36:33 +00:00
dsl
f2fcef0432 'verbose' and 'silent' were switched - correct.
Fixes PR/26283
Also removed 'static int verbose' and passed as a parameter.
2004-07-16 21:35:44 +00:00
mycroft
68e6b1d115 The previous change was not complete. /brick me 2004-07-16 20:08:23 +00:00
drochner
c351eda960 amd64: stack sanity, leave the return PC alone 2004-07-16 18:40:24 +00:00
christos
f6f36c8db2 PR/26339: Pavel Cahyna: the 'fc' command can crash non-interactive ksh
Produce an error message instead.
2004-07-16 18:39:18 +00:00
thorpej
b8b64b05f9 Use ANSI function decls. 2004-07-16 16:11:43 +00:00
wiz
d776e96213 New sentence, new line; drop trailing whitespace; sort sections; use
\*[Lt]\*[Gt] instead of <>; use Dq foo instead of ``foo''; use
standard section headers; fix history: until pulled up, this appeared
in 3.0, not 2.0.
2004-07-16 14:53:13 +00:00
lukem
2b8830ba06 Correctly clamp illegal "SITE CHMOD" mode values. From OpenBSD. 2004-07-16 08:29:28 +00:00
christos
935764b9b1 catch up with darwin new functions 2004-07-16 04:56:30 +00:00
lukem
0cd997a9f7 Fix minor memory leak with fromname. Inspired by OpenBSD. 2004-07-16 03:31:51 +00:00
dyoung
e0ca220c2c Add wlanctl(8), a utility for examining 802.11 node tables. 2004-07-16 03:13:48 +00:00
dyoung
1ac1adff5c Oops, stragglers: install ieee80211_channel.h, ieee80211_sysctl.h. 2004-07-16 03:11:39 +00:00
dyoung
9946103dce Add sysctl access to 802.11 node tables, step #2. 2004-07-16 03:02:41 +00:00