linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: florea igor <fl_igor@yahoo.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Re: How to route INTA interupt on pci to IRQ after hotplug??
Date: Tue, 10 Jan 2006 07:14:34 +0000	[thread overview]
Message-ID: <20060110071434.64115.qmail@web51110.mail.yahoo.com> (raw)
In-Reply-To: <20060105145707.8923.qmail@web51114.mail.yahoo.com>

 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

      parent reply	other threads:[~2006-01-10  7:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060110071434.64115.qmail@web51110.mail.yahoo.com \
    --to=fl_igor@yahoo.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).