summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/prism2_plx.c
diff options
context:
space:
mode:
authorMichael Brown2008-11-19 20:33:05 +0100
committerMichael Brown2008-11-19 20:33:05 +0100
commit0ebbbb95fa03622423154a3e56251dd58832654d (patch)
tree3bb6fa8df8158cf546a3fe42364cfd3d0b4ef831 /src/drivers/net/prism2_plx.c
parent[build] Explicitly link efilink against -liberty (diff)
downloadipxe-0ebbbb95fa03622423154a3e56251dd58832654d.tar.gz
ipxe-0ebbbb95fa03622423154a3e56251dd58832654d.tar.xz
ipxe-0ebbbb95fa03622423154a3e56251dd58832654d.zip
[x86_64] Fix assorted 64-bit compilation errors and warnings
Remove various 32-bit assumptions scattered throughout the codebase. The code is still not necessarily 64-bit clean, but will at least compile.
Diffstat (limited to 'src/drivers/net/prism2_plx.c')
-rw-r--r--src/drivers/net/prism2_plx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/drivers/net/prism2_plx.c b/src/drivers/net/prism2_plx.c
index b5e3755f..a10eef29 100644
--- a/src/drivers/net/prism2_plx.c
+++ b/src/drivers/net/prism2_plx.c
@@ -48,7 +48,6 @@ static int prism2_find_plx ( hfa384x_t *hw, struct pci_device *p )
iobase &= PCI_BASE_ADDRESS_IO_MASK;
/* Fill out hw structure */
- hw->membase = attr_mem;
hw->iobase = iobase;
printf ( "PLX9052 has local config registers at %#x\n", plx_lcr );
printf ( "Prism2 has attribute memory at %#x and I/O base at %#x\n", attr_mem, iobase );