Skip to content

Commit

Permalink
e1000e: use resource_size_t, not unsigned long, for phys addrs
Browse files Browse the repository at this point in the history
The use of unsigned long causes the driver to fail on 32-bit systems
which support 64-bit resources.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
  • Loading branch information
Becky Bruce authored and Jeff Garzik committed May 22, 2008
1 parent 3d60efb commit f47e81f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/e1000e/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -4201,8 +4201,8 @@ static int __devinit e1000_probe(struct pci_dev *pdev,
struct e1000_adapter *adapter;
struct e1000_hw *hw;
const struct e1000_info *ei = e1000_info_tbl[ent->driver_data];
unsigned long mmio_start, mmio_len;
unsigned long flash_start, flash_len;
resource_size_t mmio_start, mmio_len;
resource_size_t flash_start, flash_len;

static int cards_found;
int i, err, pci_using_dac;
Expand Down

0 comments on commit f47e81f

Please sign in to comment.