summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/etherfabric.c
diff options
context:
space:
mode:
authorMichael Brown2006-12-21 18:16:06 +0100
committerMichael Brown2006-12-21 18:16:06 +0100
commit7ce3df65c21900af3dbc182d561be032f687d7a8 (patch)
treeda77f5986be484d3c8d6301fae90405bd522368b /src/drivers/net/etherfabric.c
parentPrint explicit error message on iSCSI boot failure, and add (diff)
downloadipxe-7ce3df65c21900af3dbc182d561be032f687d7a8.tar.gz
ipxe-7ce3df65c21900af3dbc182d561be032f687d7a8.tar.xz
ipxe-7ce3df65c21900af3dbc182d561be032f687d7a8.zip
Default to port 0 (sic).
Diffstat (limited to 'src/drivers/net/etherfabric.c')
-rw-r--r--src/drivers/net/etherfabric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/etherfabric.c b/src/drivers/net/etherfabric.c
index e760b124..6b763451 100644
--- a/src/drivers/net/etherfabric.c
+++ b/src/drivers/net/etherfabric.c
@@ -3365,7 +3365,7 @@ PROBE - Look for an adapter, this routine's visible to the outside
***************************************************************************/
static int etherfabric_probe ( struct nic *nic, struct pci_device *pci ) {
static struct efab_nic efab;
- static int nic_port = 0;
+ static int nic_port = 1;
struct efab_buffers *buffers;
int i;