Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile
Pull arch/tile updates from Chris Metcalf: "These changes provide support for PCIe root complex and USB host mode for tilegx's on-chip I/Os. In addition, this pull provides the required underpinning for the on-chip networking support that was pulled into 3.5. The changes have all been through LKML (with several rounds for PCIe RC) and on linux-next." * git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile: tile: updates to pci root complex from community feedback bounce: allow use of bounce pool via config option usb: add host support for the tilegx architecture arch/tile: provide kernel support for the tilegx USB shim tile pci: enable IOMMU to support DMA for legacy devices arch/tile: enable ZONE_DMA for tilegx tilegx pci: support I/O to arbitrarily-cached pages tile: remove unused header arch/tile: tilegx PCI root complex support arch/tile: provide kernel support for the tilegx TRIO shim arch/tile: break out the "csum a long" function to <asm/checksum.h> arch/tile: provide kernel support for the tilegx mPIPE shim arch/tile: common DMA code for the GXIO IORPC subsystem arch/tile: support MMIO-based readb/writeb etc. arch/tile: introduce GXIO IORPC framework for tilegx
This commit is contained in:
commit
f0a08fcb59
72 changed files with 11253 additions and 419 deletions
34
include/linux/usb/tilegx.h
Normal file
34
include/linux/usb/tilegx.h
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
/*
|
||||
* Copyright 2012 Tilera Corporation. All Rights Reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation, version 2.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
|
||||
* NON INFRINGEMENT. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* Structure to contain platform-specific data related to Tile-Gx USB
|
||||
* controllers.
|
||||
*/
|
||||
|
||||
#ifndef _LINUX_USB_TILEGX_H
|
||||
#define _LINUX_USB_TILEGX_H
|
||||
|
||||
#include <gxio/usb_host.h>
|
||||
|
||||
struct tilegx_usb_platform_data {
|
||||
/* GXIO device index. */
|
||||
int dev_index;
|
||||
|
||||
/* GXIO device context. */
|
||||
gxio_usb_host_context_t usb_ctx;
|
||||
|
||||
/* Device IRQ. */
|
||||
unsigned int irq;
|
||||
};
|
||||
|
||||
#endif /* _LINUX_USB_TILEGX_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue