Commit Graph

143097 Commits

Author SHA1 Message Date
dogcow
23c23e5330 add vendor, Zydas, and product Zydas ZD1211 802.11abg 2006-01-27 06:11:58 +00:00
uwe
991ac5aec7 Call freeall() from chain() to match the code for other ofw platforms.
freeall() is a no-op.
2006-01-27 04:53:22 +00:00
uwe
ee90a05a3e Move #ifdef __notyet__ inside freeall() to match sparc and ofppc. 2006-01-27 04:51:47 +00:00
uwe
00323232f7 Sync clean up changes with other copies of ofwboot/alloc.c.
Expand copyright/license by Jason R. Thorpe as in others too.
2006-01-27 04:40:50 +00:00
uwe
cfaf325346 Constify kernel names. 2006-01-27 04:34:38 +00:00
uwe
8499e252a7 Use the same code to create machine, sparc and sparc64 symlinks that
../Makefile.buildboot uses.
2006-01-27 04:29:02 +00:00
uwe
257b602df3 Sync with macppc version. Cosmetic changes mostly. 2006-01-27 04:18:39 +00:00
uwe
3182891154 Tell gcc that startup and stack are used. 2006-01-27 04:11:41 +00:00
uwe
f77271b258 Get rid of unused variables. 2006-01-27 04:01:04 +00:00
uwe
0ccdbf50cf Include relevant libsa headers to make WARNS=4 happy. 2006-01-27 03:58:27 +00:00
uwe
31affa1b85 Return 0 from net_close. 2006-01-27 03:48:15 +00:00
uwe
6c00e44048 Mostly make WARNS=4 happy.
Same object code generated, except for return 0 in devclose.
2006-01-27 03:43:54 +00:00
elad
2f934347d3 remove security node sysctl objects; they are now created using CTL_CREATE. 2006-01-27 03:14:56 +00:00
uwe
bcb1033b34 Make WARNS=4 happy. 2006-01-27 03:11:33 +00:00
uwe
f75f446e52 More constification. 2006-01-27 03:07:31 +00:00
uwe
d9fda226fc Tell gcc that startup and stack are used.
In startup remove declarations of unused symbols.
This file now compiles with WARNS=4.
2006-01-27 02:58:50 +00:00
uwe
f62a1602ab Make -Wcast-qual happy. 2006-01-27 02:54:15 +00:00
uwe
967fd50006 Pull cleanup fixes from sys/arch/shark/stand/ofwboot/alloc.c.
These files are now almost identical.
2006-01-27 02:39:07 +00:00
uwe
fe55d8a997 /* fall through */ -> /* FALLTHROUGH */ 2006-01-27 02:28:36 +00:00
uwe
e12e03530c dealloc is not "only for consistency check", so remove that comment. 2006-01-27 02:26:16 +00:00
uwe
e8574708b0 WARNS=4 2006-01-27 01:57:29 +00:00
uwe
953e50f4f1 Fix logic botch/typo in prom2boot. 2006-01-27 01:55:34 +00:00
uwe
b04e9bed57 Support 'z' (size_t) and 't' (ptrdiff_t) specifiers.
XXX: ptrdiff_t is only ever defined in <stddef.h> and is defined
unconditionally, without the ifndef dance.  Until we have an expert
opinion, abuse intptr_t for the 't' size check.
2006-01-27 01:53:13 +00:00
uwe
090e596149 Don't omit int arguments in the K&R style function definitions. 2006-01-27 01:11:27 +00:00
uwe
0055f82067 Pacify gcc -Wuninitialized.
Use NULL instread of (struct fl *)0 - especically as this file doesn't
define struct fl.

XXX: there are more references in the comments to the struct fl
inherited from libsa/alloc.c.
2006-01-27 01:03:10 +00:00
christos
b85ba082e0 Sprinkle __UNCONST and fix some casts to make this pass WARNS=4
Note, that we cannot fix this properly because it will break the zlib.h API.
2006-01-27 00:45:27 +00:00
uwe
feedf5e952 Add -ffreestanding to CFLAGS directly. 2006-01-26 23:26:20 +00:00
he
b6517c99d5 Add alloc.c to resolove dealloc() (now used from loadfile_elf32).
Compile with -D_STANDALONE and -ffresstanding so that alloc.c from
libsa builds.
2006-01-26 22:39:08 +00:00
he
d65b8691d7 Follow up the rename of in_cksum.c to ip_cksum.c. 2006-01-26 22:26:52 +00:00
he
54701b2f77 Follow up the renaming of in_cksum.c to ip_cksum.c. 2006-01-26 22:16:08 +00:00
bouyer
a23a0139a9 Note support for PDC20571, PDC20575, PDC20579, PDC40718, PDC40719. 2006-01-26 21:05:45 +00:00
bouyer
ae41171480 Add support for Promise PDC2057x SATA/150 Ide controllers.
From FreeBSD, tested by Douglas Wade Needham.
2006-01-26 20:58:52 +00:00
bouyer
35ab8a8cc8 Regen: Add Promise PDC2057x 2006-01-26 20:54:19 +00:00
bouyer
f946f2d85d Add Promise PDC2057x SATA/150 controllers, from FreeBSD. 2006-01-26 20:53:19 +00:00
rpaulo
035f84616e <netinet6/in6_pcb.h> is not needed. 2006-01-26 20:29:33 +00:00
jmmv
1aa1083c54 Cut a too long line introduced during the conversion to lwps. 2006-01-26 20:07:34 +00:00
bouyer
ea223f367a Fif off-by-one error: the last byte of a packet is at offset len - 1,
not len.
Should fix KASSERT panic reported by Mike M. Volokhov on port-xen.
2006-01-26 19:17:25 +00:00
rpaulo
7df4d41aef de-__P() 2006-01-26 18:59:18 +00:00
jmmv
1cd43a0b52 Add a missing space in the usage message. 2006-01-26 17:24:52 +00:00
tsutsui
eb5154bbe3 Add -DLIBSA_USE_MEMCPY -DLIBSA_USE_MEMSET to CPPFLAGS. 2006-01-26 16:52:53 +00:00
tsutsui
7a10e95ea9 free() -> dealloc() for _STANDALONE. 2006-01-26 16:27:43 +00:00
tsutsui
61373eec82 Fix printf warnings. 2006-01-26 16:26:58 +00:00
christos
dfd8bc48f7 PR/32631: Yves-Emmanuel JUTARD: Fix DIAGNOSTIC panic in the pool code. At
the time pool_get() calls pool_catchup(), pp has been free'd but it is still
in the "entered" state. The chain pool_catchup() -> pool_allocator_alloc()
-> pool_reclaim() on pp fails because pp is still in the "entered" state.
Call pr_leave() before calling calling pool_catchup() to avoid this.

Thanks for the excellent analysis!
2006-01-26 15:07:25 +00:00
martin
91378840b8 Add reference to installboot(8), as suggested by Patrick Welche. 2006-01-26 15:05:27 +00:00
christos
e72f06abb2 Add the source directory of zlib in the include paths so that cread.c can
find zlib.h which is needed from <lib/libz/libz.h>.
2006-01-26 14:05:49 +00:00
kleink
4e50f4b644 Need to give the various rpc locks private names (prefixing them with
__rpc_).  Rather than scattering changes around the 3rd-party RPC
code, place them in namespace.h.
2006-01-26 12:37:11 +00:00
is
d155cb6cd4 Print the INET netmask if it is non-contiguous. 2006-01-26 11:35:09 +00:00
peter
408bbbbcc3 Correct cut 'n pasto in comments. 2006-01-26 11:26:29 +00:00
kleink
ce9a62e944 Keep strtodg() in private namespace. 2006-01-26 11:17:38 +00:00
rillig
cd9c32de8b .St -ansiC doesn't know about isascii(). 2006-01-26 11:13:49 +00:00