PCI: show dma_mask bits in /sys
authorYinghai Lu <yinghai@kernel.org>
Wed, 25 Nov 2009 02:21:21 +0000 (18:21 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 4 Dec 2009 23:47:50 +0000 (15:47 -0800)
commitbb965401fd2afa26629b244e7bb2e48a117dc238
tree72627abb2f9f65ced77c6c10709e42948fed0592
parentc6a415761c59adabb53699c84e5cb42868d97c67
PCI: show dma_mask bits in /sys

So we can catch if the driver sets an incorrect dma_mask.

Reviewed-by: Grant Grundler <grundler@google.com>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-sysfs.c