Changeset 453 for GPL/trunk/lib32/pci.c


Ignore:
Timestamp:
Jun 23, 2009, 11:48:55 AM (16 years ago)
Author:
Paul Smedley
Message:

Fixes for suspend/resume in APIC mode from Pasha

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/lib32/pci.c

    r452 r453  
    255255                        {
    256256                        // Check APIC IRQ, if we have /SMP /APIC, must be set
    257                         if (temp1)
    258                            temp = (temp & (~0xff)) | (temp1 & 0xff);
     257                        if (temp3)
     258                           temp = (temp & (~0xff)) | (temp3 & 0xff);
    259259                        // Check PIC IRQ
    260                         else if (temp3)
    261                                  temp = (temp & (~0xff)) | (temp3 & 0xff);
     260                        else if (temp1)
     261                                 temp = (temp & (~0xff)) | (temp1 & 0xff);
    262262                        dprintf(("pci_query_device: IRQs ACPI PIC%d APIC%d", temp1, temp3));
    263263                        sISRHigh[SaveIRQCounter].LowIRQ  = temp1;
Note: See TracChangeset for help on using the changeset viewer.