Changes in kernel/arch/sparc64/src/drivers/pci.c [df01d303:63e27ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/drivers/pci.c
rdf01d303 r63e27ef 42 42 #include <mm/slab.h> 43 43 #include <typedefs.h> 44 #include < debug.h>44 #include <assert.h> 45 45 #include <log.h> 46 46 #include <str.h> … … 175 175 * First, verify this is a PCI node. 176 176 */ 177 ASSERT(str_cmp(ofw_tree_node_name(node), "pci") == 0);177 assert(str_cmp(ofw_tree_node_name(node), "pci") == 0); 178 178 179 179 /* … … 210 210 void pci_enable_interrupt(pci_t *pci, int inr) 211 211 { 212 ASSERT(pci->op && pci->op->enable_interrupt);212 assert(pci->op && pci->op->enable_interrupt); 213 213 pci->op->enable_interrupt(pci, inr); 214 214 } … … 218 218 pci_t *pci = (pci_t *)pcip; 219 219 220 ASSERT(pci->op && pci->op->clear_interrupt);220 assert(pci->op && pci->op->clear_interrupt); 221 221 pci->op->clear_interrupt(pci, inr); 222 222 }
Note:
See TracChangeset
for help on using the changeset viewer.