Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 1997 15:22:37 -0600 (MDT)
From:      Nate Williams <nate@mt.sri.com>
To:        Nate Williams <nate@mt.sri.com>
Cc:        Mike Smith <mike@smith.net.au>, mobile@freebsd.org
Subject:   Re: Patches from -current for -stable I'd like to commit after testing 
Message-ID:  <199710222122.PAA11535@rocky.mt.sri.com>
In-Reply-To: <199710220423.WAA08641@rocky.mt.sri.com>
References:  <199710211923.NAA07091@rocky.mt.sri.com> <199710220214.LAA00615@word.smith.net.au> <199710220418.WAA08580@rocky.mt.sri.com> <199710220423.WAA08641@rocky.mt.sri.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > > I'd like to bring in most of the recent changes to 2.2, not that 2.2.5
> > > > is out the door.  (I didn't want to break things for the release, and
> > > > didn't have time to test them enough for the release.)
> > > 
> > > Can you hold off a couple of days?  Something you've changed recently 
> > > has broken PCCARD support on my Toshiba, but I haven't been able to 
> > > track it down yet.

Can you try out this patch.  It was made after the 2nd, but it causes
Brian Handy's box to blow chunks.  It's related to Justin's timeout
changes, and changed the flow of the code, so I'm just reverting to the
original behavior.  (Why it changes things I'm not sure, since I don't
see why it should, but it seems to be doing something bad.)


Nate
-------
===================================================================
RCS file: /home/CVS/src/sys/pccard/pccard.c,v
retrieving revision 1.38
diff -c -r1.38 pccard.c
*** pccard.c	1997/10/06 05:46:03	1.38
--- pccard.c	1997/10/22 21:19:34
***************
*** 652,661 ****
  	 */
  	sp->pwr.vcc = 50;
  	sp->pwr.vpp = 0;
! 	if (sp->pwr_off_pending) {
! 		untimeout(power_off_slot, (caddr_t)sp, sp->poff_ch);
  		sp->ctrl->disable(sp);
- 	}
  	sp->pwr_off_pending = 0;
  	sp->ctrl->power(sp);
  	printf("Card inserted, slot %d\n", sp->slot);
--- 652,660 ----
  	 */
  	sp->pwr.vcc = 50;
  	sp->pwr.vpp = 0;
! 	untimeout(power_off_slot, (caddr_t)sp, sp->poff_ch);
! 	if (sp->pwr_off_pending)
  		sp->ctrl->disable(sp);
  	sp->pwr_off_pending = 0;
  	sp->ctrl->power(sp);
  	printf("Card inserted, slot %d\n", sp->slot);
Index: pccard.c



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