christos
f252e17155
Coverity CID 2486: Fix uninitialized variable
2006-03-29 16:09:53 +00:00
christos
353e39bc1f
Add coverity annotations.
2006-03-29 16:06:25 +00:00
tsutsui
7e2e0fa776
Add a missing parenthesis.
2006-03-29 16:03:37 +00:00
christos
d94e5901c8
Coverity CID 2429: Don't check for NULL after deref.
2006-03-29 16:02:45 +00:00
christos
e4933cdc0d
Coverity CID 2496: Uninitialized var.
2006-03-29 16:01:03 +00:00
christos
cb5d0e69e7
Coverity CID 1199: Unchecked open.
2006-03-29 15:55:57 +00:00
christos
391f06d4af
Coverity CID 2785: Fix memory leak.
2006-03-29 15:53:20 +00:00
christos
c4378122a1
Don't leak memory if RJUST|LJUST is specified. This might fix a whole bunch
...
of Coverity issues, but we'll wait until the next run :-)
2006-03-29 15:51:00 +00:00
christos
85e2f53c41
Coverity CID 2786: Fix memory leak.
2006-03-29 15:44:19 +00:00
rpaulo
a0713f21de
ANSIfy. de-P.
2006-03-29 15:40:49 +00:00
tsutsui
06a7c0b05e
Use device_unit(parent), not device_parent(parent).
2006-03-29 14:34:29 +00:00
bjh21
5c391b1150
Provide a default for MKMODULE.
2006-03-29 13:51:54 +00:00
yamt
01ef02441c
pull the following change from OpenBSD
...
and bump date of the manpage.
date: 2003/09/20 18:15:32; author: millert; state: Exp; lines: +4 -2
Implement hardwareflow varable in tip(1) like Solaris and hf in /etc/remote.
Based on PR 3411 from Matthew Gream
Also document "tandem" variable (XON/XOFF) in tip man page.
2006-03-29 12:37:59 +00:00
cube
c002406624
Fix a broken conditional that confused coverity. It cannot happen, anyway.
...
CID 178.
2006-03-29 09:16:36 +00:00
yamt
29b4acda94
implement splraiseipl() for sun2 and sun3. reviewed by Izumi Tsutsui.
2006-03-29 08:55:40 +00:00
kardel
610b4c0dee
dead code: removed (Coverity NetBSD CID 611)
2006-03-29 07:30:30 +00:00
kardel
d6c06e8308
fix as discussed in NTP Bug 584, Coverity NetBSD CID 1510
2006-03-29 07:19:34 +00:00
thorpej
838ee1e0d9
Use device_private().
2006-03-29 06:51:47 +00:00
thorpej
8fc3572573
Use device_private().
2006-03-29 06:41:24 +00:00
thorpej
92c7bba3df
Use device_private().
2006-03-29 06:28:38 +00:00
thorpej
a48de83500
Fix typo.
2006-03-29 06:25:35 +00:00
thorpej
0bb0418280
Use device_private().
2006-03-29 06:22:38 +00:00
thorpej
35947a37ad
Add a device_private() to return the driver's private data (softc).
...
For now, this just returns the passed device_t (as a void *) because
device softcs currently contain a "struct device" as the first member.
2006-03-29 06:08:16 +00:00
thorpej
78ffd948be
Replace device_locators() with device_locator(), and use it.
2006-03-29 06:00:46 +00:00
thorpej
9dfa94e2e6
Don't sleep on &rx->ra_dev.dv_unit -- sleep on &rx->ra_state instead.
2006-03-29 04:47:13 +00:00
thorpej
2709fdc80e
Remove isp_unit -- it is not used.
2006-03-29 04:43:56 +00:00
thorpej
f5bd442003
Use device_unit().
2006-03-29 04:41:56 +00:00
thorpej
5470d2a488
mpt_pci_link_peer(): Rather than testing if the candidate device is attached
...
with mpt_pci (by comparing the dv_cfattach pointer), check to see if it has
the same parent. If so, then it is guaranteed to have the same attachment
(which is mpt_pci).
2006-03-29 04:32:09 +00:00
thorpej
b9f91d66b8
Use device_is_a() rathern than testing the dv_cfattach pointer.
2006-03-29 04:24:51 +00:00
thorpej
8077f13805
Use device_is_a(), rather than testing the dv_cfdriver pointer.
2006-03-29 04:19:48 +00:00
thorpej
2be6494fc9
Use device_cfdata().
2006-03-29 04:16:44 +00:00
thorpej
ff5e3107c9
No need to check if dv_cfdata is NULL here.
2006-03-29 03:58:48 +00:00
jnemeth
db7b70f433
Fix Coverity issue 891 -- FORWARD_NULL.
...
Approved by christos@.
2006-03-29 01:21:07 +00:00
jnemeth
83f277c49a
Fix Coverity issues 2366 and 2365 -- REVERSE_INULL.
...
Approved by Christos@.
2006-03-29 01:19:51 +00:00
jnemeth
2ad8d2c6cd
Fix Coverity issue 2584 -- USE_AFTER_FREE and issue 889 -- FORWARD_NULL.
...
Approved by christos@.
2006-03-29 01:18:39 +00:00
dogcow
a346ea8793
yet another random i18n file
2006-03-29 01:01:02 +00:00
perseant
0a4e8d80c1
Double-checkpoint on unmount. This ensures that vnodes belonging to removed
...
files are really freed, preventing occasional spurious EBUSY returns from
vflush().
2006-03-28 23:57:41 +00:00
thorpej
cde00d4a4b
Use device_is_a().
2006-03-28 23:22:08 +00:00
pavel
1cf9828fc6
regen (added stf).
2006-03-28 22:03:47 +00:00
wiz
8e0f8a9308
Bump date for previous.
2006-03-28 21:43:06 +00:00
pavel
9f508a304c
regen (added stf).
2006-03-28 21:14:54 +00:00
kleink
944c7fb436
Make <sys/audioio.h> include prerequisite headers; audio(4) was incomplete
...
with regard to required headers, and besides that it also matches Solaris.
2006-03-28 21:12:04 +00:00
rpaulo
83ec5d90cd
regen
2006-03-28 21:11:09 +00:00
pavel
dc1372c547
Add stf to all kernel configs which have INET6 and gif, except the INSTALL
...
ones and those for specific machines of developers. PR 32304.
OK'ed by rpaulo.
N.B. stf is a cloning device, so it still must be enabled by
"ifconfig stf0 create".
2006-03-28 20:58:39 +00:00
riz
4f42a7f631
Add swcrypto(4) to set lists.
2006-03-28 20:54:13 +00:00
riz
ef1e9e4fce
Since the swcrypto pseudo-device is now needed for using the crypto
...
framework without a hardware accelerator card, make sure it has
some accessible documentation.
2006-03-28 20:50:57 +00:00
bjh21
4123cff8a5
Add infrastructure for building real RISC OS relocatable modules, since I've
...
worked out how to do it. boot32 doesn't use this mechanism because converting
it would take a fair amount of effort for little gain at this stage.
2006-03-28 20:45:46 +00:00
bjh21
0b33b40f58
Don't declare HIMEM as a variable if it's a macro already.
2006-03-28 20:40:38 +00:00
agc
2171876d1d
More portability fixes, mainly for Solaris 9.
2006-03-28 20:03:30 +00:00
phil
e3482ab49e
Test the name array sizes before using them.
2006-03-28 19:38:44 +00:00