diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2008-11-04 01:49:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-04 01:49:57 +0100 |
commit | 63532394af307795ea637a283bd1fd057f5dfcea (patch) | |
tree | d078a0e3339cf7d6df60c42ab6c28ed2495b9eca /kernel/sysctl.c | |
parent | tg3: Add 5761S support (diff) | |
download | linux-63532394af307795ea637a283bd1fd057f5dfcea.tar.xz linux-63532394af307795ea637a283bd1fd057f5dfcea.zip |
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 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions