From owner-svn-src-projects@FreeBSD.ORG Thu Jul 29 14:19:48 2010 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAFE6106566C; Thu, 29 Jul 2010 14:19:48 +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 9B1FB8FC0A; Thu, 29 Jul 2010 14:19:48 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 4376146B52; Thu, 29 Jul 2010 10:19:48 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 5F2DB8A03C; Thu, 29 Jul 2010 10:19:47 -0400 (EDT) From: John Baldwin To: Jeff Roberson Date: Thu, 29 Jul 2010 09:27:17 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20100217; KDE/4.4.5; amd64; ; ) References: <201007290208.o6T28LAV098251@svn.freebsd.org> In-Reply-To: <201007290208.o6T28LAV098251@svn.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201007290927.17152.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Thu, 29 Jul 2010 10:19:47 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r210581 - projects/ofed/head/sys/ofed/include/linux X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2010 14:19:48 -0000 On Wednesday, July 28, 2010 10:08:21 pm Jeff Roberson wrote: > Author: jeff > Date: Thu Jul 29 02:08:21 2010 > New Revision: 210581 > URL: http://svn.freebsd.org/changeset/base/210581 > > Log: > - Make a minorly incompatible version of request_irq() that passes the > device as the last parameter so it is easy to port linux code. The > alternative would be to search all devices for the one which may have > been assigned that irq to maintain a diffless compat layer. > - Update the generic dma and pci dma with routines used by mthca. > - Add various pci register defines and convenience functions. > - Correct scatterlist usage. > > Sponsored by: Isilon Systems, iX Systems, and Panasas. > > Modified: projects/ofed/head/sys/ofed/include/linux/pci.h > ============================================================================== > --- projects/ofed/head/sys/ofed/include/linux/pci.h Thu Jul 29 02:05:06 2010 (r210580) > +++ projects/ofed/head/sys/ofed/include/linux/pci.h Thu Jul 29 02:08:21 2010 (r210581) > @@ -329,6 +435,11 @@ pci_unregister_driver(struct pci_driver > devclass_delete_driver(bus, &pdrv->driver); > } > > +/* XXX This should not be necessary. */ > +#define pcix_set_mmrbc(d, v) 0 > +#define pcix_get_max_mmrbc(d) 0 > +#define pcie_set_readrq(d, v) 0 > + FWIW, we have an implementation of pcie_set_readrq(), it is pci_set_max_read_req(). -- John Baldwin