xtraeme
11b3a747bd
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
...
namespace conflict with NetBSD/arc.
Found by tsutsui@.
2007-12-05 00:18:06 +00:00
lukem
d4aed48135
Rename HAVE_STRUCT_SOCKADDR_SA_LEN to HAVE_STRUCT_SOCKADDR_IN_SIN_LEN
...
to accurately reflect the structure member being used.
2007-12-05 00:15:25 +00:00
xtraeme
8533522c01
Enable arc(4), reminded by riz@.
2007-12-04 23:49:46 +00:00
xtraeme
a7f63e6197
Add missing dot.
2007-12-04 23:12:07 +00:00
he
5b4fada2e1
Re-balance a parenthesis.
2007-12-04 22:43:50 +00:00
mjf
d4a648c345
Implement a new magic string for magic symlinks, @ruid, which exapnds to the
...
real user id of the process and use this magic string for per-user tmp.
This should fix PR/35687
Kernel parts reviewed by wrstuden@
2007-12-04 22:09:01 +00:00
pooka
fe819e7531
puffs_req man is dead
2007-12-04 21:26:27 +00:00
pooka
61113f40fd
Part 3/n of extensive changes to message handling:
...
Get rid of the original puffs_req(3) framework and use puffs_framebuf(3)
instead for file system requests. It has the advantage of being
suitable for transporting a distributed message passing protocol
and therefore us being able to run the file system server on any
host.
Ok, puffs is not quite here yet: libpuffs needs to grow request
routing support and the message contents need to be munged into a
host independent format. Saying which format would be telling,
but it might begin with an X, end in an L and have the 13th character
in the middle. Keep an eye out for the sequels: Parts 3+m/n.
2007-12-04 21:24:10 +00:00
xtraeme
e505e7cc51
Use a rwlock(4) for arc_lock/unlock. arc_msgbuf() is too fragile and
...
we want to be sure that only one consumer is using it at a time.
2007-12-04 21:09:56 +00:00
pooka
cf878f1627
add flushops
2007-12-04 20:03:40 +00:00
mgrooms
4454243c5b
Add changelog entries missed in the last commit.
2007-12-04 19:54:24 +00:00
mgrooms
2ada148e80
Modify ipsecdoi_sockaddr2id() to obtain an id without specifying the exact prefix length. Correct a memory leak in phase2. Both submitted by Timo Teras.
2007-12-04 19:52:30 +00:00
pooka
7b59c3d4c2
Add note that this manual should not be trusted to be entirely
...
up-to-date. (and don't bump date to give a hint about the vintage
of reality of the discussion in here)
2007-12-04 19:48:24 +00:00
pooka
c024a3a48f
Add a bit to differentiate if a message is a request or a response.
2007-12-04 19:43:42 +00:00
pooka
661a5edd0a
tyop: reserver -> reserve
2007-12-04 19:40:45 +00:00
pooka
30e5c41557
When scheduling waiters for re-run, remove them from the waitqueue
...
already when scheduling to make sure they're not scheduled more
than once.
2007-12-04 19:31:22 +00:00
xtraeme
b5738c49b6
Enable arc(4).
2007-12-04 18:53:57 +00:00
xtraeme
8e6cf74867
Areca Technology Corporation SATA RAID controller driver, ported
...
from OpenBSD.
arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
bioctl(4) output with two RAID0 volumes:
Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...
Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.
Thank you very much.
2007-12-04 18:47:50 +00:00
dsl
f2af9174b9
Remove all the __P
2007-12-04 18:40:07 +00:00
christos
b831a8ada2
move decls for _malloc_{pre,post}fork() to extern.h
2007-12-04 17:45:07 +00:00
christos
86ef91b80e
- use a non localized version of strerror_r.
...
- kill localized declarations and let namespace.h do its work.
2007-12-04 17:43:51 +00:00
yamt
1ed3981c19
merge non-intrusive nfs changes from vmlocking.
2007-12-04 17:42:30 +00:00
joerg
e982f87297
Expect that src/common/include is in include path and use x86emu/* for
...
the includes.
2007-12-04 17:32:22 +00:00
pooka
2049bce7a5
realloc() len+incr, not offset+incr. Makes space reservation
...
actually work properly.
2007-12-04 17:21:24 +00:00
ad
deb8b3146e
Use atomics to maintain nprocs.
2007-12-04 16:56:16 +00:00
yamt
f078e05288
pthread__mutex_wakeup: ignore ESRCH from _lwp_unpark.
...
once we clear pt_sleeponq, the target thread can proceed further
and even do pthread_exit.
2007-12-04 16:56:11 +00:00
tsutsui
b7b9eda05d
- add a missing brace in the previous
...
- print error message on failure to map aux register
2007-12-04 16:36:54 +00:00
oster
2b8d2018cc
Set "lun = sess->d" early on (but not too early), and allow multiple
...
targets to now work correctly. XXX: This will need to be re-visited
at some point, and fixed properly.
Commit requested by: agc
2007-12-04 16:25:37 +00:00
oster
0fa5922403
Add a '-D' option to allow "Discovery" of the targets provided by a host.
...
Initial support for multiple targets from the same host.
Base 'MaxTargets' on a #define, rather than hard-coding.
Reviewed by: agc
2007-12-04 16:22:38 +00:00
yamt
fc51c23a2d
remove unnecessary assignments.
2007-12-04 16:08:28 +00:00
ad
83caeda725
- Fix the locking around the i8254. Values for the TSC clock and lapic
...
delay function were wildly inaccurate due to multiple CPUs competing
in DELAY() during calibration, confusing the clock chip.
- Use i8254_delay() explictly in a few more places.
2007-12-04 16:05:34 +00:00
xtraeme
05237843cf
Newer nForce MCP SMBus devices use different PCI BARs than the old ones
...
(nForce 2/3/4).
nfsmb(4) is now properly working on newer MCPs, tested by wiz@ on MCP55:
nfsmbc0 at pci0 dev 1 function 1: NVIDIA nForce MCP55 SMBus Controller (rev. 0xa2)
nfsmb0 at nfsmbc0 SMBus 1
iic0 at nfsmb0: I2C bus
spdmem0 at iic0 addr 0x51
spdmem0: DDR2 SDRAM memory, data ECC, 1024MB, 667MHz, PC2-5300
spdmem0: 14 rows, 10 cols, 2 ranks, 4 banks/chip, 3.00ns cycle time
spdmem0: voltage SSTL 1.8V, refresh time 7.8us (self-refreshing)
nfsmb1 at nfsmbc0 SMBus 2
iic1 at nfsmb1: I2C bus
2007-12-04 15:58:11 +00:00
spz
3d1270e2c8
try fixing up broken revision string again
2007-12-04 15:42:05 +00:00
spz
5bfaf1ebca
fix up broken revision string
2007-12-04 15:41:20 +00:00
tsutsui
704f93353b
Apply missed following MI wdc changes to atari's mainbus wdc backend:
...
- make bus space handles an array for each command register
http://mail-index.netbsd.org/source-changes/2003/11/27/0036.html
(note we no longer have to specify stride for wdc after this change)
- add the notion of "shadow register"
http://mail-index.netbsd.org/source-changes/2004/05/25/0048.html
Problem reported by Alan Hourihane in PR port-amiga/37464.
2007-12-04 15:28:58 +00:00
ad
d304f7c89c
- Terminate vmlocking due to collateral damage. h8 cvs/patch/diff.
...
- Note vmlocking2.
2007-12-04 15:18:01 +00:00
tsutsui
2f66d76b2f
Adapt sun68k ports to recent interrupt handling changes.
...
XXX: sun2 (m68010) doesn't have CAS instructions.
2007-12-04 15:12:07 +00:00
bjs
72127ffc00
drm unbreaking, round 1:
...
Fix the bus_dma(9) use in drm_pci.c and chnage struct drm_dma_handle_t
to match it. Remove member dmaaddr from drm_dma_handle_t as well,
as I don't see it used anywhere. Compile-tested only for now; please
report any problems to me. Thanks.
2007-12-04 12:51:13 +00:00
dyoung
73b0c685df
Use IFADDR_FOREACH().
2007-12-04 10:31:14 +00:00
dyoung
5bbde3d775
Use IFNET_FOREACH() and IFADDR_FOREACH().
2007-12-04 10:27:33 +00:00
dyoung
5f717043e5
Use IFADDR_FOREACH().
2007-12-04 10:22:34 +00:00
dyoung
2fae21685a
Reprogram multicast filter after SIOCADDMULTI / SIOCDELMULTI.
...
Fixes IPv6 stateless address configuration problems reported on
tech-net@. Patch tested and found to work by Martti Kuparinen.
2007-12-04 09:22:05 +00:00
ad
bb7ddbf003
rw_vector_enter: assert !cpu_intr_p().
2007-12-04 09:13:59 +00:00
ad
3a2e0f7355
ktd_callout: ktrace_lock can be acquired now.
2007-12-04 09:08:58 +00:00
ad
72bfe5209f
ttysigintr: proclist_lock can be taken now.
2007-12-04 08:57:35 +00:00
skrll
20aefaf533
Improve signal trampoline support by recognising trampolines from previous
...
releases.
2007-12-04 08:38:14 +00:00
ad
7546fcf0ad
softintr_ret: fix it to work properly after yesterday's change to mi_switch.
2007-12-04 08:03:46 +00:00
ad
a33059bb24
A quick-and-dirty test that forces the softclock interrupt to block.
2007-12-04 08:02:24 +00:00
he
a2a6dd1963
Define the various MIPS* CPU macros also for _STANDALONE in addition
...
to for _LKM, so that we don't #error out in that case.
This fixes the build for sgimips boot programs, which wants to use
libkern, which now includes the atomic stuff, which for the mips ports
ends up including this file.
"simonb said OK"
2007-12-04 02:43:48 +00:00
he
1e962f25f7
Correct what must obviously be a cut+paste-induced set of typos.
2007-12-04 01:13:38 +00:00