Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 1997 11:32:31 -0600
From:      "Justin T. Gibbs" <gibbs@plutotech.com>
To:        Richard Straka <straka@inficad.com>
Cc:        "Justin T. Gibbs" <gibbs@plutotech.com>, current@FreeBSD.org
Subject:   Re: ie ethernet driver and Intel EtherExpress16 
Message-ID:  <199704301634.KAA17426@pluto.plutotech.com>
In-Reply-To: Your message of "Wed, 30 Apr 1997 09:05:02 PDT." <Pine.BSI.3.95.970430085530.18592A-100000@user2.inficad.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>I have also noticed that the machine seems to hang after disk syncing
>during a halt/reboot.  The machine shuts down properly with the old 
>ix driver.

Can you see if this patch fixes the hang?

--
Justin T. Gibbs
===========================================
  FreeBSD: Turning PCs into workstations
===========================================

Index: if_ie.c
===================================================================
RCS file: /usr/cvs/src/sys/i386/isa/if_ie.c,v
retrieving revision 1.41
diff -c -r1.41 if_ie.c
*** if_ie.c	1997/04/14 00:37:50	1.41
--- if_ie.c	1997/04/30 17:31:13
***************
*** 576,585 ****
  {
  	struct ie_softc *ie = (struct ie_softc *)sc;
  	int unit = ie - &ie_softc[0];
  
! 	ee16_reset_586(unit);
! 	outb(PORT + IEE16_ECTRL, IEE16_RESET_ASIC);
! 	outb(PORT + IEE16_ECTRL, 0);
  }
  
  
--- 576,596 ----
  {
  	struct ie_softc *ie = (struct ie_softc *)sc;
  	int unit = ie - &ie_softc[0];
+ 	int s;
  
! 	s = splimp();
! 
! 	/* disable interrupts on the controller */
! 	outb(PORT + IEE16_IRQ, ie->irq_encoded);
!   
!   	ee16_reset_586(unit);
!   	outb(PORT + IEE16_ECTRL, IEE16_RESET_ASIC);
!   	outb(PORT + IEE16_ECTRL, 0);
! 
! 	/* disable interrupts again just in case */
! 	outb(PORT + IEE16_IRQ, ie->irq_encoded);
! 
! 	splx(s);
  }
  
  





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704301634.KAA17426>