diff options
author | Maciej Sosnowski <maciej.sosnowski@intel.com> | 2008-07-22 17:30:57 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2008-07-22 17:30:57 -0700 |
commit | 7f1b358a236ee9c19657a619ac6f2dcabcaa0924 (patch) | |
tree | 04eade38d4f8da94d7051f51875ed500b49b4756 /drivers/dca/dca-sysfs.c | |
parent | 16a37acaaf4aaa631ba3f83710ed6cdb1a597520 (diff) | |
download | op-kernel-dev-7f1b358a236ee9c19657a619ac6f2dcabcaa0924.zip op-kernel-dev-7f1b358a236ee9c19657a619ac6f2dcabcaa0924.tar.gz |
I/OAT: I/OAT version 3.0 support
This patch adds to ioatdma and dca modules
support for Intel I/OAT DMA engine ver.3 (aka CB3 device).
The main features of I/OAT ver.3 are:
* 8 single channel DMA devices (8 channels total)
* 8 DCA providers, each can accept 2 requesters
* 8-bit TAG values and 32-bit extended APIC IDs
Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dca/dca-sysfs.c')
-rw-r--r-- | drivers/dca/dca-sysfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dca/dca-sysfs.c b/drivers/dca/dca-sysfs.c index 011328f..3d47e9d 100644 --- a/drivers/dca/dca-sysfs.c +++ b/drivers/dca/dca-sysfs.c @@ -13,9 +13,10 @@ static spinlock_t dca_idr_lock; int dca_sysfs_add_req(struct dca_provider *dca, struct device *dev, int slot) { struct device *cd; + static int req_count; cd = device_create(dca_class, dca->cd, MKDEV(0, slot + 1), - "requester%d", slot); + "requester%d", req_count++); if (IS_ERR(cd)) return PTR_ERR(cd); return 0; |