cvs commit: src/sys/dev/bce if_bce.c src/sys/dev/em if_em.c if_em.h src/sys/dev/mpt mpt.h mpt_pci.c

mjacob at mjacob at
Thu Nov 16 17:32:05 UTC 2006

>> Is there some convention for MSI naming?  Or are the resources
>> basically anonymous?
> They are just IRQ values.  On x86 they will be >= 256, but that may not be
> true on other platforms.  Other busses might also support multiple IRQs per
> device (if you had HT peripherals I think they could do this).  In general
> IRQs are just cookies anyway.  On x86 they index into the interrupt_sources[]
> array.  On other platforms they can have other meanings.  It would almost be
> better if SYS_RES_IRQ was just SYS_RES_INTR.

Let me put back on my very very dusty Solaris DDI team hat and point out 
that you either coerce the naming of interrupts to an architected number 
space (as did Digital Unix and does Linux and more or less does FreeBSD) 
or leave the naming of interrupts to the bus nexus it has meaning to.

More information about the cvs-src mailing list