diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2008-11-03 16:49:57 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-03 16:49:57 -0800 |
commit | 63532394af307795ea637a283bd1fd057f5dfcea (patch) | |
tree | d078a0e3339cf7d6df60c42ab6c28ed2495b9eca /drivers/net/tehuti.h | |
parent | c88e668b52c8cd8bc55b6734c7dfbb0cb005d445 (diff) |
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/net/tehuti.h')
0 files changed, 0 insertions, 0 deletions