Commit Graph

164301 Commits

Author SHA1 Message Date
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
ad
8cd835a351 pool_init, pool_cache_init: hack around IP input processing which can
not yet safely block without severely confusing soo_write() and friends.
If the pool's IPL is IPL_SOFTNET, initialize the mutex at IPL_VM so that
it's a spinlock. To be dealt with correctly in the near future.
2007-12-05 06:52:01 +00:00
ad
b21038696d mutex_init: make MUTEX_DEFAULT + IPL_SOFT* return an adaptive mutex. 2007-12-05 06:50:07 +00:00
ad
e1b5d7773c Add links for softint_* 2007-12-05 05:52:21 +00:00
ad
96f20655cf Sync with reality and supply a large dose of hot air. 2007-12-05 05:49:59 +00:00
ad
d3b027e04e Xr spl(9) 2007-12-05 05:24:28 +00:00
ad
0c655cb964 Note that rw locks can be taken from a soft interrupt handler. 2007-12-05 05:22:22 +00:00
ad
55bfbff8a0 Sort. 2007-12-05 05:20:38 +00:00
ad
6a7a863131 + mutex_spin_enter, mutex_spin_exit 2007-12-05 05:19:34 +00:00
ad
64bd285067 Sync with reality. (Apolgies for moving the goalposts slightly but it took
a long time to decide on and implement the new interrupt model.)
2007-12-05 05:17:53 +00:00
ad
851c98e8ed +splsoftbio(9) 2007-12-05 04:53:19 +00:00
ad
f9ff149878 - See the spl(9) manual page for a description of interrupt priority levels.
- splbio -> splvm
2007-12-05 04:50:49 +00:00
ad
394d36de78 sys/param.h ??? 2007-12-05 04:49:26 +00:00
ad
7ff112988c IPL_BIO -> IPL_VM 2007-12-05 04:48:57 +00:00
ad
be843f3b0a Sync with reality. 2007-12-05 04:47:56 +00:00