Commit Graph

138020 Commits

Author SHA1 Message Date
he 1d55d88929 Appease -Wuninitialized by initializing val and uval to 0.
Marked with XXXGCC for hpcarm (found while building for it).

Reviewed (in a slightly different form) by lukem.
2005-06-07 08:53:13 +00:00
skrll 51b20ca033 Fix typo. 2005-06-07 06:27:17 +00:00
pooka 196bfecf4d note arcom viper support in evbarm 2005-06-06 20:28:34 +00:00
pooka d42ccd3441 Add initial support for the PXA255-based Arcom Viper ARM board.
The system can boot into multiuser, but most of the peripheral
driver attachments are still missing.

Thanks go to Jan Nyman for arranging access to the hardware and to
Steve Woodford for reviewing the code.
2005-06-06 20:24:10 +00:00
pooka 7fe36dcdc1 Instead of writing the packet length in two 8bit pieces, use one
16bit write.  At least in certain environments this has the effect
of the latter 8bit write of the length to be not interpreted as
the first 16 bits of the packet contents and hence the interface
working.
2005-06-06 20:20:09 +00:00
jdc e0dc2d1568 Revert previous ('_ncpus' is now 'ncpus' again).
MI variable names have precedence.
2005-06-06 19:56:46 +00:00
dbj 7753d41b8e remove (long) cast on bpref, which is daddr_t 2005-06-06 17:10:25 +00:00
yamt 0e70c535bf tcp_input: don't overload opti.ts_ecr. 2005-06-06 12:10:09 +00:00
yamt 11bfc2d8e1 introduce a macro to initialize uvm_object and use it. 2005-06-06 12:09:19 +00:00
yamt 5ba7cc9aae cs4281_set_params: fix printf format. 2005-06-06 12:08:09 +00:00
yamt 84ebe3241f - xen_network_handler: fix transmit stall. (re)start transmit
after collecting tx buffers.
- some assertions.
2005-06-06 11:51:41 +00:00
yamt 6976dba3a6 fix a typo (NETIF_TX_RING_SIZE <-> NETIF_RX_RING_SIZE) 2005-06-06 11:51:02 +00:00
tron 8e194a59f6 RAIDframe works fine under NetBSD-macppc according to Ian Spray's testing.
Enable raid(4) by default therefore.
2005-06-06 10:39:11 +00:00
thorpej dbe5d1e1f7 Remove bogus BINDIR assignment. 2005-06-06 06:12:09 +00:00
martin 71d020f371 Since we decided "const struct mbuf *" would not do the right thing (tm),
remove ~all const from mbuf pointers.
2005-06-06 06:06:50 +00:00
martin e9f82d8da2 fix typo 2005-06-06 05:20:05 +00:00
martin 4ba4736381 Adapt to ip_encap.h constification. 2005-06-06 04:51:06 +00:00
martin 36c7f61f8f Constify the source arg of m_copydata 2005-06-06 04:50:28 +00:00
christos 57c5a942be add a missing const. 2005-06-06 02:49:15 +00:00
christos d1ff4d2f00 fix a printf format argument type. 2005-06-06 02:48:20 +00:00
christos 578e0f23a2 make this compile again. 2005-06-06 02:47:59 +00:00
wiz b0d70faefb Grammar fix and improvement from jmc@openbsd. 2005-06-06 02:04:03 +00:00
thorpej b1a8db7e02 Use ANSI function decls. 2005-06-05 23:47:48 +00:00
thorpej 30fe14b30e Re-arrange slighty, eliminate prototypes that are unnecessary when using
ANSI function decls with "static".
2005-06-05 23:10:25 +00:00
he eae41d3752 Fix -Wcast-qual warning. 2005-06-05 22:31:40 +00:00
jdc b8c3b4e026 Add volatile to make rtc_{g|s}ettime match todr_chip_handle_t. 2005-06-05 21:31:30 +00:00
jdc a406dfbd14 Rename 'ncpus' to '_ncpus', otherwise we shadow sparc/sparc64's 'ncpus'
when MULTIPROCESSOR is defined.
2005-06-05 21:22:20 +00:00
nathanw d198119b32 Don't shadow global aed_sc with local aed_sc.
XXX there shouldn't be a global aed_sc in the first place; the interface
among ADB devices is terrible.
2005-06-05 20:32:30 +00:00
nathanw dda48d8e5e In ki2c_write() Apply __UNCONST() to the data parameter passed to
ki2c_start(). The same back-end routine does reads and writes, so
there's no real type-safety to be had here.
2005-06-05 20:16:35 +00:00
nathanw 5feb882b89 constify some string arguments and return values. 2005-06-05 20:05:48 +00:00
nathanw a61e9e4fdf Pass NULL instead of (Ptr)0 to maintain function-pointer safety. 2005-06-05 20:04:47 +00:00
nathanw a2c1d78ac7 Rearrange some of the ADB types and void * abuse to make -Wcast-qual
happy in the presence of the "volatile int flag" construct. Fix up a variety
of calls to pass NULL instead of (Ptr)0 to maintain function-pointer safety.
2005-06-05 20:03:55 +00:00
nathanw a3ca1f00ff constify skiplist. 2005-06-05 20:02:01 +00:00
nathanw 30494f81df Fix shadowing of parameter with local variable. 2005-06-05 20:01:36 +00:00
chs 7bbdd188e1 appease gcc -Wuninitialized on hp700. 2005-06-05 19:08:28 +00:00
chs 157d1a93e8 remove sigtramp version 1, we haven't used it in a long time. 2005-06-05 19:02:10 +00:00
chs bb7a930a0b fix function name in end-marker. 2005-06-05 19:01:04 +00:00
wiz 88d9def466 genassym(1), not (8) 2005-06-05 19:00:02 +00:00
wiz d3918ffef7 config(1), not (8) 2005-06-05 18:59:35 +00:00
chs 61549934be adjust for Makefile.mdset changes. 2005-06-05 18:56:51 +00:00
chs b944888e86 install the bootloader in the root of the target fs. 2005-06-05 18:55:30 +00:00
chs 2c1b9670f3 add usr/mdec/boot 2005-06-05 18:54:06 +00:00
nathanw 5774b0f330 Nuke the II and IIsi code from this file; it's never used on a
macppc. Remove variables and macros no longer used as a result.

This driver *still* needs an enema.
2005-06-05 18:49:49 +00:00
thorpej daf3614dbb Remove this version of genassym; nothing uses it. 2005-06-05 18:26:19 +00:00
rjs aa1713b750 Rename shadowing variable. 2005-06-05 18:22:45 +00:00
thorpej 5ecc953bdb config and genassym are not sysadmin tools, they are development tools.
As such, they don't belong in /usr/sbin, but rather /usr/bin.  Move them
there.
2005-06-05 18:19:52 +00:00
he 28063351c0 Adapt to compiling with -Wcast-qual and -Wshadow. 2005-06-05 17:56:31 +00:00
he 745ad09fd4 Adapt to building with -Wcast-qual. Regrettably we have to use
__UNCONST() in one sysctl_lookup() invocation (for now).
2005-06-05 15:43:30 +00:00
he 78fc2f2db7 Remove an unneeded cast and add some consts. 2005-06-05 15:39:17 +00:00
he 34094b7804 Catch up to changes in prototype for a few functions, which changed some
"char*" parameters to "const char*".
2005-06-05 15:36:47 +00:00