From owner-freebsd-arch@FreeBSD.ORG Fri Jul 9 15:11:04 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE6F816A4CE for ; Fri, 9 Jul 2004 15:11:03 +0000 (GMT) Received: from imap.univie.ac.at (mail.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24A1143D2D for ; Fri, 9 Jul 2004 15:11:03 +0000 (GMT) (envelope-from l.ertl@univie.ac.at) Received: from wireless (adslle.cc.univie.ac.at [131.130.102.11]) by imap.univie.ac.at (8.12.10/8.12.10) with ESMTP id i69FAttT1024662 for ; Fri, 9 Jul 2004 17:10:58 +0200 Date: Fri, 9 Jul 2004 17:10:55 +0200 (CEST) From: Lukas Ertl To: arch@freebsd.org Message-ID: <20040709170834.U581@korben.in.tern> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-DCC-ZID-Univie-Metrics: mail 4249; Body=1 Fuz1=1 Fuz2=1 Subject: USB locking X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2004 15:11:04 -0000 Hello, I've prepared a patch that adds some basic locking primitives to parts of the USB stack (usb.c, uhci.c, ehci.c). Mainly, I've added some mutexes and applied them instead of calls to spl*, wrapped into #ifdef's to stay somewhat compatible with NetBSD. I'd be happy if I could get some review. thanks, le -- Lukas Ertl eMail: l.ertl@univie.ac.at UNIX Systemadministrator Tel.: (+43 1) 4277-14073 Vienna University Computer Center Fax.: (+43 1) 4277-9140 University of Vienna http://homepage.univie.ac.at/l.ertl/