Commit Graph

177429 Commits

Author SHA1 Message Date
agc
06a360215d Move to /* ... */ style of comments in this code - facilitates running
indent on the code.
2009-01-28 16:54:20 +00:00
martin
02c69332a0 PR install/40506: do not display international characters before we have
selected a proper locale.
2009-01-28 16:31:49 +00:00
christos
687caca4de make this work with an absolute path and explain why. 2009-01-28 16:11:23 +00:00
reinoud
69f4b23bdc Don't claim its an ISO partitioning scheme too early in the label. An MBR
might me there instead.
2009-01-28 15:26:28 +00:00
tsutsui
23c118aa2f - modify a pathname parse function to explicitly return devname and filename
- check floppyboot properly per devname before loadfile(), not in devopen()
- disable LOAD_NOTE on floppyboot to avoid backward seek
- bump revision

Tested floppy boot and IDE boot on Apus2000 with OpenFirmware 2.0.

Fixes PR install/38943 on macppc.
2009-01-28 15:03:28 +00:00
sborrill
25201bad1e Correct PHY types (5 is LP, _not_ N). 2009-01-28 14:49:10 +00:00
nonaka
371e3e9538 device_t/softc split. 2009-01-28 14:15:56 +00:00
nonaka
4c493daea6 don't print cable detect messages. 2009-01-28 14:06:15 +00:00
nonaka
501e4dcfea mention MODULAR. 2009-01-28 13:43:40 +00:00
nonaka
7ef31c0f0f Added SCSI bus and devices. 2009-01-28 13:39:41 +00:00
tsutsui
a3047076ab More WARNSfy in #ifdef NETIF_DEBUG. 2009-01-28 13:10:05 +00:00
nonaka
baf3c7ae33 cosmetic 2009-01-28 11:55:38 +00:00
nonaka
fab8af8b88 -kernel output is set to green.
-symbol is contained.
2009-01-28 11:53:46 +00:00
nonaka
832577f758 It is easy to use it if netbsd-INSTALL isn't gzip'ed. 2009-01-28 11:43:28 +00:00
nonaka
99f6189dca Pass address and intr to pxadmac. 2009-01-28 11:28:00 +00:00
nonaka
ccb4166baa netbsd-INSTALL is copied to installation/kernel instead of binary/kernel. 2009-01-28 11:21:55 +00:00
nonaka
bcb22b31f8 GENERIC is replaced by GENERIC.HOSTUSB. 2009-01-28 11:19:20 +00:00
wiz
c63e1c5ce5 Bump date for previous. 2009-01-28 09:11:16 +00:00
wiz
ce889b3001 Bump date for previous. Sort ERRORS. 2009-01-28 08:57:02 +00:00
lukem
afa4cb0e7f Rework how reading keys functions so that key lookups from hash databases
works again.  (I accidentally broke that in rev 1.15)
Fixes problem noted by Masao Uebayashi.
2009-01-28 05:48:49 +00:00
lukem
1a5f8e0d09 update documentation to reflect reality:
* read mode supports -D for btree
* all modes support -U
2009-01-28 05:31:18 +00:00
roy
91a82603f0 dhcpcd-4.0.8 imported 2009-01-28 05:25:19 +00:00
roy
12dbb39b5a Import dhcpcd-4.0.8
Changes since dhcpcd-4.0.7:
 * broadcast address correctly set for hooks
 * respect renewal time if given but rebind time is not
 * nohook 20-resolv.conf works as well as nohook resolv.conf
 * short hostnames are now sent
2009-01-28 04:46:01 +00:00
agc
8da84dc021 Abstract away all the %zu uses, and use a symbolic constant for them.
With thanks to uwe for the information to make this portable.

Expose the ops_memory_t structure, since we're now using it outside
its own source file.

Various cosmetic changes, mainly for debugging purposes.
2009-01-28 01:29:15 +00:00
agc
ff02cd3e84 Use some symbolic constants where possible - take some of the magic out
of this.

Make the --list-keys command work again.
2009-01-28 01:24:49 +00:00
njoly
f024404c50 Do not call put_type() but use copyout() when returning the message
segments to the user.

ok by rmind.
2009-01-28 00:59:03 +00:00
njoly
73abc6838e Revert the previous packed attribute fix. Instead make netbsd32_time_t
of type netbsd32_int64 which provides a 64-bit value with a 32-bit
alignment.

Suggested by dsl.
2009-01-28 00:43:04 +00:00
njoly
f01722c17f Make netbsd32_timespec/netbsd32_timeval structures packed. This fix an
alignment problem between 64-bit kernel and 32-bit userland versions,
which ended in different structure sizes.
2009-01-28 00:02:39 +00:00
christos
97dd172550 add a couple of include files 2009-01-27 22:36:48 +00:00
christos
e5b8d3235c remove extra variable 2009-01-27 22:00:12 +00:00
christos
decf940784 factor out common reset code. 2009-01-27 21:59:24 +00:00
dyoung
6ebb93d58e Protect against spurious "bnx0: Double mbuf allocation failure!"
panics.

Extract a new function, bnx_add_buf(), from bnx_get_buf().
bnx_add_buf() just tries to add an mbuf to the Rx chain.  bnx_get_buf()
tries to allocate an mbuf, first, and then to add the mbuf to the
chain.  Use bnx_add_buf() to try to put an mbuf that we took off
of the chain back onto the chain, and use bnx_get_buf() everywhere
else.

This change seems to be in keeping with the author's intent, but
it looks like the code broke at some point.

Thanks to Jarle Greipsland, David Dudley, and others for reporting
this bug and for testing patches.
2009-01-27 21:15:38 +00:00
ad
454c144aec Make previous compile. 2009-01-27 21:13:57 +00:00
martin
f055e18205 Centralize fpu exception to siginfo code encoding for all m68k archs,
fixes a failure in the lib/libc/ieeefp/except regression test.
2009-01-27 20:30:12 +00:00
martin
f7d75c4a14 fix include path in previous 2009-01-27 20:12:19 +00:00
martin
071773c11c Move FPSR_ register bit definitions into their own file 2009-01-27 20:03:12 +00:00
martin
2a9360026c The FE_* constants are used verbatim to set the RND field in the FPCR
register - so FE_UPWARD needs to be 3 and FE_DOWNWARD 2 - otherwise
our libc code for fpsetround(), fpgetround() and __flt_rounds() would
need to be adjust (and become slower). This fixes a failure in the
lib/libc/ieeefp/round regression test.

OK: matt
2009-01-27 19:04:39 +00:00
tnn
c7c8fe9828 Fix previous. That should of course be %zu. 2009-01-27 17:15:26 +00:00
christos
f6ce57fa5b fix typo. 2009-01-27 16:53:42 +00:00
christos
7842bfc111 check for memcpy too 2009-01-27 16:50:08 +00:00
christos
49d8963a92 we have memcpy and port.h needs it. 2009-01-27 16:22:58 +00:00
christos
55113bafff Attempt to force resets using two more methods:
1. Reset Control register at I/O port 0xcf9
2. Fast A20 and Init register at I/O port 0x92

Requested by ad@
2009-01-27 16:13:13 +00:00
tnn
b7888d42fa use %zd for size_t 2009-01-27 15:34:39 +00:00
pooka
8b70996e1b * read TCP sockets in cluster-sized chunks instead of IP_MAXPACKET.
(it might be a better to chain a few clusters into the iov
   instead of just one since we are making the syscall anyway)
* don't overwrite the useful error value
2009-01-27 13:40:16 +00:00
skrll
fd24e60b98 From OpenBSD:
apparently my understanding of '{FLT,DBL,LDBL}_{MIN,MAX}_EXP' ahs
been wrong and thus proven by many and there change it back to
what it is meaning explained in http://www-ccs.ucsd.edu/c/float.html .
also fix spmath to use it's own consts instead of (now) off by one
float.h values thus to avoid any kind of binary changes.

Fixes regress/lib/libc/ieeefp/nan
2009-01-27 11:49:54 +00:00
pooka
afe25e2049 Hold softnet_lock only when we need it. 2009-01-27 11:37:42 +00:00
tsutsui
398fb3fdca - use device_t and cfdata_t
- rename variables for readability after device_t/softc split
- use proper pointer types

No binary changes.
2009-01-27 11:26:15 +00:00
haad
a4e585254c Add support for lvm to security script. Backup lvm configuration to /var/backup/lvm with other system backups. Disable lvm check until MKLVM is enabled by default. no objections on tech-userlevel@. 2009-01-27 10:32:18 +00:00
pooka
ac23346377 set error if anonmmap fails 2009-01-27 10:05:08 +00:00
pooka
bd401b81df Instead of dynamically allocating and freeing the rumpuser async
io descriptors, just allocate an array statically and be happy.

Fixes a problem found by Arnaud Ysmal where a descriptor would be
allocated using kmem_alloc(9) and free'd using free(3).
2009-01-27 09:14:01 +00:00