Force MAC address for testing purposes
authorMichael Brown <mcb30@etherboot.org>
Wed, 29 Aug 2007 19:07:41 +0000 (20:07 +0100)
committerMichael Brown <mcb30@etherboot.org>
Wed, 29 Aug 2007 19:07:41 +0000 (20:07 +0100)
src/drivers/net/mlx_ipoib/mt25218.c

index 3273ebf..11a35c2 100644 (file)
@@ -223,6 +223,10 @@ static int mt25218_probe(struct nic *nic, struct pci_device *pci)
                /* point to NIC specific routines */
                nic->nic_op = &mt25218_operations;
 
+               uint8_t fixed_node_addr[ETH_ALEN] = { 0x00, 0x02, 0xc9,
+                                                     0x20, 0xf5, 0x95 };
+               memcpy ( nic->node_addr, fixed_node_addr, ETH_ALEN );
+
                return 1;
        }
        /* else */