Add SB800+ SMBus support to piixpm.

2011-04-23 Thread Brynet
I sent this accidentally (..and mangled) a few minutes ago, so, here it is again.. allows iic(4)/spdmem(4) to attach on my laptop. Works for me, let me know if there is a better way. -Bryan. Index: dev/pci/piixpm.c === RCS file: /cv

[no subject]

2011-04-23 Thread Brynet
Index: dev/pci/piixpm.c === RCS file: /cvs/src/sys/dev/pci/piixpm.c,v retrieving revision 1.35 diff -u -r1.35 piixpm.c --- dev/pci/piixpm.c9 Apr 2011 04:33:40 - 1.35 +++ dev/pci/piixpm.c24 Apr 2011 03:16:31 - @@ -

ld.so speedup for large binaries with many shared libraries

2011-04-23 Thread Dale Rahn
Here is a diff that was originally hatched at c2k10 and finally implemented at k2k11. This has been tested lightly so needs to be tested on all systems with big and small programs. On some machines this can shave 15% off of the startup time of large applications with lots of dynamically loaded lib

Re: Radeon HD5450

2011-04-23 Thread Mark Peoples
On Sun, Apr 03, 2011 at 08:37:08AM -0400, Mark Peoples wrote: > The following along with an update to xf86-video-ati-6.14.1 gets me some very > sexy 1920x1080 on my Radeon HD5450 the xorg driver part getting updated probably isn't going to happen any time soon, but can the pci bits go in? thanks

%ls and %lc for vfprintf()

2011-04-23 Thread Stefan Sperling
This patch implements the %ls and %lc format directives (wchar_t * and wint_t arguments, respectively). Based on NetBSD and FreeBSD code. The vfprintf(3) man page has wrongly been claiming that we already support them. Because vfprintf(3) is used on ramdisks, the code is #ifdef PRINTF_WIDE_CHAR wh

chio(1) and mt(1) shouldn't use OPENDEV_PART

2011-04-23 Thread Kenneth R Westerback
OPENDEV_PART means "try tacking a 'c' onto the end of the provided device name when opening the device". The tape devices opened by mt and chio don't have 'c' partitions so it's kinda useless to try opening them before just trying the 'bare' provided device. The curious can examine lib/libutil/ope

Re: fsck_ffs: remove support support for old formats

2011-04-23 Thread Kenneth R Westerback
On Sat, Apr 23, 2011 at 12:52:46PM +0200, Otto Moerbeek wrote: > Little feedback on this, > > If you have good reasons to keep the ability to convert and/or check > (very) old ffs on-disk formats, speak up now. > > -Otto Let the old crap molder in the grave and not disturb us. If you want

Re: fsck_ffs: remove support support for old formats

2011-04-23 Thread Otto Moerbeek
Little feedback on this, If you have good reasons to keep the ability to convert and/or check (very) old ffs on-disk formats, speak up now. -Otto On Mon, Apr 18, 2011 at 12:03:38PM +0200, Otto Moerbeek wrote: > Hi, > > this removes the support to check and convert (very) old incarnati

Re: acpithinkpad.c KNF diff

2011-04-23 Thread S. Rodrigues
Changes: - consistent use of \t and whitespace - cleaned some stray whitespace and newlines - fixed one or two lines that were wider than 80 cols - thinkpad_sensor_attach prototype had variable name

acpithinkpad.c KNF diff

2011-04-23 Thread S. Rodrigues
Index: acpithinkpad.c === RCS file: /cvs/src/sys/dev/acpi/acpithinkpad.c,v retrieving revision 1.25 diff -u -r1.25 acpithinkpad.c --- acpithinkpad.c 2 Jan 2011 04:56:57 - 1.25 +++ acpithinkpad.c 22 Apr 2011 17:03:45

Re: ncurses 5.7 update and define USE_SIGWINCH

2011-04-23 Thread Nicholas Marriott
Sorry, I'm lying, it is on by default without --enable-sigwinch. Still, that doesn't mean it's a good idea. On Sat, Apr 23, 2011 at 08:07:00AM +0100, Nicholas Marriott wrote: > Hi > > You need to explicitly configure upstream ncurses with --enable-sigwinch > so many other platforms do not enable

Re: ncurses 5.7 update and define USE_SIGWINCH

2011-04-23 Thread Nicholas Marriott
Hi You need to explicitly configure upstream ncurses with --enable-sigwinch so many other platforms do not enable it either. They must also have been affected when ncurses made USE_SIZECHANGE depend on it. We have never had USE_SIGWINCH on. On Fri, Apr 22, 2011 at 08:24:34PM +0100, Mikolaj Kucha