Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Dec 1999 00:55:24 -0700
From:      Warner Losh <imp@village.org>
To:        Christopher Masto <chris@netmonger.net>
Cc:        Nick Hibma <hibma@skylink.it>, Mike Smith <msmith@FreeBSD.ORG>, FreeBSD CURRENT Mailing List <current@FreeBSD.ORG>
Subject:   Re: PCCARD eject freeze (was Re: your mail) 
Message-ID:  <199912010755.AAA00462@harmony.village.org>
In-Reply-To: Your message of "Tue, 30 Nov 1999 21:35:32 EST." <19991130213532.A2764@netmonger.net> 
References:  <19991130213532.A2764@netmonger.net>  <19991130160829.A13848@netmonger.net> <199911302112.OAA05264@harmony.village.org> <19991130165407.A467@netmonger.net> <199911302159.OAA05508@harmony.village.org> <19991130173920.A22943@netmonger.net> <199911302304.QAA05780@harmony.village.org> <19991130181313.B24151@netmonger.net> <199911302319.QAA05945@harmony.village.org> <19991130182738.A25453@netmonger.net> <199911302352.QAA06230@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <19991130213532.A2764@netmonger.net> Christopher Masto writes:
: Well, here's all I've got.  It's basically just a sloppy version of
: what you suggested.

I've cleaned this up, worked it around, and managed to insert and
eject my ep card 5 times in a row on my desktop kludge environment.
It even appeared to be working.  Don't know if this will work on a
real laptop, but it is better than nothing.  I specifically didn't set
the suspend/resume code, and it is a different code path.  I suspect
to still see some hangs, but in the 1-2% range not the 100+% range on
suspend due to the racing nature of things.

I found another problem with the ep/ed driver's detach routines.  They
called if_down rather than if_detach.  This left them in the list of
interfaces, but they were really really gone for good at this point,
so when the automatic ifconfig that I have on my machine ran, it
paniced the system.

I've not tried to fix the sc->gone functionality in the drivers that
need it.  Nor have I tested anything except the pccard ep driver.  I'm
too tired for that, and I hope I haven't made anything worse.

I've committed these changes to -current for your enjoyment.  Please
let me know if you have problems with them on real hardware.

Warner "Pining for the Fjords[*]" Losh

[*] This norse word is pronounced "Sony VAIO" around here :-(


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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