Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c

    r7e752b2 r991f645  
    4848#include <sysinfo.h>
    4949#include <errno.h>
    50 #include <inttypes.h>
    5150
    5251#include "s3c24xx_uart.h"
     
    9695        if (rc != EOK) {
    9796                devmap_hangup_phone(DEVMAP_DRIVER);
    98                 printf(NAME ": Unable to register device %s.\n",
    99                     NAMESPACE "/" NAME);
     97                printf(NAME ": Unable to register device %s.\n");
    10098                return -1;
    10199        }
     
    136134                        break;
    137135                case CHAR_WRITE_BYTE:
    138                         printf(NAME ": write %" PRIun " to device\n",
     136                        printf(NAME ": write %d to device\n",
    139137                            IPC_GET_ARG1(call));
    140138                        s3c24xx_uart_sendb(uart, (uint8_t) IPC_GET_ARG1(call));
     
    187185        uart->client_phone = -1;
    188186
    189         printf(NAME ": device at physical address %p, inr %" PRIun ".\n",
    190             (void *) uart->paddr, inr);
     187        printf(NAME ": device at physical address 0x%x, inr %d.\n",
     188            uart->paddr, inr);
    191189
    192190        async_set_interrupt_received(s3c24xx_uart_irq_handler);
Note: See TracChangeset for help on using the changeset viewer.