I'm trying to get my shiny new ethernet driver to detach.
I can load the driver, and (from the command line) ifconfig
en1 inet 192.168.1.9 up.
I then ifconfig en1 down, and unload the the driver.
I am calling IONetworkController::detachInterface((IONetworkInterface
*) netif, true) at unload time. The driver's kext unloads OK and does not
stall there.
But en1 still appears in ifconfig -a, and future loads of the driver
fail on the call to attachInterface((IONetworkInterface **) &netif,
false)
This must have happened to others..
Thanks,
Drew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden
This email sent to email@hidden