Date: Wed, 9 Dec 1998 09:10:00 -0800 (PST) From: David Pick <D.M.Pick@qmw.ac.uk> To: freebsd-bugs@FreeBSD.ORG Subject: Re: kern/9030: DMPno2 - PCCards are not being recognised on insertion after system startup Message-ID: <199812091710.JAA06058@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/9030; it has been noted by GNATS. From: David Pick <D.M.Pick@qmw.ac.uk> To: Nate Williams <nate@mt.sri.com> Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/9030: DMPno2 - PCCards are not being recognised on insertion after system startup Date: Wed, 09 Dec 1998 16:58:29 +0000 In message <199812091526.IAA16917@mt.sri.com>you write: >> >Number: 9030 >> >Category: kern >> >Synopsis: DMPno2 - PCCards are not being recognised on insertion afte >r system startup >> >Confidential: no >> >Severity: serious >> >Priority: high >> >Responsible: freebsd-bugs >> >State: open >> >Quarter: >> >Keywords: >> >Date-Required: >> >Class: sw-bug >> >Submitter-Id: current-users >> >Arrival-Date: Wed Dec 9 03:30:01 PST 1998 >> >Last-Modified: >> >Originator: David Pick >> >Organization: >> >Release: FreeBSD 3.0-RELEASE i386 >> >Environment: >> >> FreeBSD 3.0 installed from Walnut Creek CDROM onto a >> Toshiba Libretto 50CT. >> >> >Description: >> >> PCCards are not being recognised on insertion. > >Here's a quick fix for the problem. The correct fix is to configure >your PCIC controller quickly. The reason this hasn't been done is >no-one with the ability to do it has the time to do it. > >On line 816 of /sys/pcic.c: > if (validslots && pcic_irq <= 0) >Change this to: > if (validslots) > >And it will work. However, you're wasting an IRQ for the PCIC >controller that is doing nothing for you. And indeed it *did* work. Many thanks. I must admit to some curiosity about how/why this causes an IRQ to be wasted, and if the code you advised removing was there only to prevent an IRQ from being wasted; but I guess I'll have to read the code to find out why/what is happening ( ;-) - and if I understand it fix it myself ( ;-) (!) I don't know if it makes any difference, but in the Toshiba Libretto I'm using the PCIC says it's using IRQ 5, and the sound hardware (Yamaha OPL-3) *also* says it uses IRQ 5... I think we can declare this one closed. My thanks again for the excelently quick response. -- David Pick D.M.Pick@qmw.ac.uk a.k.a. Hostmaster@qmw.ac.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812091710.JAA06058>