*BSD News Article 69809


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!olivea!quack!quack.kfu.com!nsayer
From: nsayer@quack.kfu.com (Nick Sayer)
Subject: suspend/resume workaround for pccard
Message-ID: <np3RXdX@quack.kfu.com>
Sender: news@quack.kfu.com (0000-News(0000))
Organization: The Duck Pond public unix, +1 408 249 9630, log in as guest.
Date: Thu, 30 May 1996 21:03:22 UTC
Lines: 22

This is on a Zenith Z-NoteFlex running 2.2-960501-SNAP and
pccard-test-960508.

If I suspend and resume, pccard events are no longer noted.
If I do this:

pccardc wrreg 0 5 3f
pccardc wrreg 1 5 3f

(where 3f is actually the IRQ number reported when the slots are probed
multiplied by 16 and ORed with 15. It will probably end up 3f)

everything returns to normal on the _next_ insert/remove cycle.
Clearly the BIOS is pretty thoroughly trashing the slot state and
the combination of this action and a fresh insertion is what it
takes to put things back in order.

-- 
Nick Sayer <nsayer@quack.kfu.com>  | "What are we gonna do, Stimpy?"
N6QQQ @ N0ARY.#NORCAL.CA.USA.NOAM  | "We could get some work..."
+1 408 249 9630, log in as 'guest' | "Work?! Have you lost your MIND?!"
URL: http://www.kfu.com/~nsayer/   |                     -- Ren & Stimpy