Ignore:
File:
1 edited

Legend:

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

    rdf01d303 r63e27ef  
    4242#include <mm/slab.h>
    4343#include <typedefs.h>
    44 #include <debug.h>
     44#include <assert.h>
    4545#include <log.h>
    4646#include <str.h>
     
    175175         * First, verify this is a PCI node.
    176176         */
    177         ASSERT(str_cmp(ofw_tree_node_name(node), "pci") == 0);
     177        assert(str_cmp(ofw_tree_node_name(node), "pci") == 0);
    178178
    179179        /*
     
    210210void pci_enable_interrupt(pci_t *pci, int inr)
    211211{
    212         ASSERT(pci->op && pci->op->enable_interrupt);
     212        assert(pci->op && pci->op->enable_interrupt);
    213213        pci->op->enable_interrupt(pci, inr);
    214214}
     
    218218        pci_t *pci = (pci_t *)pcip;
    219219
    220         ASSERT(pci->op && pci->op->clear_interrupt);
     220        assert(pci->op && pci->op->clear_interrupt);
    221221        pci->op->clear_interrupt(pci, inr);
    222222}
Note: See TracChangeset for help on using the changeset viewer.