Changeset c05d7a9d in rtems for bsps/sparc/shared/pci/gr_cpci_gr740.c
- Timestamp:
- Dec 21, 2018, 8:43:27 PM (2 years ago)
- Branches:
- 5, master
- Children:
- 8f5abea
- Parents:
- 75e1009f
- git-author:
- Sebastian Huber <sebastian.huber@…> (12/21/18 20:43:27)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (12/21/18 20:43:54)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bsps/sparc/shared/pci/gr_cpci_gr740.c
r75e1009f rc05d7a9d 26 26 */ 27 27 28 #include <inttypes.h> 28 29 #include <stdio.h> 29 30 #include <stdlib.h> … … 483 484 devinfo->id.vendor, devinfo->id.device); 484 485 for (i = 0; i < 3; i++) { 485 printk(" PCI BAR[%d]: 0x%08 lx - 0x%08lx\n",486 printk(" PCI BAR[%d]: 0x%08" PRIx32 " - 0x%08" PRIx32 "\n", 486 487 i, devinfo->resources[i].address, 487 488 devinfo->resources[i].address + … … 738 739 bar0 = devinfo->resources[0].address; 739 740 bar0_size = devinfo->resources[0].size; 740 printf(" PCI BAR[0]: 0x%lx - 0x%lx\n", bar0, bar0 + bar0_size - 1); 741 printf(" IRQ REGS: 0x%x\n", (unsigned int)priv->irq); 741 printf(" PCI BAR[0]: 0x%" PRIx32 " - 0x%" PRIx32 "\n", 742 bar0, bar0 + bar0_size - 1); 743 printf(" IRQ REGS: 0x%" PRIxPTR "\n", (uintptr_t)priv->irq); 742 744 printf(" IRQ: %d\n", devinfo->irq); 743 745 printf(" PCI REVISION: %d\n", devinfo->rev);
Note: See TracChangeset
for help on using the changeset viewer.