Help in Finding PCI IRQ Number

  • Follow


Hi....Good Afternoon

i bought USB MASS STORAGE  card from one company . the interface of my
usb mass storage card with motheboard is PCI.

the Design is smthing like this......

pci-Pci Bridge --------------->pci/USB2 bridge ----------> usb2/NAND

controller----------------->NAND CHIPS.


the hardware manual of this card tells PCI Interrupt (INTB) is passed
to PCI Slot.


Now i wrote the pci Device Driver to know the vendor id, device
id ,int line, int pin etc... i got the vendor id ,device id but on INT
LINE i am getting 0XFF; i am not able to undestand tht why i am not
getting the exact IRQ for this card...

is this is correct way what i am doing if not please suggest me how to
get the correct IRQ no....


I studied the pci header It is telling that "int pin" =0x01;  Is  that
mean my Card support Interrupts....??



[coreOS] -> pciHeaderShow (0x1000003,1,0)

PCI Configuration Header, (0x01000003,1,0)
vendor ID = 0x1131
device ID = 0x1561
command register = 0x0006
status register = 0x0210
revision ID = 0x11
class code = 0x0c
sub class code = 0x03
programming interface = 0x10
cache line = 0x08
latency time = 0xfc
header type = 0x80
BIST = 0x00
base address 0 = 0x58000000
base address 1 = 0x00000000
base address 2 = 0x00000000
base address 3 = 0x00000000
base address 4 = 0x00000000
base address 5 = 0x00000000
cardBus CIS pointer = 0x00000000
sub system vendor ID = 0x1131
sub system ID = 0x1561
expansion ROM base address = 0x00000000
interrupt line = 0xff (Default value = 0x00)
interrupt Pin = 0x01
capabilities - power management

on reading header it tells capabilities POWER MANAGEMENT is that mean
card does not support interrupt....


 i checked the hardware manual for my mass storage card. it is written
in hardware manual that INTB,INTC lines are coming to pci slots from
my pci/usb bridge which generates interrupts.

Now i want an IRQ no: specific to that INTB line  for registering
interrupt for my mass storage card.
but i do not know the way to get the IRQ no: for This INTB line.

so please tell me how to get the IRQ number.


thanks in advance
Mark.s
0
Reply sandeepkumargulati (5) 1/20/2010 12:47:55 PM


0 Replies
144 Views

(page loaded in 0.037 seconds)

Similiar Articles:













7/29/2012 8:25:15 PM


Reply: