From mboxrd@z Thu Jan 1 00:00:00 1970 From: florea igor Date: Tue, 10 Jan 2006 07:14:34 +0000 Subject: Re: Re: How to route INTA interupt on pci to IRQ after hotplug?? Message-Id: <20060110071434.64115.qmail@web51110.mail.yahoo.com> List-Id: References: <20060105145707.8923.qmail@web51114.mail.yahoo.com> In-Reply-To: <20060105145707.8923.qmail@web51114.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org I'm using pci_hotplug.ko and cpci_hp_generic.ko.. I had to make some modifications to cpci_hotplug_core.c : I had to add this code in the check_slots function in cpci_hotplug_core.c because the disable_slot function wasn't called anywhere as part of cpci_hotplug_slot_ops on the EXT event..: list_for_each_entry(slot, &slot_list, slot_list){ if (slot->extracting) { dbg("%s - calling disable for slot %s,slot->dev=3D%p", __FUNCTION__, slot->hotplug_slot->name,slot->dev); disable_slot(slot->hotplug_slot); } } i have this cpci controller according to lspci -vvv: 02:0c.0 PCI bridge: Intel Corporation 21154 PCI-to-PCI Bridge (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=3Dmedium >TAbort- SERR- TAbort- Reset- FastB2B- Capabilities: [dc] Power Management version 1 Flags: PMEClk- DSI- D1- D2- AuxCurrent=3D0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=3D0 DScale=3D0 PME- Bridge: PM- B3+ meanwhile i found out that that the memory allocation is also made wrong..I don't have reserved non-prefetchable memory if i boot without any card inserted and after that i try to insert a card.. so can someone tell me what is going wrong? >On Thu, Jan 05, 2006 at 06:57:07AM -0800, florea igor wrote: >> hi all >> after hot inserting my Compact PCI card I can see IRQ >> 255 >> after booting with plugged card i have a normal >> IRQ..9..12 >> so how can i rout the INTA interupt from PCI to a >> valid IRQ? >Your cpci controller should do this for you. Which driver are you=20 >using >for this? >thanks, >greg k-h =09 __________________________________________=20 Yahoo! DSL =96 Something to write home about.=20 Just $16.99/mo. or less.=20 dsl.yahoo.com=20 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id=16865&op=3Dclick _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel