Changeset 245 for trunk/kernel


Ignore:
Timestamp:
Jul 20, 2017, 12:46:10 PM (7 years ago)
Author:
max@…
Message:

Hide soclib_tty.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/devices/dev_txt.c

    r244 r245  
    3030#include <printk.h>
    3131#include <dev_txt.h>
    32 #include <soclib_tty.h>
    3332
    3433/////////////////////////////////////////////////////////////////////////////////////////
     
    5554    snprintf( txt->name , 16 , "txt_%d" , channel );
    5655
    57     // set fields "cmd", "isr", and call driver init function
    58     if( impl == IMPL_TXT_TTY )
    59     {
    60         soclib_tty_init( txt );
    61     }
    62     else
    63     {
    64         assert( false , __FUNCTION__ , "undefined TXT device implementation" );
    65     }
     56    // call driver init function
     57    hal_drivers_txt_init(txt, impl);
    6658
    6759    // no server thread and no IRQ routing for TXT0
Note: See TracChangeset for help on using the changeset viewer.