[ATM]: zatm: mailbox converted to pci_alloc_consistent()
authorFrancois Romieu <romieu@fr.zoreil.com>
Wed, 20 Jul 2005 19:01:46 +0000 (12:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Jul 2005 19:01:46 +0000 (12:01 -0700)
commit4aa49d130df9209707a97786a55a3f584b7345e9
tree1522de28c0277809afd1fd037f5c359fcee4fc4b
parentb72f6eccb0fc516070f2de469f73870cb6cb1149
[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>
drivers/atm/zatm.c
drivers/atm/zatm.h