]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commite78848d20b5e243db6c43d861fd8f9abf223bc77
tree1522de28c0277809afd1fd037f5c359fcee4fc4b
parentfdf167905ee13bda8c243a1039549f98cd2b25e7
[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