jakllsch
6f6dd47b49
Convert to C99 types. Make whitespace more consistent.
2010-01-21 23:26:58 +00:00
hubertf
3c3fb74cfa
add/improve a few devices
2010-01-21 23:23:44 +00:00
dyoung
53aaf4795c
Spelling fix: correspoding -> corresponding.
2010-01-21 20:51:31 +00:00
pooka
830034140c
Add static to packdevi() like the local prototype says.
2010-01-21 18:06:38 +00:00
macallan
f716aea43a
get rid of architecture-specific firmware calls to determine the MAC address
...
on sparc(64) and macppc - use device properties instead
tested by myself on macppc and martin on sparc64
2010-01-21 17:40:09 +00:00
martin
cabe7be741
Remove sparc specific code, rely on device properties instead
2010-01-21 16:14:39 +00:00
martin
cfecc310ae
Copy the "shared-pins" property over to device_props as well.
2010-01-21 15:58:32 +00:00
martin
65cc18f336
fix a ref counting leak
2010-01-21 15:56:08 +00:00
tsutsui
766937a0b1
Regen this properly per procedure described in src/tools/compat/configure.ac.
2010-01-21 12:55:04 +00:00
pooka
6cd1fb47bd
remove accidentally committed bit. pointed out by Patrick Welche
2010-01-21 12:02:25 +00:00
martin
eb839ec6d8
Make sure to not provide the global ethernet address for add on
...
interfaces w/o FCode (the respective driver will know what to do).
2010-01-21 11:43:20 +00:00
martin
38619af42b
Split the part out of prom_getether() that deals with the local
...
firmware device node into a new function.
2010-01-21 11:40:01 +00:00
jruoho
791571cbd1
In preparation for upcoming changes:
...
* Provide proper definitions and use these.
* Clarify the evaluation of _STA.
* Mark the state of a sensor according to the return value from _STA.
* Share the basic object evaluation in _BIF and _BST.
* Verify the object types before using the objects.
* Be aware of bogus values from _BIF and _BST, as noted in the
specification.
Despite of the list, functional change should be minimal. Ok pgoyette@.
2010-01-21 08:57:17 +00:00
msaitoh
8ececd13c6
Remove an extra debug printf(). KNF.
...
No functional change.
2010-01-21 08:52:20 +00:00
macallan
8953b23350
make RI_CENTER and RI_FULLCLEAR work with a shadow framebuffer
2010-01-21 05:32:18 +00:00
pgoyette
17d5113226
Remove unnecessary call to kauth_cred_free().
...
This resolves an occassional crash I'd been experiencing as reported on
current-users@
Fix suggested by and OK elad@
2010-01-21 04:40:22 +00:00
dyoung
17096c0d86
Cosmetic: join some lines. Get out early on errors, change
...
switch (...) {
...
error = ...;
break;
}
return error;
to
switch (...) {
...
return ...;
}
2010-01-21 02:53:51 +00:00
dyoung
4cb8eac3b5
All that the activation hook radioactivate() did was to change
...
sc_dying, and nothing in the driver examines sc_dying, so get rid of
radioactivate() and sc_dying.
2010-01-21 02:19:55 +00:00
dyoung
975667d3ea
Take care not to dereference a NULL softc.
2010-01-21 02:14:42 +00:00
simonb
dea9b0fedb
Use TAB as a separator to be consistent with the rest of this file.
2010-01-21 01:59:09 +00:00
pooka
e5b23d6072
Move arch-local variable to a better namespace to make build again.
2010-01-21 01:23:14 +00:00
rmind
f6d80c92e0
pool_cache_invalidate: comment out invalidation of per-CPU caches (nobody depends
...
on it, at the moment) until we decide how to fix it (xcall(9) cannot be used from
interrupt context). XXX: Perhaps implement XC_HIGHPRI.
2010-01-20 23:40:42 +00:00
martin
6d8f3b9e7c
Remove sparc specific code and HME_USE_LOCAL_MAC_ADDRESS hack, instead
...
use the "mac-address" device property if present.
2010-01-20 22:58:37 +00:00
jnemeth
a485eea416
add Buzz Aldrin, second man on the moon
2010-01-20 22:56:59 +00:00
martin
d20519d1b6
Add the mac-address as device property for all network devices
2010-01-20 22:54:22 +00:00
jmmv
74504e4315
Ask the user to enable fetch_pkg_vulnerabilities in /etc/daily.conf right
...
after installation. Automatic changes from sysinst will come later.
2010-01-20 22:24:18 +00:00
jmmv
8026500970
Default fetch_pkg_vulnerabilities to NO and complain if it is set to that
...
value when packages are found (so that the user knows he is not getting the
vulnerability checks).
Why? People is complaining. (And somehow, the argument that NetBSD doesn't
do any network operation by default convinces me that it should continue to
do so.)
But still, I will be adding a question to sysinst to enable/disable this.
2010-01-20 22:19:20 +00:00
tsutsui
9357df271a
Backout previous.
2010-01-20 19:54:07 +00:00
ginsbach
2dfe7f3174
- Fix bug where -o outfile fails when outfile does not exist. Pointed
...
out by Tony Finch.
2010-01-20 19:02:42 +00:00
dyoung
146411a622
Cosmetic: get out of cgdioctl() early. Instead of
...
int ret;
switch (...) {
case ...:
ret = ...;
break;
}
return ret;
write:
switch (...) {
case ...:
return ...;
}
2010-01-20 19:00:47 +00:00
dyoung
c95d6a20b9
Get out of cgd_detach() early on error. Do not call disk_destroy(9)
...
on error, that leaves the cgd_softc in an inconsistent state.
Fixes a crash during shutdown reported by Patrick Welche. Thanks
to Patrick for reporting and for testing the fix.
2010-01-20 18:55:17 +00:00
pgoyette
d03b2461a3
Remove kern_assert.c - it's not needed here cuz it's already pulled in
...
by sys/lib/libkern/Makefile.libkern
OK pooka@
2010-01-20 18:13:40 +00:00
phx
bc6040205b
Have to include rtas.h for NRTAS definition.
2010-01-20 17:12:08 +00:00
drochner
e712404ece
let the previous fix apply to acos rather than atan2,
...
and get rid of #ifdef vax
2010-01-20 16:49:42 +00:00
macallan
efa2da50d8
pass some OF properties as device properties for network devices
...
namely local-mac-address and shared-pins needed by gem
2010-01-20 16:36:55 +00:00
tnozaki
1166d8dc53
PR/42630 asin(2.0) and acos(2.0) doesn't return NaN.
...
reported by NARUSE, Yui -san, Thanks!
2010-01-20 16:31:35 +00:00
martin
ed8549d046
Add the mac address as device property "mac-address" to all devices that
...
look like a network interface.
Also add a boolean "without-seeprom" to all apparently on-board network
interface (which usually have no eeprom of their own on Suns), this
latter can be used to enable driver hacks.
2010-01-20 15:45:52 +00:00
tsutsui
64cc3f120f
Backout previous which breaks build on NetBSD. Pointed out by wiz@.
...
Probably we have to add a check for HAVE_STRUCT_WINSIZE
in src/tools/configure as src/crypto/dist/heimdal/configure does.
2010-01-20 15:03:50 +00:00
wiz
0e068e9935
Fix date.
2010-01-20 14:00:48 +00:00
uebayasi
b833b11a50
Document -t (modify mtime). Bump date.
2010-01-20 13:50:27 +00:00
tsutsui
ad30688c11
Don't include src/include heimdal/roken.h on tools build because
...
it's "an OS dependent, generated file" configured for the target NetBSD
as noted in itself. Instead, include <roken-common.h>
(which is included from generated <roken.h> and required
for TRUE and fALSE definitions) and "nbtool_config.h" on tools build.
Fixes PR toolchain/41435 and makes cross build on Cygwin-1.7 work.
No particular comments in the PR.
2010-01-20 12:54:17 +00:00
pooka
01080eaeac
add bpf.9 manpage
2010-01-20 12:14:00 +00:00
pooka
b2f1bec003
bpf.4 did not change. point entry to the newly-born bpf.9
2010-01-20 12:12:09 +00:00
pooka
1ca57fc3a6
add short description for bpf.9
2010-01-20 12:09:39 +00:00
yamt
44972f323c
- remove unnecessary and confusing initialization of sess->d.
...
- add an assertion.
2010-01-20 11:50:28 +00:00
plunky
7d4f77f20f
Clean up the build framework for pcc
...
- use <bsd.init.mk> to include <../Makefile.inc> files
- add Makefile.inc files that pull in appropriate build settings
- fix the LIBEXECDIR definition (should have trailing /)
- make cc.1 install as pcc.1 to match the binary
- use YHEADER= to build the yacc headers
- general consistency tidy up
2010-01-20 11:45:54 +00:00
yamt
6b4ef1c2b1
implement REPORT LUNS for non-zero LUNs correctly.
2010-01-20 10:33:08 +00:00
tonnerre
9956b4e182
Signedness bug/crash in azalia and hdaudio. Fixes PR 42604.
...
By Pierre Pronchery.
2010-01-20 09:05:12 +00:00
wiz
57fc1b40ea
Remove trailing whitespace.
2010-01-20 07:33:25 +00:00
wiz
f75feb6eff
bpf -> bpf(4)
2010-01-20 07:31:59 +00:00