PERFORCE change 81600 for review
    Robert Watson 
    rwatson at FreeBSD.org
       
    Sun Aug  7 14:49:14 GMT 2005
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=81600
Change 81600 by rwatson at rwatson_peppercorn on 2005/08/07 14:48:20
	Catch up with if_pcn driver changes.
Affected files ...
.. //depot/projects/netsmp/src/sys/pci/if_pcn.c#6 edit
Differences ...
==== //depot/projects/netsmp/src/sys/pci/if_pcn.c#6 (text+ko) ====
@@ -927,7 +927,7 @@
 	sc = xsc;
 	ifp = sc->pcn_ifp;
 	PCN_LOCK(sc);
-	if (!(ifp->if_flags & IFF_RUNNING)) {
+	if (!(ifp->if_drv_flags & IFF_DRV_RUNNING)) {
 		PCN_UNLOCK(sc);
 		return;
 	}
@@ -1087,7 +1087,7 @@
 
 	idx = sc->pcn_cdata.pcn_tx_prod;
 
-	if (ifp->if_drv_flags & IFF_DRV_OACTIVE) {
+	if (ifp->if_drv_flags & IFF_DRV_OACTIVE)
 		return;
 
 	while(sc->pcn_cdata.pcn_tx_chain[idx] == NULL) {
    
    
More information about the p4-projects
mailing list