[e1000] Use PCI_BASE_ADDRESS_* symbols instead of integers
commit1206999288fef8d3b9af7bf8010949a61a3613e5
authorMarty Connor <mdc@etherboot.org>
Fri, 5 Dec 2008 14:42:46 +0000 (5 09:42 -0500)
committerMichael Brown <mcb30@etherboot.org>
Fri, 5 Dec 2008 16:35:33 +0000 (5 16:35 +0000)
tree8d61e30ac5c2c6bcef0487ed0d8dc5ea04f915b5
parentce0a0ccf5c2b99be684f13a9418d1556bae5f0ed
[e1000] Use PCI_BASE_ADDRESS_* symbols instead of integers

When compiling for the Linux kernel, PCI_BASE_ADDRESS_0 == 0, and
PCI_BASE_ADDRESS_1 == 1.  This is not so when compiling for gPXE.  We
must use the symbolic names rather than integers to get the correct
values.

Bug identified and patch supplied by:

   George Chou <george.chou@advantech.com>
src/drivers/net/e1000/e1000.c