From owner-freebsd-stable Fri Apr 23 8:26:54 1999 Delivered-To: freebsd-stable@freebsd.org Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by hub.freebsd.org (Postfix) with SMTP id 2DE98154B1 for ; Fri, 23 Apr 1999 08:26:35 -0700 (PDT) (envelope-from ira@MIT.EDU) Received: from ALL-NIGHT-TOOL.MIT.EDU by MIT.EDU with SMTP id AA23371; Fri, 23 Apr 99 11:24:03 EDT Received: by all-night-tool.mit.edu (8.8.7/4.7) id LAA05187; Fri, 23 Apr 1999 11:24:04 -0400 (EDT) Date: Fri, 23 Apr 1999 11:24:04 -0400 (EDT) Message-Id: <199904231524.LAA05187@all-night-tool.mit.edu> From: Ira L Cooper To: freebsd-stable@freebsd.org Subject: Libretto 100CT. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG When I first upgraded my libretto 100CT to FreeBSD 3.1-STABLE, I had a problem where it wouldn't detect the insertion and removal of my PCMCIA cards, the following patch fixes this. I can't test any other fixes for a bit, because my libretto is in for service right now. Note, this patch seems to enable polling of the slots for all machines, there should be a better way. -Ira --- pcic.c.orig Fri Apr 23 11:22:02 1999 +++ pcic.c Fri Apr 23 11:22:24 1999 @@ -797,11 +797,11 @@ } } pcic98_probe_end: } #endif /* PC98 */ - if (validslots && pcic_irq <= 0) + if (validslots) pcictimeout_ch = timeout(pcictimeout, 0, hz/2); return(validslots); } /* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message