>>>>            IRQs:  2 3 4 5 6 7 9 10 11 12 13 15

>No, you don't! Did you ever write a PCCard/Cardbus enabled driver? I
>have limited knowledge on Cardbus, but may be Veit will fill the void.

Not different than PCCard

..

                          mov si,Offset RequestIRQArgument
                          mov ax,GlobeSocketNumber
                          mov [si].Socket,ax
                          mov [si].Attribute_RIS, 0000ah        ; share IRQ
                          mov [si].IRQInfo1,010h                ; irq_mask: Info2
                          mov ax,IRQ_BITSET

<- ax is simply all allowed IRQ bits. 
   Think this way: it does not matter for a Card how the IRQ is connected,
   and on which line. Let the CardServices find a free.

                          mov [si].IRQInfo2,ax

                          mov di,Offset idcPacket
                          mov [di].function,RequestIRQ
                          mov ax,cHandle
                          mov [di].handle,ax
                          mov [di].arglen,Size RequestIRQArgument
                          mov [di].argumentpointer._OFF,si
                          mov [di].argumentpointer._SEG,ds
                          call Call_CS_IDC
                          jnz configuration_error_AX

                          mov al,[si].AssignedIRQ
                          mov rIRQline,al

<- Report the resulting IRQ to the APP

...

Veit Kannegieser


-----------
To unsubscribe yourself from this list, send the following message
to [EMAIL PROTECTED]

     unsubscribe acpi-os2
     end

Reply via email to