patch-2.4.27 linux-2.4.27/drivers/isdn/hisax/nj_s.c

Next file: linux-2.4.27/drivers/isdn/hysdn/hysdn_procconf.c
Previous file: linux-2.4.27/drivers/isdn/divert/divert_procfs.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/drivers/isdn/hisax/nj_s.c linux-2.4.27/drivers/isdn/hisax/nj_s.c
@@ -130,6 +130,7 @@
 			release_io_netjet(cs);
 			return(0);
 		case CARD_INIT:
+			reset_netjet_s(cs);
 			inittiger(cs);
 			clear_pending_isac_ints(cs);
 			initisac(cs);
@@ -262,7 +263,6 @@
 	} else {
 		request_region(cs->hw.njet.base, bytecnt, "netjet-s isdn");
 	}
-	reset_netjet_s(cs);
 	cs->readisac  = &NETjet_ReadIC;
 	cs->writeisac = &NETjet_WriteIC;
 	cs->readisacfifo  = &NETjet_ReadICfifo;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)