diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/nic.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/core/nic.c b/src/core/nic.c index 64e87f614..0382ced2d 100644 --- a/src/core/nic.c +++ b/src/core/nic.c @@ -388,6 +388,7 @@ struct type_driver nic_driver = { .load = nic_load, }; +#if 0 /* Careful. We need an aligned buffer to avoid problems on machines * that care about alignment. To trivally align the ethernet data * (the ip hdr and arp requests) we offset the packet by 2 bytes. @@ -400,17 +401,9 @@ struct nic nic = { .node_addr = arptable[ARP_CLIENT].node, .packet = packet + ETH_DATA_ALIGN, }; +#endif - -int dummy_connect ( struct nic *nic __unused ) { - return 1; -} - -void dummy_irq ( struct nic *nic __unused, irq_action_t irq_action __unused ) { - return; -} - /************************************************************************** DEFAULT_NETMASK - Return default netmask for IP address **************************************************************************/ |
