summaryrefslogtreecommitdiffstats
path: root/drivers/atm/zatm.h
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2005-07-20 12:01:46 -0700
committerDavid S. Miller <davem@davemloft.net>2005-07-20 12:01:46 -0700
commit4aa49d130df9209707a97786a55a3f584b7345e9 (patch)
tree1522de28c0277809afd1fd037f5c359fcee4fc4b /drivers/atm/zatm.h
parentb72f6eccb0fc516070f2de469f73870cb6cb1149 (diff)
downloadlinux-4aa49d130df9209707a97786a55a3f584b7345e9.tar.gz
linux-4aa49d130df9209707a97786a55a3f584b7345e9.tar.bz2
linux-4aa49d130df9209707a97786a55a3f584b7345e9.zip
[ATM]: zatm: mailbox converted to pci_alloc_consistent()
mailbox converted to pci_alloc_consistent() - request_region() is not needed: zatm_init_one() issues pci_request_regions(); - the warning related to kfree(zatm_dev->mbx_start) disappears; Compiled with i386 and sparc64 as target. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/zatm.h')
-rw-r--r--drivers/atm/zatm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/atm/zatm.h b/drivers/atm/zatm.h
index 34a0480f63d6..416fe0fda60c 100644
--- a/drivers/atm/zatm.h
+++ b/drivers/atm/zatm.h
@@ -73,6 +73,7 @@ struct zatm_dev {
int chans; /* map size, must be 2^n */
/*-------------------------------- mailboxes */
unsigned long mbx_start[NR_MBX];/* start addresses */
+ dma_addr_t mbx_dma[NR_MBX];
u16 mbx_end[NR_MBX]; /* end offset (in bytes) */
/*-------------------------------- other pointers */
u32 pool_base; /* Free buffer pool dsc (word addr) */