* Re: Re: How to route INTA interupt on pci to IRQ after hotplug??
2006-01-05 14:57 How to route INTA interupt on pci to IRQ after hotplug?? florea igor
2006-01-09 4:00 ` Greg KH
@ 2006-01-10 7:14 ` florea igor
1 sibling, 0 replies; 3+ messages in thread
From: florea igor @ 2006-01-10 7:14 UTC (permalink / raw)
To: linux-hotplug
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=%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=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, Cache Line Size 08
Bus: primary\x02, secondary\x03, subordinate\x04,
sec-latency2
I/O behind bridge: 0000f000-00000fff
Memory behind bridge: fff00000-000fffff
Prefetchable memory behind bridge:
00000000fff00000-0000000000000000
Secondary status: 66MHz- FastB2B+ ParErr-
DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort-
>Reset- FastB2B-
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI- D1- D2-
AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0
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
>using
>for this?
>thanks,
>greg k-h
__________________________________________
Yahoo! DSL – Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
-------------------------------------------------------
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\x16865&op=click
_______________________________________________
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
^ permalink raw reply [flat|nested] 3+ messages in thread