From 813c7abf04ab9f7f9c30059b258612e18dec5ce7 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 13 Feb 2011 15:33:26 +0100 Subject: Print a bit more details --- driver/ioctl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'driver/ioctl.c') diff --git a/driver/ioctl.c b/driver/ioctl.c index 59d9245..6240d31 100644 --- a/driver/ioctl.c +++ b/driver/ioctl.c @@ -160,6 +160,7 @@ static int ioctl_pci_info(pcidriver_privdata_t *privdata, unsigned long arg) for (bar = 0; bar < 6; bar++) { pci_info.bar_start[bar] = pci_resource_start(privdata->pdev, bar); pci_info.bar_length[bar] = pci_resource_len(privdata->pdev, bar); + pci_info.bar_flags[bar] = pci_resource_flags(privdata->pdev, bar); } WRITE_TO_USER(pci_board_info, pci_info); -- cgit v1.2.3