svn commit: r210581 - projects/ofed/head/sys/ofed/include/linux
John Baldwin
jhb at freebsd.org
Thu Jul 29 14:19:48 UTC 2010
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
More information about the svn-src-projects
mailing list