Changeset b688fd8 in mainline for uspace/srv/hw


Ignore:
Timestamp:
2015-08-17T18:54:56Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
abf2dfd
Parents:
b10460a
Message:

gradually introduce async ports, initial phase

The initial phase is to reimplement the traditional async client connections as an untyped fallback port. This creates the possibility to introduce ports typed by interface type gradually in later changesets.

Location:
uspace/srv/hw
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/bus/cuda_adb/cuda_adb.c

    rb10460a rb688fd8  
    169169        }
    170170
    171         async_set_client_connection(cuda_connection);
     171        async_set_fallback_port_handler(cuda_connection, NULL);
    172172        rc = loc_server_register(NAME);
    173173        if (rc < 0) {
  • uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c

    rb10460a rb688fd8  
    7777        printf("%s: S3C24xx on-chip UART driver\n", NAME);
    7878       
    79         async_set_client_connection(s3c24xx_uart_connection);
     79        async_set_fallback_port_handler(s3c24xx_uart_connection, NULL);
    8080        int rc = loc_server_register(NAME);
    8181        if (rc != EOK) {
  • uspace/srv/hw/irc/apic/apic.c

    rb10460a rb688fd8  
    215215        }
    216216       
    217         async_set_client_connection(apic_connection);
     217        async_set_fallback_port_handler(apic_connection, NULL);
    218218        service_register(SERVICE_IRC);
    219219       
  • uspace/srv/hw/irc/i8259/i8259.c

    rb10460a rb688fd8  
    153153        }
    154154       
    155         async_set_client_connection(i8259_connection);
     155        async_set_fallback_port_handler(i8259_connection, NULL);
    156156        service_register(SERVICE_IRC);
    157157       
  • uspace/srv/hw/irc/icp-ic/icp-ic.c

    rb10460a rb688fd8  
    150150        icpic_regs = (icpic_regs_t *)regs;
    151151
    152         async_set_client_connection(icpic_connection);
     152        async_set_fallback_port_handler(icpic_connection, NULL);
    153153        service_register(SERVICE_IRC);
    154154
  • uspace/srv/hw/irc/obio/obio.c

    rb10460a rb688fd8  
    137137        printf("%s: OBIO registers with base at %zu\n", NAME, base_phys);
    138138       
    139         async_set_client_connection(obio_connection);
     139        async_set_fallback_port_handler(obio_connection, NULL);
    140140        service_register(SERVICE_IRC);
    141141       
Note: See TracChangeset for help on using the changeset viewer.