diff options
author | Francois Romieu <romieu@fr.zoreil.com> | 2005-07-20 15:01:46 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-07-20 15:01:46 -0400 |
commit | 4aa49d130df9209707a97786a55a3f584b7345e9 (patch) | |
tree | 1522de28c0277809afd1fd037f5c359fcee4fc4b /drivers/atm/zatm.h | |
parent | b72f6eccb0fc516070f2de469f73870cb6cb1149 (diff) |
[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.h | 1 |
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 { | |||
73 | int chans; /* map size, must be 2^n */ | 73 | int chans; /* map size, must be 2^n */ |
74 | /*-------------------------------- mailboxes */ | 74 | /*-------------------------------- mailboxes */ |
75 | unsigned long mbx_start[NR_MBX];/* start addresses */ | 75 | unsigned long mbx_start[NR_MBX];/* start addresses */ |
76 | dma_addr_t mbx_dma[NR_MBX]; | ||
76 | u16 mbx_end[NR_MBX]; /* end offset (in bytes) */ | 77 | u16 mbx_end[NR_MBX]; /* end offset (in bytes) */ |
77 | /*-------------------------------- other pointers */ | 78 | /*-------------------------------- other pointers */ |
78 | u32 pool_base; /* Free buffer pool dsc (word addr) */ | 79 | u32 pool_base; /* Free buffer pool dsc (word addr) */ |