Commit Graph

210805 Commits

Author SHA1 Message Date
macallan
2320319a93 add another convenience function:
rasops_get_cmap() which returns either the ANSI map or an R3G3B2 map,
depending on the rasops_info handed to it so drivers don't have to
duplicate this particular code snippet
2012-04-19 06:57:39 +00:00
christos
9b0d6930b2 add _pic files 2012-04-18 22:44:43 +00:00
christos
9175dee1fe bad name 2012-04-18 22:42:21 +00:00
bouyer
f1decb173d Regen: Add various newer LSI RAID/SAS controllers 2012-04-18 21:22:26 +00:00
bouyer
69f8b811a8 Add various newer LSI RAID/SAS controllers, from OpenBSD. 2012-04-18 21:21:59 +00:00
bouyer
8574d74b55 Fix KASSERT(): autoconf doesn't run under the KERNEL_LOCK 2012-04-18 20:37:49 +00:00
christos
ca5a32edc2 specify size of the array to help -fmudflap 2012-04-18 19:30:15 +00:00
christos
f03549c50e add mudflap 2012-04-18 19:29:01 +00:00
christos
6e275ac292 add the mudflap include and libraries 2012-04-18 19:22:03 +00:00
christos
6b798f149f move include to the gcc-4.5 subdir. 2012-04-18 19:21:25 +00:00
wiz
d2ca09c94d Bump date for previous.
New sentence, new line; remove trailing whitespace; fix typos;
punctuation nits.
2012-04-18 14:24:26 +00:00
yamt
673662ef94 comment 2012-04-18 13:42:11 +00:00
joerg
e3482212aa Don't depend on implicit enum casts, be explicit. 2012-04-18 13:31:10 +00:00
tsutsui
07a6a7e726 Replace not only space but also '(' and ')' on generating BUILD_PLATFORM
strings to appease shell's echo.
Cygwin's uname -r returns "1.7.9(0.237/5/3)" etc.
2012-04-18 11:28:30 +00:00
martin
91d93016c8 poll(), pollts() and select() all return int values, but in the hijack
emulation of them these get passed as exit values from a pthread as
a void* (c.f. pthread_join(), pthread_exit()).
Do not use the address of an int variable for these, but provide the address
of a void* and assign the value afterwards.
Fixes hijacking of pollts/select on 64bit big endian hosts.
Spotted by and fix from pooka.
2012-04-18 10:37:37 +00:00
bsh
c368cb1d52 adapt to imxclock.c rev 1.5. 2012-04-18 05:54:07 +00:00
christos
f89a1d6f2b NetBSD fixes:
1. thread_self() returns a pointer, not an unsigned integer
2. Add NetBSD to Apple and FreeBSD defines
3. Add _NETBSD_SOURCE where needed
4. Add an extra define BEGIN_PROTECTV for void functions to avoid return
   free(); where free is void.
5. Avoid weak symbol hacks to determine if we are threaded or not. We
   have a threaded copy of the library, why bother?
6. change __attribute -> __attribute__ since the former is not covered by
   our cdefs.h
2012-04-18 02:55:05 +00:00
christos
d0800ba09f add preliminary build glue for mudflap; only the shared libraries work,
the static ones will need us to add __real_foo aliases for a bunch of
functions in libc.
2012-04-18 02:52:07 +00:00
manu
70d8192475 - When using PUFFS_KFLAG_CACHE_FS_TTL, do not use puffs_node to carry
attribute and TTL fora newly created node. Instead extend puffs_newinfo
  and add puffs_newinfo_setva() and puffs_newinfo_setttl()
- Remove node_mk_common_final in libperfuse. It used to set uid/gid for
  a newly created vnode but has been made redundant along time ago since
  uid and gid are properly set in FUSE header.
- In libperfuse, check for corner case where opc = 0 on INACTIVE and   RECLAIM (how is it possible? Check for it to avoid a crash anyway)
- In libperfuse, make sure we unlimit RLIMIT_AS and RLIMIT_DATA so that
  we do notrun out of memory because the kernel is lazy at reclaiming vnodes.
- In libperfuse, cleanup style of perfuse_destroy_pn()
2012-04-18 00:57:21 +00:00
manu
2af7ec529e - Makesure update_va does not change vnode size when it should not. For
instance when doing a fault-issued VOP_GETPAGES within VOP_WRITE, changing
size leads to panic: genfs_getpages: past eof.
-Handle ticks wrap around for vnode name andattribute timeout
2012-04-18 00:42:50 +00:00
martin
ca7d70aa58 While we need an absolute path when loading a module (including the .kmod
extension), we want the shortname w/o extension for the unload.
2012-04-17 21:39:19 +00:00
christos
ec252a38db it is not an error if the kernel needs to clear the setuid/
setgid bit on write/chown/chgrp
2012-04-17 19:15:15 +00:00
rkujawa
3b1a228346 Note clockport support and SilverSurfer driver. 2012-04-17 15:34:51 +00:00
rkujawa
013bef5bf0 Note clockport(4) and a1k2cp(4). 2012-04-17 15:30:35 +00:00
khorben
446efaca9f Added myself to the list of NetBSD Developers 2012-04-17 14:11:59 +00:00
cegger
3f7c493abc print cpu family for AMD CPU families 0x12 - 0x15 2012-04-17 13:00:09 +00:00
macallan
b75a7aad08 fix what has to be a thinko - I doubt there's much hardware out there that
uses BGR in 15/16 bit colour
2012-04-17 12:06:25 +00:00
wiz
71d8b73682 Bump date for previous. 2012-04-17 11:00:43 +00:00
rkujawa
e1a7307087 Note that com(4) is now also supported on top of clockport(4). 2012-04-17 10:55:41 +00:00
bsh
456cfa8109 Support i.MX51's LCD framebuffer on Netwalker.
from Kenichi Hashimoto.
2012-04-17 10:19:57 +00:00
wiz
6c0c790279 Remove trailing whitespace and empty line. Fix table. 2012-04-17 10:16:57 +00:00
wiz
eda83bf290 Remove trailing whitespace. New sentence, new line. 2012-04-17 10:16:37 +00:00
rkujawa
c878064cd3 add a1k2cp(4) and clockport(4) man pages to distribution list 2012-04-17 10:14:12 +00:00
rkujawa
9671b3d53a Add man pages for the new clockport(4) and a1k2cp(4). 2012-04-17 10:12:35 +00:00
rkujawa
c2b6428d4e add missing amiga device names 2012-04-17 10:08:07 +00:00
rkujawa
1bd1939218 regen configs 2012-04-17 10:06:32 +00:00
rkujawa
19eda64f80 Add clockport(4) layer, which provides support for expansion bus present on
Amiga-style clockports. Also add a1k2cp(4) backend driver and the first
clockport device driver com_ss, that supports com(4) on clockport(4)
(particurarly Individual Computers SilverSurfer). Disabled by default,
since probe procedure is not written yet.
2012-04-17 09:59:03 +00:00
bsh
056b7b23a0 driver for i.MX51 Clock Controller Module.
from Kenichi Hashimoto.

Currently used only to get peripheral clock frequencies.
2012-04-17 09:33:31 +00:00
jruoho
f95573c233 Return from main() and use EXIT_FAILURE/EXIT_SUCCESS from stdlib(3). 2012-04-17 09:23:21 +00:00
bsh
6154b5e7e7 add bit definitions for i.MX51 EPIT 2012-04-17 09:12:08 +00:00
wiz
4c92057db4 New sentence, new line.
Sort type descriptions.
Bump date for previous.
2012-04-17 08:28:20 +00:00
bsh
9e881daa93 fix comment 2012-04-17 07:43:21 +00:00
jruoho
ce711fc79d Avoid zero-length format string. 2012-04-17 06:23:52 +00:00
jruoho
681aa38aee Adjust. 2012-04-17 05:18:54 +00:00
tls
8e1a1c9f45 Address multiple problems with rnd(4)/cprng(9):
1) Add a per-cpu CPRNG to handle short reads from /dev/urandom so that
   programs like perl don't drain the entropy pool dry by repeatedly
   opening, reading 4 bytes, closing.

2) Really fix the locking around reseeds and destroys.

3) Fix the opportunistic-reseed strategy so it actually works, reseeding
   existing RNGs once each (as they are used, so idle RNGs don't get
   reseeded) until the pool is half empty or newly full again.
2012-04-17 02:50:38 +00:00
phx
8d59073313 Improved Synology CS/RS support: watch power-state of all SATA drives before
initializing them, configure drive LEDs to reflect SATA activity.
Configure drives on all ATA PCI devices, not only on the first one.
2012-04-16 16:55:29 +00:00
cegger
90a8e71db5 Add rescan support. Re-fixes PR 45268. 2012-04-16 16:07:24 +00:00
nisimura
0bdfa1e561 Preliminary support of TS-TGL/KBT4 power down operation. 2012-04-16 14:30:42 +00:00
joerg
1736013665 Make load_threshold double and restore original value of 0.2.
From NAKAJIMA Yoshihiro.
2012-04-16 10:48:27 +00:00
pgoyette
d61d23dba4 Now that we have amdnb_misc for attaching amdtemp, revert pchb.c revisions
1.27 and 1.32.  This will unbreak the build.

XXX The amdtemp device currently does not seem to provide correct sensor
    values.

XXX The amdnb_misc device does not currently have a rescan capability, so
    the amdtemp module will not instantiate any devices (PR kern/45268
    reappears).

XXX The agp attachment at the same pci device and function (which was
    the motivation for attaching amdtemp at pchb) probably ought to also
    be moved to attach at amdnb_miscbus.
2012-04-16 04:57:42 +00:00