From 1aafef50177b850efda576259cb78d2df7d03259 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 16 Jun 2011 04:28:59 +0200 Subject: A bit of DMA infrastructure --- driver/pciDriver.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'driver/pciDriver.h') diff --git a/driver/pciDriver.h b/driver/pciDriver.h index 083b0b2..98c1301 100644 --- a/driver/pciDriver.h +++ b/driver/pciDriver.h @@ -152,7 +152,7 @@ typedef struct { unsigned long bar_start[6]; unsigned long bar_length[6]; unsigned long bar_flags[6]; -} pci_board_info; +} pcilib_board_info_t; /* ioctl interface */ @@ -182,7 +182,7 @@ typedef struct { /* And now, the methods to access the PCI configuration area */ #define PCIDRIVER_IOC_PCI_CFG_RD _IOWR( PCIDRIVER_IOC_MAGIC, PCIDRIVER_IOC_BASE + 10, pci_cfg_cmd * ) #define PCIDRIVER_IOC_PCI_CFG_WR _IOWR( PCIDRIVER_IOC_MAGIC, PCIDRIVER_IOC_BASE + 11, pci_cfg_cmd * ) -#define PCIDRIVER_IOC_PCI_INFO _IOWR( PCIDRIVER_IOC_MAGIC, PCIDRIVER_IOC_BASE + 12, pci_board_info * ) +#define PCIDRIVER_IOC_PCI_INFO _IOWR( PCIDRIVER_IOC_MAGIC, PCIDRIVER_IOC_BASE + 12, pcilib_board_info_t * ) /* Clear interrupt queues */ #define PCIDRIVER_IOC_CLEAR_IOQ _IO( PCIDRIVER_IOC_MAGIC, PCIDRIVER_IOC_BASE + 13 ) -- cgit v1.2.3