Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

idiot's guide to detaching network drivers?



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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.