From owner-freebsd-current@FreeBSD.ORG Wed Jun 4 05:17:19 2008 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 DD129106567A; Wed, 4 Jun 2008 05:17:19 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from munchkin.clue.co.za (munchkin.clue.co.za [66.219.59.160]) by mx1.freebsd.org (Postfix) with ESMTP id 813838FC13; Wed, 4 Jun 2008 05:17:19 +0000 (UTC) (envelope-from ianf@clue.co.za) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=20070313; d=clue.co.za; h=Received:Received:Received:To:cc:From:Subject:In-Reply-To:X-Attribution:Date:Message-Id; b=PLTWJAjpSouhpV9r9ifZ6p5+qsmp5x2M2CFB0/XlUdAGLG2OzAyQzh6LU54Po8szatr7kFBIYp5HzlaqsUR8Fci0UMMf6hmj5KfPsaOA+9SixRrVW6v3amQocrKC5LErxf4wr5Fw85mcxIvsNlUMXi3vm7R2W95oRFdRoSZU4dOeC5f50zSOBpmdm2pJ0yFIAzJzAq+TZuIP6+D10d4U/Kx4EOcvjHtDeS1RSBWZx4S5dcmHzxxzUsrSic2R4ftR; Received: from uucp by munchkin.clue.co.za with local-rmail (Exim 4.67) (envelope-from ) id 1K3lN1-0004Wv-Gm; Wed, 04 Jun 2008 05:17:13 +0000 Received: from ianf.clue.co.za ([10.0.0.6] helo=clue.co.za) by urchin.clue.co.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1K3lMt-0001AE-9t; Wed, 04 Jun 2008 05:17:03 +0000 Received: from localhost ([127.0.0.1] helo=clue.co.za) by clue.co.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1K3lMr-0000fG-UI; Wed, 04 Jun 2008 07:17:01 +0200 To: John Baldwin From: Ian FREISLICH In-Reply-To: Message from John Baldwin of "Tue, 03 Jun 2008 17:35:59 -0400." <200806031735.59591.jhb@freebsd.org> X-Attribution: BOFH Date: Wed, 04 Jun 2008 07:17:01 +0200 Message-Id: Cc: current@freebsd.org Subject: Re: xe(4) MPSAFE patch 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: Wed, 04 Jun 2008 05:17:20 -0000 John Baldwin wrote: > Cool, thanks. If you are still up for testing, try out > http://www.FreeBSD.org/~jhb/patches/xe_intr.patch I'm always up for testing :) > It uses the bus_read API instead of bus_space and splits the interrupt > handler up into sub-functions for tx/rx/MAC events. And this, unsurprisingly, also works. :) This card however must be a pile of rubbish. The interrupt usage suggests it's just PIO and uses the CPU to bit-bang the line to generate the ethernet timing and signals. 73% interrupt on a PIII-500 to move data at 100Mbit/s. Ian -- Ian Freislich