tsutsui
02cb47cab2
Split softc and device_t for zsc(4) and its children.
...
XXX we should restructure MI APIs and make it really machine independent.
2008-03-29 19:15:34 +00:00
skrll
38b9530a91
Fix unsed variable when DEBUG isn't defined.
2008-03-29 18:49:13 +00:00
matt
32d5b0e7f0
Fix more direct references to cd_devs to device_lookup_private
2008-03-29 17:55:35 +00:00
matt
73cb9d1894
Don't use device_private on xx_cd.cd_devs[n],
...
use device_lookup_private(&xx_cd, n) instead.
2008-03-29 17:52:46 +00:00
wiz
18ba1efdd8
Install /usr/include/gssapi.h; this file is needed since applications
...
using Heimdal expect ``#include <gssapi.h>'' to work in combination
with the ``krb5-config --cflags'' output.
Ok mlelstv.
2008-03-29 17:51:42 +00:00
matt
3504316292
Don't use device_lookup to get softc, use device_lookup_private.
2008-03-29 17:51:08 +00:00
kiyohara
1368789634
Sorry forgot.
...
Split device_t/softc, and cosmetic change.
2008-03-29 17:50:36 +00:00
jmcneill
b3ac884c36
Add RCSID to top of file.
2008-03-29 17:40:22 +00:00
ad
75ffa7cd83
Make TCICDEBUG / TCICISADEBUG compile.
2008-03-29 17:36:45 +00:00
ad
72afc67c95
Check the status registers for garbage before wasting seconds trying to
...
reset a board that isn't present.
2008-03-29 17:27:50 +00:00
ad
625a7a611a
Waiting 5s for the card to reset during probe is not cool!
2008-03-29 17:13:03 +00:00
dholland
5b571a159f
Add a note clarifying that getprogname() results are not trustable in a
...
setugid environment. Prompted by PR 38327 discussion.
2008-03-29 16:51:40 +00:00
ad
bd1204e3c8
Make it compile again.
2008-03-29 16:36:14 +00:00
kiyohara
64e7d595e1
Split device_t/softc.
...
And cosmetic change.
2008-03-29 16:22:53 +00:00
tsutsui
9826f6af3a
- don't forget to set sc_dev
...
- use aprint_*() variants
2008-03-29 15:59:57 +00:00
skrll
c36ab687e9
Tidyup the attachment of various devices in the same way as OpenBSD and
...
use the same name.
Must have been funny to someone.
2008-03-29 15:59:25 +00:00
tsutsui
9dd0b2634a
Remove an extra newline added in rev 1.18.
...
It will be put in the following clockattach().
2008-03-29 15:59:03 +00:00
chris
a3aadfe6ff
Fix LOCKDEBUG build on arm by:
...
* converting simple_{un}lock to mutex_enter/exit
* Using UVM_OBJ_INIT & DESTROY for the uvm_object in the pmap structure
2008-03-29 15:52:09 +00:00
skrll
5886a5273b
Need to pull in kobj_machdep.c for options MODULAR
2008-03-29 15:34:19 +00:00
reed
99fa634a69
Reset DHCP values before use. If you first chose DHCP, then later
...
chose manual, the generated rc.conf has dhclient details instead
of defaultroute. (Noticed this when dhclient ran successfully,
but network failed so I entered network settings manually.)
Now only defines dhclient rc.conf variables when DHCP is used
else defines the defaultroute.
2008-03-29 15:19:53 +00:00
tsutsui
e9abc1656c
Fix typo.
2008-03-29 14:34:13 +00:00
jmcneill
2bd589c8a4
Fix paths in CODE REFERENCES section.
2008-03-29 14:12:59 +00:00
ad
bd9b59aafe
selwakeup: convert a while() loop into a do/while() since the first test
...
isn't needed.
2008-03-29 14:08:35 +00:00
ad
96a6231c10
callout_halt: remove unneeded extern decl.
2008-03-29 14:07:23 +00:00
he
73e50f111b
Do like the non-__OPTIMIZE_SIZE__ variant, and compile memset() unless
...
BZERO is defined, instead of requiring MEMSET to be defined.
Avoids violating the principle of least astonishment, and also fixes
the build of stand/ and kernels for (at least) alpha.
2008-03-29 14:03:22 +00:00
ad
c7e03d2b58
callout_destroy: fix assertion to not fire when a callout is destroying
...
its own handle. PR kern/38324.
2008-03-29 14:00:55 +00:00
yamt
9230a9b039
ansify. from Christoph Egger.
2008-03-29 13:48:00 +00:00
jmcneill
2529ffb3cf
Fix printf in ACPI_DEBUG case, pointed out by mlelstv@
2008-03-29 13:33:12 +00:00
yamt
c585603ac5
route_intr: fill a correct member of sockproto. (sp_family -> sp_protocol)
2008-03-29 13:00:43 +00:00
tsutsui
64c8120f2a
Fix wrong type.
2008-03-29 12:51:49 +00:00
he
a58a2cddc0
Make the size-optimized memset() actually conform to the man page
...
by returning the first arg.
2008-03-29 12:25:32 +00:00
mjf
e523c765c2
Add lii.0. Pointed out by mlelstv@
2008-03-29 12:03:47 +00:00
apb
cd12700971
If SHELL_BUILTIN is defined (as will be the case when building external
...
builtins such as the printf command), then hide a few declarations.
This allows the shell to build again, fixing a problem with
"error" being declared as a function here, and as a variable in
.../usr.bin/printf/printf.c.
2008-03-29 09:58:00 +00:00
apb
d6d9ccc8ad
* define SHELL_BUILTIN, which other headers may use to hide some of their
...
symbols if appropriate. For example, error.h will use it to hide
declarations that should not be seen by external builtins such as printf.
* The shell's outfmt() function returns void, but the standard fprintf()
function returns int. Similarly for several other functions that are
redefined via macros in bltin.h. Add a _RETURN_INT macro to do the
necessary conversion.
* Delete some declarations that appear in error.h.
* Add comments on some #else/#endif lines.
2008-03-29 09:55:40 +00:00
apb
074a931bf5
Remove trailing ';' in definitions of out1c and out2c macros.
2008-03-29 09:49:52 +00:00
ragge
a24df7ca50
Include sys/param.h before file.h, to avoid redefinition of MIN.
2008-03-29 09:40:41 +00:00
blymn
ec0989aac6
Remove erroneous byteswap of flags - the flags are byteswapped when
...
assigned to the tx struct.
2008-03-29 09:38:42 +00:00
blymn
7c7e3e8c0d
Clean up trailing whitespace.
2008-03-29 09:36:29 +00:00
tsutsui
30a5080cfd
One more missed file on migration of struct device sc_dev -> device_t sc_dev.
2008-03-29 09:16:19 +00:00
tsutsui
8d17a1295b
Split softc/device_t for oosiop(4) and osiop(4), with misc cosmetic changes.
2008-03-29 09:11:35 +00:00
mlelstv
23aa31d043
PPC systems predating prep and running the mvmeppc port
...
have compatible hardware.
2008-03-29 09:01:35 +00:00
tsutsui
7b2990dafa
- split softc/device_t
...
- adjust attach messages for sbdio devices
- misc cosmetics
2008-03-29 08:14:40 +00:00
tsutsui
92c1d7b259
Fix thinko.
2008-03-29 07:35:04 +00:00
tsutsui
33ce2fbee5
Fix wrong type.
2008-03-29 07:20:01 +00:00
tsutsui
440f7c7b53
Split device_t/softc, and misc cosmetic changes.
2008-03-29 06:47:07 +00:00
tsutsui
58561d05b5
Use CFATTACH_DECL_NEW().
...
XXX: this one looks a bit strange because it's attached via nvram_pnpbus.c
2008-03-29 06:16:54 +00:00
tsutsui
d54d70b6a7
We have to use device_private() to get softc from cd_devs[].
2008-03-29 06:13:44 +00:00
tsutsui
d062717c3f
Don't forget to set sc_dev.
2008-03-29 05:48:33 +00:00
tsutsui
4090172b20
Don't forget to initialize sc_dev.
2008-03-29 05:42:45 +00:00
dholland
19f2a45a44
Correct/clarify the default setting of USETOOLS in the previous version.
...
Noted by apb.
2008-03-29 05:22:42 +00:00