martin
b23c5d4038
Fix "target" calculation (for the sake of matching OF path names) for
...
atapi cdrom drives - we need to add an offset if the whole atabus is
the second ata bus on the controller since firmware adds 2 to the
target in this case. Avoids a bogus match of cd0 if booting from wd0 on
a U5/U10 (both connected to the same internal ide controller).
Problem reported by Urban Boquist and Greg Oster.
2008-12-01 00:09:47 +00:00
martin
719a906ef5
As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
...
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.
2008-11-30 18:21:31 +00:00
joerg
dfd7714b8f
Split ffs_blkalloc into a frontend that does inode based consistency
...
checks and a backend that just asserts them. Use the backend in
ffs_wapbl_abort_sync_metadata instead of faking an inode.
2008-11-30 16:20:44 +00:00
christos
82b58f55f0
regen
2008-11-29 23:48:58 +00:00
christos
78b9002948
Add support for the Intel G45 AGP. From Arnaud Lacombe
2008-11-29 23:48:12 +00:00
cube
ff6575a088
Bump to 5.99.4, ppp compressor interface changed.
2008-11-29 23:16:26 +00:00
cube
9f95a5d658
Fix handling of ppp compressor modules, from Andrew Doran's input.
...
- ref count each compressor
- allow {un,}registration of several modules at once
- une RUN_ONCE to make sure the mutex is initialised, because
unfortunately built-in (and bootloader-loaded) modules init functions
are run before pseudo-devices attach (reported by Nick Hudson).
2008-11-29 23:15:20 +00:00
tsutsui
7828361bcf
- don't build compat_linux on alpha until sys/modules/compat_linux/Makefile
...
handles required MD files under sys/compat/linux/arch/alpha
- build exec_elf64 for all 64 bit arch
- use MACHINE_ARCH!="alpha" instead of MACHINE!="alpha" for exec_elf32 check
XXX we have many histrical inconsistent use of amd64 vs x86_64.
2008-11-29 18:41:06 +00:00
isaki
74a27b3322
Rename variables to avoid confusing. forgotten in previous commit.
2008-11-29 06:16:49 +00:00
isaki
03f059cb18
Split device_t/softc. Use aprint*() and device_xname().
...
Not tested. I cannot test now...
2008-11-29 06:02:52 +00:00
isaki
b823d19d77
Split device_t/softc. Use aprint*() and device_xname().
...
Not tested. I don't have its hardware and no response in port-x68k.
2008-11-29 05:59:40 +00:00
jmcneill
61d5be8fc7
Don't select an endpoint with a larger packet size than the maximum for
...
the current video stream.
2008-11-28 23:31:11 +00:00
he
f4b2fe2c8d
Build compat_linux and exec_elf64 for alpha.
2008-11-28 21:17:08 +00:00
elad
67fb7f0d5c
PR/40002: Daniel Horecki: sockstat doesn't work for user with sysctl
...
security.curtain=1
If the kauth call failed, we'd silently continue the loop, but the error
code would remain and eventually "leak" to userspace. Reset the error to
zero when continuing.
Tested by snj@ and myself. Okay snj@.
2008-11-28 18:58:59 +00:00
dsl
e89d05e775
#undef ACTIVE (not ENTER) since that is the variable we defined just above.
...
Noted on port-i386 by Gao Ya'nan.
2008-11-28 18:18:16 +00:00
jmorse
4f7247f185
Modified uvideo_stream_init_desc to correctly calculate max packet size for high speed endpoints.
2008-11-28 17:20:02 +00:00
jmorse
3ce0341c47
Fixed high-speed isoc USB transfers, 64 bit capable host controllers have a different transfer descriptor to non-capable controllers.
...
Added dma-sync of data buffer before scheduling transfers
2008-11-28 17:18:21 +00:00
reinoud
df11d3f1f5
Allow for the exclusive selection of `direct' for rdonly mounts; its disabled
...
for now since its a lot slower than `rmw' access.
For archs that have trouble with `rmw' for whatever reason can so use it as a
scapegoat to allways mount savely rdonly though slower.
2008-11-28 15:29:47 +00:00
reinoud
273d4a49cd
Remove old comment and remove unused calculated variable
2008-11-28 14:33:36 +00:00
pooka
989608d6b7
Tyop: v -> vp. Spotted by Tom's ARM builds.
2008-11-28 10:57:03 +00:00
ad
1a8ada2ed9
exec_add, exec_remove: allow zero entries in case a module provides nothing.
2008-11-28 10:55:10 +00:00
he
5197a6eb44
Copy the sigdebug and sigpid declarations and associated defines
...
for the DEBUG define from machdep.c, so that this builds again.
2008-11-28 09:01:00 +00:00
he
ab0140fc2c
We now also need globals.c from the common libsa.
2008-11-28 08:15:51 +00:00
jdc
b75399d6f2
Add wscons/vcons support for cg3.
2008-11-28 07:57:04 +00:00
pooka
0fa0158c37
Use kmem instead of malloc to avoid hassle with dynamically attaching
...
a malloc type. Makes nfsserver-as-a-module work.
reported on current-users & tested by Geoff Wing
2008-11-28 07:23:22 +00:00
pooka
bd6148602f
g/c unused malloc types
2008-11-28 06:47:08 +00:00
christos
78d77f514f
better error messages, and more messages for DIAGNOSTIC.
2008-11-27 21:36:51 +00:00
pooka
839034650f
* hang all mountpoints from rootvnode in our virtual mount hierarchy
...
* set VV_ROOT for the rootvnode to make getcwd realize it has met
its journey's end
2008-11-27 16:40:40 +00:00
hauke
37bef7c624
Remove various COMPAT_ options for unsupported releases and optional
...
features; remove parallel printer driver.
Bring back pppoe support.
2008-11-27 15:44:04 +00:00
skrll
5e046fc3d9
Print the trapframe pointer in the trace output.
2008-11-27 14:28:23 +00:00
pooka
31b0163f0d
Add nfs server rump library.
...
(not descended into on purpose)
2008-11-27 14:14:30 +00:00
pooka
83f531e6a8
Use struct nfs_fattr in struct flrep instead of uint32_t array
...
acrobatics to get rid of type punning warning.
2008-11-27 14:04:58 +00:00
pooka
35861926cc
Link in a networking domain, required by nfs.
2008-11-27 11:31:59 +00:00
nakayama
b5158d6d2a
No need to dig into mips/conf since mips/conf/Makefile has been removed.
2008-11-27 10:18:08 +00:00
pooka
8fc8f3a7a3
g/c #if 0'd ubc_flush()
2008-11-27 08:46:09 +00:00
pooka
f50af27351
Move more vfs-related vm routines from rumpkern to rumpvfs.
2008-11-27 08:13:15 +00:00
pooka
2ee7b4e103
Remove the whole magic ubc window thingie. All file systems use
...
ubc_uiomove() now, so we can hook ourselves there.
2008-11-27 08:05:27 +00:00
joerg
252f7304b2
Another assym.h dependency.
2008-11-27 01:57:40 +00:00
joerg
d54a83bf7a
- ifconfig down support
...
- ALTQ support
2008-11-26 21:34:07 +00:00
pooka
b4099c3e1d
Rototill all remaining file systems to use ubc_uiomove() instead
...
of the ubc_alloc() - uiomove() - ubc_release() dance.
2008-11-26 20:17:33 +00:00
pooka
23046e71b2
Add a few symbols required by nfsd
2008-11-26 15:04:02 +00:00
pooka
e40a46d006
regen
2008-11-26 15:02:05 +00:00
pooka
3c61b47d93
RUMP some syscalls required by nfsd.
2008-11-26 15:01:17 +00:00
pooka
eaff187ca4
Add dummy pr_ctloutput. I'm sure I had one at some point, since
...
it's required for rump_nfs to work, but I guess I lost it somewhere.
(yes, it should actually be implemented also)
2008-11-26 07:19:48 +00:00
matt
6d863ad603
gpn, not gnp.
2008-11-26 05:30:50 +00:00
matt
ef77c48fb2
Add children of geminiipi
2008-11-26 05:25:27 +00:00
tsutsui
2c79796d32
Use binuptime(9) and emulate 1GiHz (2^30) counter rather than
...
nanouptime(9) and 1GHz counter to avoid extra rescaling.
Suggested and reviewed by kardel@.
2008-11-25 23:10:43 +00:00
matt
17f430185a
u_int32_t -> uint32_t
2008-11-25 22:18:17 +00:00
bouyer
5a3b0bf2c9
npxdna(): even if there's no effective FPU context switch set ci_fpused;
...
FPU will be used and needs to be switched on next context switch.
Fix "panic: npxintr: wrong process" with Xen.
2008-11-25 21:53:50 +00:00
pooka
d6457e83e1
Make sockin radix-capable.
2008-11-25 20:42:01 +00:00