K 10 svn:author V 2 bz K 8 svn:date V 27 2005-03-28T16:21:16.000000Z K 7 svn:log V 1184 MFC if_sk.c rev. 1.99: * When adding/deleting multicast addresses, only whack the address filter if the interface is marked RUNNING. Obtained from: NetBSD if_sk.c rev. 1.12 * Don't initialize the card (and start an autonegotiation) every time the IP address changes. Makes 'dhclient sk0' invocations way faster and more consistant. i.e. one DHCPREQUEST elicits the DHCPACK. Obtained from: OpenBSD if_sk.c rev. 1.56 * Additional locking changes in sk_ioctl. MFC if_sk.c rev. 1.100, if_skreg.h rev. 1.26 * Improve chip identification. Obtained from: NetBSD if_sk.c rev. 1.11 * Take PHY out of reset for Yukon Lite Rev. A3. Submitted by: postings on net@ in thread "skc0: no PHY found", 2005-02-22 MFC if_sk.c rec. 1.102, if_skreg.h rev. 1.28 Do not try to free non allocated memory in error case. Do our best to plug some memory leaks (VPD data, jumbo memory buffer,...). Log if we cannot free because memory still in use. Change locking to avoid ''acquiring duplicate lock of same type: "network driver"'' and potential deadlock. Also seems to fix LOR #063. PR: kern/75677 Approved by: re (scottl) Approved by: rwatson (mentor) END