Changeset 33b1903 in mainline for kernel/arch/sparc64/src


Ignore:
Timestamp:
2006-10-07T11:24:19Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8d4a577
Parents:
e2cc9a0
Message:

Separate mapping of EBUS interrupts into two parts: EBUS and PCI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/drivers/kbd.c

    re2cc9a0 r33b1903  
    109109                        return;
    110110                }
    111                 if (!ofw_fhc_map_interrupts(node->parent, ((ofw_fhc_reg_t *) prop->value), interrupts, &inr)) {
    112                         printf("Failed to determine keyboard interrupts.\n");
     111                if (!ofw_fhc_map_interrupt(node->parent, ((ofw_fhc_reg_t *) prop->value), interrupts, &inr)) {
     112                        printf("Failed to determine keyboard interrupt.\n");
    113113                        return;
    114114                }
     
    120120                        return;
    121121                }
    122                 if (!ofw_ebus_map_interrupts(node->parent, ((ofw_ebus_reg_t *) prop->value), interrupts, &inr)) {
    123                         printf("Failed to determine keyboard interrupts.\n");
     122                if (!ofw_ebus_map_interrupt(node->parent, ((ofw_ebus_reg_t *) prop->value), interrupts, &inr)) {
     123                        printf("Failed to determine keyboard interrupt.\n");
    124124                        return;
    125125                }
Note: See TracChangeset for help on using the changeset viewer.