Changeset 41811af in mainline for uspace/srv/hw/irc/fhc/fhc.c


Ignore:
Timestamp:
2011-06-10T10:14:26Z (14 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ab547063
Parents:
9536e6e (diff), 390d80d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/irc/fhc/fhc.c

    r9536e6e r41811af  
    3838#include <ipc/services.h>
    3939#include <ipc/irc.h>
    40 #include <ipc/ns.h>
     40#include <ns.h>
    4141#include <sysinfo.h>
    4242#include <as.h>
     
    5353#define NAME "fhc"
    5454
    55 #define FHC_UART_INR    0x39   
     55#define FHC_UART_INR    0x39
    5656
    5757#define FHC_UART_IMAP   0x0
     
    128128       
    129129        if (retval < 0) {
    130                 printf(NAME ": Error mapping FHC UART registers\n");
     130                printf("%s: Error mapping FHC UART registers\n", NAME);
    131131                return false;
    132132        }
    133133       
    134         printf(NAME ": FHC UART registers at %p, %zu bytes\n", fhc_uart_phys,
    135             fhc_uart_size);
     134        printf("%s: FHC UART registers at %p, %zu bytes\n", NAME,
     135            fhc_uart_phys, fhc_uart_size);
    136136       
    137137        async_set_client_connection(fhc_connection);
     
    143143int main(int argc, char **argv)
    144144{
    145         printf(NAME ": HelenOS FHC bus controller driver\n");
     145        printf("%s: HelenOS FHC bus controller driver\n", NAME);
    146146       
    147147        if (!fhc_init())
    148148                return -1;
    149149       
    150         printf(NAME ": Accepting connections\n");
     150        printf("%s: Accepting connections\n", NAME);
     151        task_retval(0);
    151152        async_manager();
    152 
     153       
    153154        /* Never reached */
    154155        return 0;
     
    157158/**
    158159 * @}
    159  */ 
     160 */
Note: See TracChangeset for help on using the changeset viewer.