summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/prism2_plx.c
diff options
context:
space:
mode:
authorMarty Connor2006-09-26 23:33:12 +0200
committerMarty Connor2006-09-26 23:33:12 +0200
commitcf8460527171e4d026ba8747e4e702346c810369 (patch)
tree6683b40f370a584c4767d6cc84a0310d2041cbb5 /src/drivers/net/prism2_plx.c
parenteth_ntoa fixes (diff)
downloadipxe-cf8460527171e4d026ba8747e4e702346c810369.tar.gz
ipxe-cf8460527171e4d026ba8747e4e702346c810369.tar.xz
ipxe-cf8460527171e4d026ba8747e4e702346c810369.zip
eth_ntoa and compilation warnings fixes
Diffstat (limited to 'src/drivers/net/prism2_plx.c')
-rw-r--r--src/drivers/net/prism2_plx.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/drivers/net/prism2_plx.c b/src/drivers/net/prism2_plx.c
index 616903cf..afd1c6f0 100644
--- a/src/drivers/net/prism2_plx.c
+++ b/src/drivers/net/prism2_plx.c
@@ -50,8 +50,8 @@ static int prism2_find_plx ( hfa384x_t *hw, struct pci_device *p )
/* Fill out hw structure */
hw->membase = attr_mem;
hw->iobase = iobase;
- printf ( "PLX9052 has local config registers at %#hx\n", plx_lcr );
- printf ( "Prism2 has attribute memory at %#x and I/O base at %#hx\n", attr_mem, iobase );
+ printf ( "PLX9052 has local config registers at %#lx\n", plx_lcr );
+ printf ( "Prism2 has attribute memory at %#lx and I/O base at %#lx\n", attr_mem, iobase );
/* Search for CIS strings */
printf ( "Searching for PCMCIA card...\n" );
@@ -90,8 +90,7 @@ static int prism2_plx_probe ( struct nic *nic, struct pci_device *pci ) {
return prism2_probe ( nic, hw );
}
-static void prism2_plx_disable ( struct nic *nic,
- struct pci_device *pci __unused ) {
+static void prism2_plx_disable ( struct nic *nic ) {
prism2_disable ( nic );
}