Ignore:
Timestamp:
2009-04-03T08:02:30Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2398ee9
Parents:
9be1d58
Message:

update for string changes

File:
1 edited

Legend:

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

    r9be1d58 rb60c582  
    184184         * First, verify this is a PCI node.
    185185         */
    186         ASSERT(strcmp(ofw_tree_node_name(node), "pci") == 0);
     186        ASSERT(str_cmp(ofw_tree_node_name(node), "pci") == 0);
    187187
    188188        /*
     
    193193                return NULL;
    194194       
    195         if (strcmp(prop->value, "SUNW,sabre") == 0) {
     195        if (str_cmp(prop->value, "SUNW,sabre") == 0) {
    196196                /*
    197197                 * PCI controller Sabre.
     
    199199                 */
    200200                return pci_sabre_init(node);
    201         } else if (strcmp(prop->value, "SUNW,psycho") == 0) {
     201        } else if (str_cmp(prop->value, "SUNW,psycho") == 0) {
    202202                /*
    203203                 * PCI controller Psycho.
Note: See TracChangeset for help on using the changeset viewer.