nicer disklabel -p

2010-08-07 Thread Ted Unangst
1. accept capital letters too, like the interactive -E command does. 2. usage() is not the most appropriate error response. be more helpful. Index: disklabel.c === RCS file: /home/tedu/cvs/src/sbin/disklabel/disklabel.c,v retrievin

if_em.c diff

2010-08-07 Thread Holger Mikolon
In if_em.c rev. 1.239 the hw.revision_id assignment was moved to after call to em_set_mac_type(). However, em_set_mac_type() depends on hw.revision_id being set (is used in a switch statement). Possible fix below. Holger ;-se Index: if_em.c ===

Re: suspend code for all !intagp agp drivers. NEEDS TESTING

2010-08-07 Thread J.C. Roberts
On Fri, 6 Aug 2010 14:34:22 +0100 Owain Ainsworth wrote: > > Other than intagp, pretty much every agp driver is almost identical, > with only small details differing. Unlike intagp, the ptes are not in > a BAR, but in dma memory. so this diff just repeats every register > setting that we do on att

ACPI systems without legacy mode

2010-08-07 Thread Nathanael Rensen
Some ACPI systems do not support legacy mode and do not provide an smi_cmd port within the FADT. This is mentioned in the following: http://www.acpi.info/DOWNLOADS/ACPIspec40a.pdf (p119, SMI_CMD) http://wiki.osdev.org/ACPI (Switching to ACPI Mode) OpenBSD aborts ACPI initialisation if the FADT do

Re: Suspend/resume working great on a Lenovo ThinkPad T500

2010-08-07 Thread Theo de Raadt
> Suspend and resume works on my laptop with -current built last > night. In fact, it works fan-fucking-tastically: better than any of the > Windows laptops or MacBooks I've ever had! I am always astounding how high people's tolerance is for bad bugs. We've got tons of bad bugs. So do the other