More faithful emulation of config_devalloc()
In NetBSD when the softc is allocated they use kmem_zalloc() which zeroes the memory too; follow suit by using calloc instead of malloc. Fixes problem where an unconfigured network interface (that has never sent any packets, even an ARP) would watchdog after 62s (the consistent random value in if_timer) and try to pass a phantom mbuf to MbufManager, leading to an abort. Version 0.03. Tagged as 'EtherCPSW-0_03'
Showing with 11 additions and 11 deletions