chs
7a0d577e38
put RAS_DECL() back to declaring a function by default (since SH5
...
requires that). instead, allow <machine/types.h> to override the
default definition and do so on hppa.
2004-07-19 03:12:31 +00:00
chs
6686a4e466
include bsd.own.mk so this builds again.
2004-07-19 01:41:26 +00:00
heas
420275788e
Collect and save the FFB DAC version, which will be needed for the h/w cursor
...
since the Elite3d's logic is reversed. From FreeBSD.
Fix comments in wsdisplay_accessops initialisation.
2004-07-19 01:04:35 +00:00
heas
381b4b602e
Add comments for a few of the FFB registers.
...
From FreeBSD.
2004-07-19 01:00:48 +00:00
heas
f509a0a9b2
If we are serial console, insert a delay just after switching from prom
...
i/o functions to talking to the sab directly, allowing any residual prom
output to drain. There does not appear to be a prom "flush" function.
Adresses PR 26226.
2004-07-19 00:28:42 +00:00
chs
4ee5744873
add decl for hppa_ras(). de-__P.
2004-07-18 23:31:26 +00:00
chs
0d86a5cd52
add hppa support for RAS, context stuff, siginfo and scheduler activations:
...
- add a RAS hook in cpu_switch().
- fill in the definition of struct mcontext.
- implement cpu_upcall(), cpu_getmcontext(), cpu_getmcontext() and
cpu_switchto().
- for now, force the right priviledge bits and space regs in setcontext().
- use correct values for __SIMPLELOCK_*.
- move the user stack to start at a multiple of the pthread stack size
so that libpthread can use the sp-masking trick.
2004-07-18 23:21:35 +00:00
manu
f58d4a42e1
bugfix: vm_copy was only copying the first page
2004-07-18 23:19:52 +00:00
chs
52abce8499
declare RAS labels as "const char foo[]" instead of functions.
...
on hppa, function pointers are funky so let's just avoid them here.
2004-07-18 22:34:21 +00:00
chs
423159120b
add support for hppa to the MI scheduler activations kernel code:
...
- on hppa the stack grows up, so handle that using the STACK_* macros.
2004-07-18 21:29:26 +00:00
chs
775b2834d6
remove unneeded include.
2004-07-18 21:26:52 +00:00
chs
38cf5bc322
add a no-op default value for _UC_UCONTEXT_ALIGN if MD code doesn't set it.
2004-07-18 21:26:00 +00:00
chs
08abf06dcb
expose the STACK_* macros to userland if __EXPOSE_STACK is defined.
2004-07-18 21:21:34 +00:00
chs
611ac30047
use mi_userret().
2004-07-18 20:57:34 +00:00
chs
807ed3c6d2
store the kernel stack pointer for a sleeping LWP in its PCB instead of
...
in its trapframe. this is needed for scheduler activations, so that we can
change the user stack pointer via the trapframe. from openbsd.
2004-07-18 20:27:11 +00:00
yamt
4374881880
fix typos. PFIL_HOOK -> PFIL_HOOKS
2004-07-18 11:37:38 +00:00
yamt
7fcbdfb1fe
pfil_run_hooks: don't dereference 'mp' unless it's a pointer.
2004-07-18 11:36:04 +00:00
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
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
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
petrov
b0a06b6467
Update uvmexp's traps and syscalls. Reviewed by Jason Thorpe.
2004-07-17 04:56:31 +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
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
mycroft
68e6b1d115
The previous change was not complete. /brick me
2004-07-16 20:08:23 +00:00
christos
935764b9b1
catch up with darwin new functions
2004-07-16 04:56:30 +00:00
dyoung
9946103dce
Add sysctl access to 802.11 node tables, step #2 .
2004-07-16 03:02:41 +00:00
dyoung
cb049b8c75
Add sysctl access to 802.11 node tables, step #1 .
2004-07-16 03:01:09 +00:00
dyoung
22b2f98500
Move ieee80211_channel definition and channel flags into
...
ieee80211_channel.h, step #2 .
2004-07-16 02:57:32 +00:00
dyoung
d5a069fe39
Move ieee80211_channel definition and channel flags into
...
ieee80211_channel.h, step #1 .
2004-07-16 02:56:50 +00:00
dyoung
74d2bb365f
Straggler: *really* chain the ieee80211coms.
2004-07-16 02:54:05 +00:00
dyoung
e5c3be4f90
Send "no carrier"/"active" indications on the routing socket when
...
(most) 802.11 interfaces change state.
2004-07-16 02:38:34 +00:00