struct nic_statistics statistics;
- struct v3_dev_net_ops *net_ops;
+ struct v3_dev_net_ops * net_ops;
void * backend_data;
};
void * private_data) {
PrintDebug("PCI Config Update\n");
- /* Do we need this? */
return 0;
}
ops->recv = ne2k_rx;
ops->poll = NULL;
ops->config.frontend_data = nic_state;
- memcpy(ops->config.fnt_mac, nic_state->mac, ETH_ALEN);
+ ops->config.fnt_mac = nic_state->mac;
return 0;
}
ops->recv = rtl8139_rx;
ops->poll = NULL;
ops->config.frontend_data = nic_state;
- memcpy(ops->config.fnt_mac, nic_state->mac, ETH_ALEN);
+ ops->config.fnt_mac = nic_state->mac;
return 0;
}