diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2008-11-04 00:49:57 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-04 00:49:57 (GMT) |
commit | 63532394af307795ea637a283bd1fd057f5dfcea (patch) | |
tree | d078a0e3339cf7d6df60c42ab6c28ed2495b9eca /drivers/mfd/sm501.c | |
parent | c88e668b52c8cd8bc55b6734c7dfbb0cb005d445 (diff) | |
download | linux-63532394af307795ea637a283bd1fd057f5dfcea.tar.xz |
tg3: Use pci_ioremap_bar()
This patch replaces the existing APE register mapping code with a call
to pci_ioremap_bar(). The code that maps the main device register space
did not undergo a similar change because the information derived from
the pci_resource_start() and pci_resource_len() is still used to
populate the (optional) mem_start and mem_end netdevice members.
Replace hardcoded constants where appropriate.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/mfd/sm501.c')
0 files changed, 0 insertions, 0 deletions