From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 5 08:39:47 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4635137B401 for ; Sat, 5 Jul 2003 08:39:47 -0700 (PDT) Received: from castle.jp.FreeBSD.org (castle.jp.FreeBSD.org [210.226.20.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F5C94401E for ; Sat, 5 Jul 2003 08:39:46 -0700 (PDT) (envelope-from akiyama@jp.FreeBSD.org) Received: from localhost (castle.jp.FreeBSD.org [2001:218:422:1::15]) h65FdfY89247; Sun, 6 Jul 2003 00:39:41 +0900 (JST) (envelope-from akiyama@jp.FreeBSD.org) Date: Sun, 06 Jul 2003 00:39:37 +0900 From: Shunsuke Akiyama To: "M. Warner Losh" In-Reply-To: <20030704.221750.06521740.imp@bsdimp.com> References: <20030704003916X.akiyama@jp.FreeBSD.org> <20030704.221750.06521740.imp@bsdimp.com> User-Agent: Wanderlust/2.10.0 (Venus) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.4 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Message-Id: <20030706003938H.akiyama@jp.FreeBSD.org> X-Dispatcher: imput version 20030322(IM144) Lines: 31 cc: freebsd-hackers@freebsd.org Subject: Re: USB, select/poll for ucom X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2003 15:39:47 -0000 Hi, At Fri, 04 Jul 2003 22:17:50 +0900 (JST), M. Warner Losh wrote: > Hello akiyama-san. It is Warner. Long time since I've spoken with > you. :-) :-) > In message: <20030704003916X.akiyama@jp.FreeBSD.org> > Shunsuke Akiyama writes: > : + s = spltty(); > : + > ... > : - > : - s = spltty(); > > This is a no-op in current. Have you tested it in 4.x? I think it is > right from what I recall about 4.x, but this stuff has always been > black magic to me. I think the other changes look OK, but haven't > tested them with my serial adapter or my umodem phone. I'm not yet tested. But please look sys/dev/sio/sio.c:sioioctl() in current, spltty() is still there. I think it required in ucom too. -- Shunsuke Akiyama akiyama@jp.FreeBSD.org akiyama@FreeBSD.org