Commit Graph

145276 Commits

Author SHA1 Message Date
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
wiz
6fe30ff19c Whitespace cleanup, fix xref section. 2006-03-28 19:13:04 +00:00
riz
4f135818de Jumbo frames now work under NetBSD, so note it. 2006-03-28 18:32:49 +00:00
riz
fee50493a2 Add jumbo frames support, from OpenBSD (mcbride). As seen on tech-net
for the last N months.
2006-03-28 18:29:42 +00:00
gdamore
dc7ac4a98c Added kernels for AR531X, DBAU1500, DBAU1550, and MTX-1. 2006-03-28 18:18:12 +00:00
shige
c4e1d3e7c7 Add OMSAL400. 2006-03-28 18:00:30 +00:00
ginsbach
a8cd0ffcee - Change where variable substitution is done when processing traditional
include statements so that if a variable expands to more than one file
  name make will "do the right thing".
- Add additional debug print

Reviewed by christos.
2006-03-28 17:41:35 +00:00
thorpej
39cd836ee1 Use device_unit(). 2006-03-28 17:38:24 +00:00
thorpej
d717ea85c2 Use device_is_a() and device_unit(). 2006-03-28 17:32:20 +00:00
thorpej
da6fcd553b Add a comment indicating that the cpuid (derived from the autoconfiguration
unit number of the CPU) should be cached in the cpu_info.
2006-03-28 17:25:11 +00:00
thorpej
5e2428ba9d Use device_is_a(). 2006-03-28 17:23:21 +00:00
thorpej
11c16d3717 Use opb_instance instead of dv->dv_unit when checking if we should set
the mac-addr property.
2006-03-28 17:22:15 +00:00
shige
2295adc429 Don't configure the aurtc device. 2006-03-28 16:56:50 +00:00
gdamore
203fcf4dc2 Use todr_attach. 2006-03-28 16:52:35 +00:00