ioat: add 'ioat' sysfs attributes
authorDan Williams <dan.j.williams@intel.com>
Wed, 9 Sep 2009 00:42:56 +0000 (17:42 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 9 Sep 2009 00:42:56 +0000 (17:42 -0700)
commit5669e31c5a4874f1634bc0ffba268a6e2fa0cdd2
tree3ef3f6724e7a812ba83b420c3915c4a46762aeb7
parentbf40a6869c9198bdf56fe173961feb89e9f0d961
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>
drivers/dma/ioat/dma.c
drivers/dma/ioat/dma.h
drivers/dma/ioat/dma_v2.c
drivers/dma/ioat/dma_v2.h
drivers/dma/ioat/dma_v3.c
drivers/dma/ioat/pci.c