diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 17:42:56 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 17:42:56 -0700 |
commit | 5669e31c5a4874f1634bc0ffba268a6e2fa0cdd2 (patch) | |
tree | 3ef3f6724e7a812ba83b420c3915c4a46762aeb7 /drivers/dma/ioat/pci.c | |
parent | bf40a6869c9198bdf56fe173961feb89e9f0d961 (diff) | |
download | talos-obmc-linux-5669e31c5a4874f1634bc0ffba268a6e2fa0cdd2.tar.gz talos-obmc-linux-5669e31c5a4874f1634bc0ffba268a6e2fa0cdd2.zip |
ioat: add 'ioat' sysfs attributes
Export driver attributes for diagnostic purposes:
'ring_size': total number of descriptors available to the engine
'ring_active': number of descriptors in-flight
'capabilities': supported operation types for this channel
'version': Intel(R) QuickData specfication revision
This also allows some chattiness to be removed from the driver startup
as this information is now available via sysfs.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/ioat/pci.c')
-rw-r--r-- | drivers/dma/ioat/pci.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/dma/ioat/pci.c b/drivers/dma/ioat/pci.c index 0f3ec6e97fe9..626a508a4f8b 100644 --- a/drivers/dma/ioat/pci.c +++ b/drivers/dma/ioat/pci.c @@ -168,6 +168,9 @@ static void __devexit ioat_remove(struct pci_dev *pdev) static int __init ioat_init_module(void) { + pr_info("%s: Intel(R) QuickData Technology Driver %s\n", + DRV_NAME, IOAT_DMA_VERSION); + return pci_register_driver(&ioat_pci_driver); } module_init(ioat_init_module); |