pgoyette
dab2b670bf
Format the address/offset of hexdump in hex, not decimal.
...
Addresses my PR bin/41035
2009-03-18 01:28:25 +00:00
he
245ee9af71
Add local declarations of bcmp() and bzero() because libkern.h no longer
...
provides those declarations.
It's possible that these can be removed later when we find out whether
these functions are actually needed in the kernel, but meanwhile, this
allows alpha, hp700 and the powerpc ports (who all build these as part
of libkern) to complete their builds.
2009-03-17 23:42:45 +00:00
reinoud
83969672ba
Fix long standing problem with CD/DVD writing with `dd'. If done this way the
...
device will remain in a wait-for-more-stuff-to-be-written state delaying other
SCSI calls, esp. some read-size or read-layout calls, until its told there is
no more comming.
To fix this, on last close explicitly flush the caches releasing the device
from this mode and allowing other SCSI commands to reach it.
This fixes PR 40528
2009-03-17 21:25:47 +00:00
dyoung
69fbb7297e
Reactivate native compatibility in GENERIC.
2009-03-17 20:04:39 +00:00
he
6dc3c9a69e
Make putchar() conform to the stand.h prototype, so that this builds again.
2009-03-17 19:41:32 +00:00
dyoung
018696dd66
Handle child-detachment by NULL'ing the child pointer so that
...
auich_detach() does not subsequently dereference a dangling pointer.
2009-03-17 19:38:34 +00:00
dyoung
4a8da47938
Expand a lot of macros from sys/dev/usb/usb_port.h.
...
Handle child-detachment by NULL'ing the child pointer, so that
umass_detach() will not subsequently dereference the dangling
pointer.
2009-03-17 19:12:17 +00:00
he
f39d6889ae
Due to the way these files are used, ref. libdos/makedoscalls.awk and
...
libiocs/makeiocscalls.awk, we need a space between the function name
and the parameter list in the declaration.
2009-03-17 18:58:26 +00:00
he
75306d0938
Correct the sense of the test for LIBSA_NO_FS_CLOSE
...
so that this builds again.
2009-03-17 18:43:43 +00:00
dsl
98ae204731
Add some 'int' into function definitions where the K&R one didn't
...
specify a type.
2009-03-17 18:19:15 +00:00
he
62db563030
Re-balance parenthesis in a couple of places.
2009-03-17 10:16:55 +00:00
tsutsui
ce059cd609
Fix bad TCP checksum in packets with IP option header.
2009-03-17 10:10:20 +00:00
lukem
be0c43535f
fix sign-compare issues
2009-03-17 00:52:47 +00:00
msaitoh
50a765e44b
Make it compile without PCI.
2009-03-17 00:51:27 +00:00
he
d44fdcfc47
Introduce LIBSA_NO_DEV_IOCTL, and don't declare ioctl() if it's defined.
...
Also, don't declare the close() function if LIBSA_NO_DEV_CLOSE is defined.
2009-03-17 00:45:46 +00:00
he
cdd90ae5f0
Introduce LIBSA_NO_DEV_IOCTL. Don't declare the ioctl routine
...
if it is defined, and don't declare the close routine if
LIBSA_NO_DEV_CLOSE is defined.
2009-03-17 00:35:08 +00:00
he
62f5486c1b
Make a couple of functions conform to the prototype, restoring buildability.
2009-03-17 00:18:40 +00:00
he
715f7f5caa
Make putchar() obey the stand.h prototype.
2009-03-17 00:13:43 +00:00
joerg
9fb657a571
Match last row to get correct space for the first column.
2009-03-17 00:10:37 +00:00
dyoung
a3bde60951
#include "opt_compat_netbsd.h" for COMPAT_20.
2009-03-17 00:08:10 +00:00
dyoung
1290eea0cb
Add #include "opt_compat_netbsd.h" for COMPAT_09.
2009-03-17 00:01:54 +00:00
he
d6a69143f8
Correct the sense of the check for LIBSA_NO_FS_CLOSE; restores buildability.
2009-03-16 23:46:12 +00:00
dsl
7cc9af7d64
ANSIfy functions with function-pointer arguments
2009-03-16 23:11:09 +00:00
njoly
fd24f7c917
Regen for netbsd32_dev_t.
2009-03-16 20:49:16 +00:00
njoly
0f21bb4a22
Fix dev_t alignment, by not using the new 64bit value directly but
...
rather a 32bit aligned version (netbsd32_dev_t = netbsd32_uint64).
ok by cube@.
2009-03-16 20:48:13 +00:00
uwe
3cb7f28bc2
Don't restrict column width of the last column of the methods table.
...
nroff does the right thing and properly wrap descriptions that don't fit.
2009-03-16 17:30:33 +00:00
uwe
cb8c0f9dba
Add more semantic markup (Dv, Fa, Va, ...).
2009-03-16 16:44:46 +00:00
kleink
09791270e4
Note tzdata2009c import.
2009-03-16 16:43:01 +00:00
kleink
417e8f420a
Update for tzdata2009c.
2009-03-16 16:40:54 +00:00
kleink
bede660ade
Import tzdata2009c.
2009-03-16 16:38:15 +00:00
apb
5f87499b24
tzdata2009c is available.
2009-03-16 14:58:47 +00:00
lukem
07f7688506
fix sign-compare issues
2009-03-16 12:56:19 +00:00
nonaka
f0b5e260c9
Don't use kloader_reboot() when after panic.
2009-03-16 12:54:52 +00:00
lukem
c1237301b3
fix sign-compare issues
2009-03-16 12:52:07 +00:00
tsutsui
38357705f9
Increase size of buffer for humanize_number(3) to print cache sizes
...
so that it can return 128KB, 256KB and 512KB properly instead of
truncated 0MB or rounded 1MB.
Problem reported by nisimura@ on port-amd64 and port-i386.
2009-03-16 12:25:40 +00:00
tsutsui
cbd3c882e5
Note TCPv4/UDPv4 RX hardware checksum support for mec(4) on sgimips O2.
2009-03-16 12:16:44 +00:00
tsutsui
7a44ef30a5
Pull a fix from hme.c rev 1.73 (to #if 0'ed out part):
...
> Fix a bug in calculation of checksum deduction:
> - To get 16 bit one's complement value from uint32_t variable,
> higher 16 bits should be ignored.
> - RFC 1624 describes methods to recalculate checksum field in headers,
> i.e. one's complement of one's complement sum that could be 0x0000,
> but we don't have to use the strategy to deduct one's complement sum
> itself which won't be zero but should be 0xffff.
2009-03-16 12:13:04 +00:00
tsutsui
24a0836984
Fix a bug in calculation of checksum deduction:
...
- To get 16 bit one's complement value from uint32_t variable,
higher 16 bits should be ignored.
- RFC 1624 describes methods to recalculate checksum field in headers,
i.e. one's complement of one's complement sum that could be 0x0000,
but we don't have to use the strategy to deduct one's complement sum
itself which won't be zero but should be 0xffff.
Found on debugging mec(4) on sgimips O2.
2009-03-16 12:02:00 +00:00
nonaka
b8c79d033f
set DALGN register when address is misaligned (PXA27x only).
2009-03-16 11:42:31 +00:00
nonaka
72d2ade5d7
Added DMA Alignment register definition.
2009-03-16 11:32:27 +00:00
lukem
240bf6cd28
fix sign-compare issues
2009-03-16 11:18:10 +00:00
tsutsui
31b444f9ae
Add a dumb RX hardware TCPv4/UDPv4 checksum support.
2009-03-16 09:58:51 +00:00
cegger
05d33dc7bf
ansify function definitions
2009-03-16 09:32:38 +00:00
cegger
962766853c
ansify function definitions
2009-03-16 05:59:21 +00:00
lukem
b4fba76b41
Fix const issues (cast const pointers to "const uint8_t *" instead of "caddr_t")
...
NOTE: change based on ../i386/mdreloc.c 1.27
XXX: not compile tested
2009-03-16 02:46:47 +00:00
lukem
337930db10
Fix const issues (cast const pointers to "const uint8_t *" instead of "caddr_t")
2009-03-16 02:44:47 +00:00
lukem
500db00274
Default to WARNS=4
...
Exceptions that need a lower level are:
getty ld.elf_so lfs_cleanerd makewhatis telnetd tftpd
hpropd ipropd-master ipropd-slave kadmind kpasswdd
2009-03-16 02:24:55 +00:00
lukem
024b6bdcb7
fix sign-compare issue
2009-03-16 02:18:39 +00:00
lukem
c12ec9011a
fix shadowed variable
2009-03-16 01:56:21 +00:00
lukem
7056a59163
fix WARNS=4 issues (const & type mismatches)
2009-03-16 01:13:38 +00:00