diff options
author | Mike Miller <mike.miller@hp.com> | 2005-06-27 17:36:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-27 18:11:48 -0400 |
commit | cd6fb584cf7f18ec6b221192b57d712ecc8c1859 (patch) | |
tree | a855ebcc235c4ec80de615a80d0072d12f69cc25 /drivers/block/cciss.c | |
parent | 3de0a70bd926ff974adb27a38d4fd1049f05e54e (diff) |
[PATCH] cciss: pci domain info pass 2
This is pass 2 of my patch to add pci domain info to an existing ioctl. This
time I insert the domain between dev_fn and board_id as Willy suggested and
change the var to unsigned short to ease Christoph's concerns. Although I
thought unsigned int was the correct var type for this. I also thought it
didn't matter where I inserted it in the structure.
Signed-off-by: Mike Miller <mike.miller@hp.com>
Acked-by: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/block/cciss.c')
-rw-r--r-- | drivers/block/cciss.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 0cd606ce222a..d5d0fa538f12 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -638,6 +638,7 @@ static int cciss_ioctl(struct inode *inode, struct file *filep, | |||
638 | cciss_pci_info_struct pciinfo; | 638 | cciss_pci_info_struct pciinfo; |
639 | 639 | ||
640 | if (!arg) return -EINVAL; | 640 | if (!arg) return -EINVAL; |
641 | pciinfo.domain = pci_domain_nr(host->pdev->bus); | ||
641 | pciinfo.bus = host->pdev->bus->number; | 642 | pciinfo.bus = host->pdev->bus->number; |
642 | pciinfo.dev_fn = host->pdev->devfn; | 643 | pciinfo.dev_fn = host->pdev->devfn; |
643 | pciinfo.board_id = host->board_id; | 644 | pciinfo.board_id = host->board_id; |