[NEW] ugold(4) driver for Microdia's USB TEMPer variant

2013-03-31 Thread SASANO Takayoshi
Hello, I rewrote patched uthum(4) to new ugold(4) driver. Thanks for advice by yuo@ and deraadt@. The diff for -current's /usr/src/sys is large to send mailing-list, so here is the URL: http://www2192ue.sakura.ne.jp/~uaa/gomitext/2013/20130331/20130331.diff If you want to try ugold(4

add .cvsrc to skel

2013-03-31 Thread Marc Espie
Simple enough. Probably details of options to discuss. This is what I use daily. Index: Makefile === RCS file: /home/openbsd/cvs/src/etc/Makefile,v retrieving revision 1.330 diff -u -p -r1.330 Makefile --- Makefile26 Mar 2013

Re: add .cvsrc to skel

2013-03-31 Thread Stuart Henderson
On 2013/03/31 16:17, Marc Espie wrote: +update -P Do we want -Pd here?

Re: add .cvsrc to skel

2013-03-31 Thread Stuart Henderson
On 2013/03/31 16:17, Marc Espie wrote: +diff -uNp oh, and there is one thing about -p as a default: it increases the chances of a messed-up terminal if the file has binary crap in it, as it does not do any strnvis() or similar.

Re: add .cvsrc to skel

2013-03-31 Thread Marc Espie
On Sun, Mar 31, 2013 at 03:22:01PM +0100, Stuart Henderson wrote: On 2013/03/31 16:17, Marc Espie wrote: +update -P Do we want -Pd here? I'm not sure. I think it would be surprising, especially if you have a partial tree checked out. -P will remove directories where files have been moved

Re: add .cvsrc to skel

2013-03-31 Thread Marc Espie
On Sun, Mar 31, 2013 at 03:26:56PM +0100, Stuart Henderson wrote: On 2013/03/31 16:17, Marc Espie wrote: +diff -uNp oh, and there is one thing about -p as a default: it increases the chances of a messed-up terminal if the file has binary crap in it, as it does not do any strnvis() or

Re: add .cvsrc to skel

2013-03-31 Thread Marc Espie
On Sun, Mar 31, 2013 at 04:32:05PM +0200, Marc Espie wrote: On Sun, Mar 31, 2013 at 03:26:56PM +0100, Stuart Henderson wrote: On 2013/03/31 16:17, Marc Espie wrote: +diff -uNp oh, and there is one thing about -p as a default: it increases the chances of a messed-up terminal if the

Re: add .cvsrc to skel

2013-03-31 Thread Mark Kettenis
Date: Sun, 31 Mar 2013 15:22:01 +0100 From: Stuart Henderson s...@spacehopper.org On 2013/03/31 16:17, Marc Espie wrote: +update -P Do we want -Pd here? I don't. If you have a cvs repository that uses modules and you only check out a single module, -d will actually cause cvs update to

Add alternate power changed event to acpithinkpad.c

2013-03-31 Thread Brian Callahan
Hi tech -- I just discovered that my Thinkpad (Edge E420) sends a 0x6040 event when the power cable is connected or removed. Patch below handles it, works for me. OK? ~Brian Index: acpithinkpad.c === RCS file:

Re: add .cvsrc to skel

2013-03-31 Thread Stuart Henderson
On 2013/03/31 16:46, Marc Espie wrote: On Sun, Mar 31, 2013 at 04:32:05PM +0200, Marc Espie wrote: On Sun, Mar 31, 2013 at 03:26:56PM +0100, Stuart Henderson wrote: On 2013/03/31 16:17, Marc Espie wrote: +diff -uNp oh, and there is one thing about -p as a default: it increases

Re: add .cvsrc to skel

2013-03-31 Thread Marc Espie
On Sun, Mar 31, 2013 at 08:49:03PM +0100, Stuart Henderson wrote: On 2013/03/31 16:46, Marc Espie wrote: On Sun, Mar 31, 2013 at 04:32:05PM +0200, Marc Espie wrote: On Sun, Mar 31, 2013 at 03:26:56PM +0100, Stuart Henderson wrote: On 2013/03/31 16:17, Marc Espie wrote: +diff -uNp

unduplicate udp checksum code

2013-03-31 Thread Alexander Bluhm
Hi, Can we merge the duplicate IPv4 and IPv6 checksum checking code in udp_input() into one block? ok? bluhm Index: netinet/udp_usrreq.c === RCS file: /data/mirror/openbsd/cvs/src/sys/netinet/udp_usrreq.c,v retrieving revision

Re: add .cvsrc to skel

2013-03-31 Thread Alexander Hall
On 03/31/13 16:17, Marc Espie wrote: +diff -uNp yes +update -P I think auto-prune (-P) without auto-add (-d) could be surprising. Personally I'd rather go without this. +checkout -P I'm indifferent here. Being a non-frequent user of cvs checkout on an already checked out tree, I