From owner-freebsd-current@FreeBSD.ORG Fri Jan 23 13:41:59 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDAC4106564A; Fri, 23 Jan 2009 13:41:59 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 9048F8FC0A; Fri, 23 Jan 2009 13:41:59 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (pool-98-109-39-197.nwrknj.fios.verizon.net [98.109.39.197]) by cyrus.watson.org (Postfix) with ESMTPSA id 3C0C446B03; Fri, 23 Jan 2009 08:41:59 -0500 (EST) Received: from localhost (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id n0NDfpGp051549; Fri, 23 Jan 2009 08:41:51 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: "Bruce M. Simpson" Date: Fri, 23 Jan 2009 08:38:35 -0500 User-Agent: KMail/1.9.7 References: <200811191503.02192.jhb@freebsd.org> <200901211536.08297.jhb@freebsd.org> <4979BF48.7010704@FreeBSD.org> In-Reply-To: <4979BF48.7010704@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901230838.35340.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 23 Jan 2009 08:41:51 -0500 (EST) X-Virus-Scanned: ClamAV 0.94.2/8897/Fri Jan 23 07:59:36 2009 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: current@freebsd.org Subject: Re: [PATCH] ppbus/ppc locking X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2009 13:42:00 -0000 On Friday 23 January 2009 7:59:52 am Bruce M. Simpson wrote: > John Baldwin wrote: > > Try http://www.FreeBSD.org/~jhb/patches/ppc_mpsafe_7.patch It is a complete > > backport generated against a fresh stable/7 tree. It does not need the > > interrupt changes since my locking patches actually undo them. > > > > > > After applying this patch to 7.1-RELEASE: > %%% > ppc0: at port 0x378-0x37f irq 7 on isa0 > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/9 bytes threshold > ppc0: [ITHREAD] > ppbus0: on ppc0 > lpt0: on ppbus0 > lpt0: [ITHREAD] > lpt0: Interrupt-driven port > %%% > > ...I tried printing, didn't work, it seems /dev/lpt0 doesn't exist ? Hmm you don't see /dev/lpt0 and /dev/lpt0.ctl via ls(1)? The attach routine creates the devices via make_dev() right after the "interrupt-driven port" message. -- John Baldwin