dyoung
b579a81e92
Use ifa_insert(), ifa_remove().
2007-12-06 00:28:36 +00:00
dyoung
7a3c43874a
Add ifa_insert() and ifa_remove() that add/remove an ifaddr to/from
...
an interface and increase/decrease its reference count.
2007-12-06 00:23:09 +00:00
agc
06a857cac5
Add some definitions necessary for building on busybox thanks to Peter
...
Eisch, update to version 20071206, and run autoconf and autoheader
again to regenerate the version information.
2007-12-06 00:08:05 +00:00
dyoung
b8f324fabd
Extract common code, creating a subroutine if_purgeaddrs(ifp,
...
family, purgeaddr) which applies function `purgeaddr' to each
address on `ifp' belonging to `family'.
2007-12-05 23:47:17 +00:00
gmcgarry
11f250300f
Fix locking botch.
2007-12-05 23:20:27 +00:00
dyoung
b039c2dbef
Use IFADDR_FIRST(), IFADDR_NEXT().
2007-12-05 23:00:58 +00:00
dyoung
0bf994db38
Use IFADDR_FIRST() and IFADDR_NEXT().
2007-12-05 22:56:51 +00:00
dyoung
498e382747
Use IFADDR_FIRST(), IFADDR_NEXT().
2007-12-05 22:56:02 +00:00
dyoung
adde197943
Use IFADDR_EMPTY().
2007-12-05 22:51:01 +00:00
dyoung
0ecaa37d9b
Use IFADDR_FIRST(), IFADDR_NEXT(), IFNET_NEXT().
2007-12-05 22:50:00 +00:00
he
cf18b9fe3e
Remove reference to now-obsolete powerpc/softintr.c.
2007-12-05 20:55:26 +00:00
christos
14c8a52580
From Richard M Kreuter, add GLOB_PERIOD.
2007-12-05 20:25:54 +00:00
xtraeme
21d75f870d
Boh! I spoke too soon before, without the rwlock(9) sometimes
...
arc_wait() waits forever, so put it back until I figure any other way
to remove the rwlock(9).
2007-12-05 18:58:00 +00:00
pooka
9bc20dea14
free flushbuffer after use
2007-12-05 18:55:19 +00:00
xtraeme
1b48221099
Use SCSIPI_CHAN_NOSETTLE... the driver doesn't have to wait.
2007-12-05 18:25:53 +00:00
dyoung
550024b13d
Use IFADDR_EMPTY().
...
(This driver should go away, comments indicate that it does not
even compile.)
2007-12-05 18:23:23 +00:00
ad
7d67c53f8d
Minor corrections, from David P. Reese, Jr.
2007-12-05 18:12:09 +00:00
ad
383c1bbc65
Minor corrections.
2007-12-05 18:10:00 +00:00
xtraeme
dc5ade8ebb
Make it use mutex(9) and condvar(9), bye bye spl(9) and tsleep(9).
...
Fully stable with all debugging options turned on, unless someday any
problem appears :-)
2007-12-05 18:07:34 +00:00
dyoung
67637efccc
Add IFNET_FIRST(), IFNET_NEXT(), IFADDR_FIRST(), IFADDR_NEXT(),
...
IFADDR_EMPTY().
Call the IF{NET,ADDR}_FOREACH() macro arguments __ifp and __ifa
instead of ifp and ifa.
2007-12-05 18:07:21 +00:00
pooka
4e38160d4d
Do not "return 1" from kqfilter for errors. That value is passed
...
directly to the userland caller and results in a mysterious EPERM.
Instead, return EINVAL or something else sensible depending on the
case.
2007-12-05 17:19:46 +00:00
he
70568171d3
Bump SYMTAB_SPACE so that it fits again.
2007-12-05 16:59:50 +00:00
christos
1f093d4259
PR/37482: Malcolm Herbert: mtree does not check for getlogin() returning null
...
in spec create
2007-12-05 16:55:29 +00:00
xtraeme
a0c2cca741
There's no need to waste 14 spaces in the third element when the
...
the human output is requested, align it at most 4 spaces.
I'd also make the human output the default but not sure everybody will
agree...
2007-12-05 16:29:48 +00:00
xtraeme
220ed74e1e
- arc_msgbuf: free wbuf and rbuf with the correct type (M_TEMP vs M_DEVBUF)
...
this fixes a panic with debugging options.
- Do not use a callout to refresh sensor data, and make it available
every time someone requests it.
- Enable ENVSYS_FMONSTCHANGED for notifications in the volumes.
2007-12-05 16:02:25 +00:00
xtraeme
507f8b0669
- Remove -D flag... it's useless (it was removed in OpenBSD as well).
...
- Use errx(3) in the appropiate function rather than warn(4) and
returning EXIT_SUCCESS all the time.
- Remove another case where it checks the device passed string will be
the same than in bv_dev.
2007-12-05 14:28:13 +00:00
xtraeme
1de866da81
Do not enforce that passed device string will be the same than the
...
one in bv_dev, which in some drivers like arcmsr(4) it contains the
volume name.
While I'm here, fix the formatting output so that it fits with arcmsr(4),
like:
$ sudo bioctl -h arcmsr0
Volume Status Size Device
arcmsr0 0 Building 698G ARC-1210-VOL#00 RAID5 96% done
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
2 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
3 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
$
2007-12-05 13:26:04 +00:00
tsutsui
ce1de729ff
Restore ipl settings for AV class Macs.
2007-12-05 12:51:49 +00:00
tsutsui
99221a563b
Use TAILQ_FIRST(3) and TAILQ_NEXT(3) macro.
2007-12-05 12:31:25 +00:00
xtraeme
b831aabcdc
Mention arcmsr(4).
2007-12-05 12:30:54 +00:00
xtraeme
415141bdf8
Mention arcmsr(4) in SEE ALSO.
2007-12-05 12:29:55 +00:00
pooka
7d5d7f4ff9
Send a response message for flush operations from the kernel instead
...
of abusing the return value of write(2).
2007-12-05 12:11:56 +00:00
tsutsui
df1fb18927
Use queue(3) macro.
2007-12-05 12:03:08 +00:00
pooka
375257e2a7
Invalidate namecache for a directory only if we've already read it
...
at least once.
2007-12-05 12:01:44 +00:00
yamt
65e70dc43b
include mutex.h.
2007-12-05 12:01:24 +00:00
pooka
ca8fca7bb9
inverse inverse logic
2007-12-05 11:06:05 +00:00
pooka
8dad772fa4
apply previous in a more readable way
2007-12-05 10:13:37 +00:00
yamt
bdc83d4098
g/c uvm_vnp_sync
2007-12-05 09:37:34 +00:00
yamt
83e62acd43
fix UBC_WANT_UNMAP.
...
- check PMAP_CACHE_VIVT after pulling pmap.h.
- VTEXT -> VI_TEXT.
2007-12-05 09:35:46 +00:00
yamt
3a246441d8
add -C to usage.
2007-12-05 09:20:56 +00:00
xtraeme
9d0a9ec5d9
Add arcmsr(4) and aps(4).
2007-12-05 09:10:25 +00:00
ad
73b6db8481
Make it compile.
2007-12-05 08:45:30 +00:00
ad
a0ca06de3d
lockmgr -> mutex
2007-12-05 08:39:46 +00:00
ad
78090667c0
Kill ref to lockmgr in comments (for grep).
2007-12-05 08:34:41 +00:00
ad
a5bdf04ea6
lockmgr -> rwlock
2007-12-05 08:33:23 +00:00
ad
6874e511b7
lockmgr -> mutex
2007-12-05 07:58:29 +00:00
agc
6febf18c31
Quieten gcc - remove an extraneous ',' after the last element in an
...
enumerated type.
2007-12-05 07:23:03 +00:00
ad
5a24480bf8
lockmgr -> mutex
2007-12-05 07:15:53 +00:00
ad
598ab03ad0
Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written
...
for Solaris.
2007-12-05 07:06:50 +00:00
ad
ba369f0439
MUTEX_SPIN -> MUTEX_DEFAULT.
2007-12-05 06:52:27 +00:00