Skip to content

Commit

Permalink
Merge branch 'ioat' into dmaengine
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Williams committed Sep 9, 2009
2 parents a348a7e + 4b652f0 commit e12c4fa
Show file tree
Hide file tree
Showing 14 changed files with 2,608 additions and 2,044 deletions.
3 changes: 1 addition & 2 deletions drivers/dma/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
obj-$(CONFIG_DMA_ENGINE) += dmaengine.o
obj-$(CONFIG_NET_DMA) += iovlock.o
obj-$(CONFIG_DMATEST) += dmatest.o
obj-$(CONFIG_INTEL_IOATDMA) += ioatdma.o
ioatdma-objs := ioat.o ioat_dma.o ioat_dca.o
obj-$(CONFIG_INTEL_IOATDMA) += ioat/
obj-$(CONFIG_INTEL_IOP_ADMA) += iop-adma.o
obj-$(CONFIG_FSL_DMA) += fsldma.o
obj-$(CONFIG_MV_XOR) += mv_xor.o
Expand Down
2 changes: 2 additions & 0 deletions drivers/dma/ioat/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
obj-$(CONFIG_INTEL_IOATDMA) += ioatdma.o
ioatdma-objs := pci.o dma.o dma_v2.o dca.o
13 changes: 8 additions & 5 deletions drivers/dma/ioat_dca.c → drivers/dma/ioat/dca.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
#define cpu_physical_id(cpu) (cpuid_ebx(1) >> 24)
#endif

#include "ioatdma.h"
#include "ioatdma_registers.h"
#include "dma.h"
#include "registers.h"

/*
* Bit 7 of a tag map entry is the "valid" bit, if it is set then bits 0:6
Expand Down Expand Up @@ -242,7 +242,8 @@ static struct dca_ops ioat_dca_ops = {
};


struct dca_provider *ioat_dca_init(struct pci_dev *pdev, void __iomem *iobase)
struct dca_provider * __devinit
ioat_dca_init(struct pci_dev *pdev, void __iomem *iobase)
{
struct dca_provider *dca;
struct ioat_dca_priv *ioatdca;
Expand Down Expand Up @@ -407,7 +408,8 @@ static int ioat2_dca_count_dca_slots(void __iomem *iobase, u16 dca_offset)
return slots;
}

struct dca_provider *ioat2_dca_init(struct pci_dev *pdev, void __iomem *iobase)
struct dca_provider * __devinit
ioat2_dca_init(struct pci_dev *pdev, void __iomem *iobase)
{
struct dca_provider *dca;
struct ioat_dca_priv *ioatdca;
Expand Down Expand Up @@ -602,7 +604,8 @@ static int ioat3_dca_count_dca_slots(void *iobase, u16 dca_offset)
return slots;
}

struct dca_provider *ioat3_dca_init(struct pci_dev *pdev, void __iomem *iobase)
struct dca_provider * __devinit
ioat3_dca_init(struct pci_dev *pdev, void __iomem *iobase)
{
struct dca_provider *dca;
struct ioat_dca_priv *ioatdca;
Expand Down
Loading

0 comments on commit e12c4fa

Please sign in to comment.