Date: Thu, 29 Jul 2010 09:27:17 -0400 From: John Baldwin <jhb@freebsd.org> To: Jeff Roberson <jeff@freebsd.org> Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r210581 - projects/ofed/head/sys/ofed/include/linux Message-ID: <201007290927.17152.jhb@freebsd.org> In-Reply-To: <201007290208.o6T28LAV098251@svn.freebsd.org> References: <201007290208.o6T28LAV098251@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007290927.17152.jhb>