uwe
310c8e11f2
Claim copyright (per Joerg's request).
2012-06-02 22:15:15 +00:00
mrg
62d6a317f7
enable building with ath* at pci?. it worked but my pci atheros card
...
seems to make netbsd lock up when you try to use it, on at least
ofppc, macppc, amd64 platofrms and last i tried on sparc64, causes
alignment faults. oh well.
2012-06-02 21:47:46 +00:00
dsl
0836a9f544
Add support for unsigned decimal values.
2012-06-02 21:38:09 +00:00
dsl
e21a34c25e
Add some pre-processor magic to verify that the type of the data item
...
passed to sysctl_createv() actually matches the declared type for
the item itself.
In the places where the caller specifies a function and a structure
address (typically the 'softc') an explicit (void *) cast is now needed.
Fixes bugs in sys/dev/acpi/asus_acpi.c sys/dev/bluetooth/bcsp.c
sys/kern/vfs_bio.c sys/miscfs/syncfs/sync_subr.c and setting
AcpiGbl_EnableAmlDebugObject.
(mostly passing the address of a uint64_t when typed as CTLTYPE_INT).
I've test built quite a few kernels, but there may be some unfixed MD
fallout. Most likely passing &char[] to char *.
Also add CTLFLAG_UNSIGNED for unsiged decimals - not set yet.
2012-06-02 21:36:41 +00:00
dsl
d50a2c9fa0
Add a __always_inline
2012-06-02 21:27:51 +00:00
skrll
b0ba536ed5
Whitespace.
2012-06-02 20:50:41 +00:00
roy
b7ddb5da20
Ensure that we request a buffer big enough, although with the current
...
terminfo specification this should never happen.
Correctly return NULL when realloc(3) fails.
2012-06-02 19:10:33 +00:00
christos
632a99a18c
put back missing break;
2012-06-02 18:32:27 +00:00
martin
86b8339d8d
adapt to new reality
2012-06-02 16:52:18 +00:00
mlelstv
7c7e8556c3
avoid namespace pollution when debugging
...
don't panic when printing data for a dead (NULL) connection
2012-06-02 16:52:11 +00:00
christos
cf50f3a20b
the gnu tag name is valid for both type 1 (abi) and type 3 (build id)
2012-06-02 16:48:13 +00:00
christos
fd4605203e
- fix some mallocs not to have casts and specify sizeof(*var)
...
- if the index magic is 0, don't complain, just return an error.
- make dprintfs use __func__
2012-06-02 16:26:24 +00:00
martin
10212e900c
Stopgap fix for PR kern/46463: disallow passing of kqueue descriptors
...
via SCM_RIGHT anxiliary socket messages.
2012-06-02 16:16:16 +00:00
martin
7849de7539
Remove an unused variable
2012-06-02 15:54:02 +00:00
christos
44184cf8bf
PR/46521: Jim Bernard: remove duplicate -o
2012-06-02 15:52:24 +00:00
njoly
f567e6f954
Adjust test for recent atf_machine (amd64) -> atf_arch (x86_64)
...
change.
2012-06-02 14:52:28 +00:00
christos
b779684dca
p->out is always NULL here
2012-06-02 14:37:38 +00:00
christos
13118cd147
PR/46518: Nat Sloss: stbi splash: compressed PNG file causes panic
...
Make the kernel FREE macro behave like the userland free(3), i.e. accept NULL
2012-06-02 14:30:04 +00:00
martin
51747486d1
Nat Sloss in PR kern/46516: advance fb pointer by stride, not logical
...
width of the splash image.
2012-06-02 14:24:00 +00:00
njoly
fd5f5a6e67
Switch from Op to Oo/Oc for nested block.
2012-06-02 14:19:20 +00:00
njoly
4abd1e694d
Add missing El macro.
2012-06-02 14:04:34 +00:00
njoly
9ed150d1de
Adjust 'Video' column width.
2012-06-02 13:54:49 +00:00
njoly
39880f6377
Fix Bl -tag width arguments.
2012-06-02 11:54:07 +00:00
njoly
a3f13c1d14
Kill extra El macro.
2012-06-02 10:25:07 +00:00
njoly
10f0e4d416
Add run(4) cat page.
2012-06-02 10:06:29 +00:00
para
c8f20a5780
add some description about the vmem arenas, how they stack up and their purpose
2012-06-02 08:42:37 +00:00
jnemeth
5a5317f49b
PR/46500 - Henning Petersen -- wrong permissions on create .seq files
2012-06-02 03:32:53 +00:00
jnemeth
220a7d2bb0
add _tss to uid and gid checks
2012-06-01 21:59:06 +00:00
wiz
d0df7c443e
Make HAVE_* define match what configure finds.
...
In particular, this enables usleep(3) (compared to using sleep(3) before).
ok joerg@
2012-06-01 20:28:02 +00:00
rkujawa
cf943d0f86
Add support for PCI_NETBSD_CONFIGURE in empb(4). Continue work on memory window.
2012-06-01 17:41:16 +00:00
martin
9c63b84225
Do not skip the block device mmap test, as it does not crash
...
the kernel any more. Mark it as expected failure instead.
2012-06-01 15:59:21 +00:00
martin
c5f76e4cca
Only use generic readahead on VREG vnodes, the space used to store the
...
context is not valid on other types.
Prevents the crash reported in PR kern/38889, but does not fix the
mmap of block devices, more work is needed (no size on VBLK vnodes).
2012-06-01 14:52:48 +00:00
jdc
6d16a86832
Add a delete key capability to our wsvt25 entry. Fixes a problem noted by
...
David Lord on netbsd-users.
2012-06-01 14:47:06 +00:00
nonaka
c9051a9fd6
Use /libdata/firmware/run instead of /libdata/firmware/rum for run(4) firmwares.
2012-06-01 13:19:38 +00:00
nonaka
6a9737b9fa
Add a dependency on bpf module.
2012-06-01 12:38:25 +00:00
joerg
68a65e1a02
Fix a number of memory leaks. Keep final loop of the cleanup in tic(1)
...
under #ifdef __VALGRIND__ though.
2012-06-01 12:08:40 +00:00
joerg
5fafac093e
Use memcmp in place of strncmp, since length is known to no longer than
...
either of the arguments.
2012-06-01 12:02:36 +00:00
skrll
54d811b02d
Fix t_backtrace.debug entry.
2012-06-01 10:52:38 +00:00
rkujawa
68cabd119e
More work on PCI memory accesses on empb(4).
2012-06-01 09:41:35 +00:00
matt
2ff5436688
Really fix polyf/polyd macros. Now returns expected results.
2012-06-01 06:26:38 +00:00
mrg
8fb03546dc
- add some comments for post-usbmp
...
- basic documentation for:
usbd_clear_endpoint_toggle()
usbd_device2interface_handle()
usbd_interface2device_handle()
usbd_pipe2device_handle()
usbd_interface2endpoint_descriptor()
usbd_endpoint_count()
- usbd_close_pipe() has documentation already
- bump date
2012-06-01 00:16:28 +00:00
joerg
42e529577c
Add void for ttyslot prototype.
2012-05-31 23:11:35 +00:00
joerg
84d44fb884
The output function is only order preserving for chm and chm3, so
...
correct that part of the documentation and also mention what the default
algorithm is.
2012-05-31 21:36:06 +00:00
rkujawa
160a9cb006
Add empb(4) functions to switch memory window position.
2012-05-31 21:29:02 +00:00
joerg
55a1bc2fcb
Always use system zlib. Avoids the need for 32bit build environment when
...
bootstrapping on some Linux distros. We require zlib to be present anyway.
2012-05-31 21:02:02 +00:00
joerg
7b1c18b0f7
Maintain nalias and nterm on the fly.
2012-05-31 21:01:06 +00:00
joerg
18604821d3
One more strdup -> estrdup.
2012-05-31 20:40:05 +00:00
joerg
cff379a94b
Use e* from util.h.
2012-05-31 20:38:19 +00:00
martin
78b7b66d90
Add a (skipped for now) test case for PR 46463
2012-05-31 20:31:07 +00:00
joerg
2b5ab40700
Replace linear lookup with hash table, reducing runtime by 60%.
2012-05-31 20:10:06 +00:00