Allow selection of slip port

This commit is contained in:
David Kopf 2011-08-25 14:43:18 -04:00
parent 6852c0cb03
commit 9fec648b3e
3 changed files with 22 additions and 11 deletions

View file

@ -76,7 +76,7 @@ static FILE slip_stdout = FDEV_SETUP_STREAM(slip_putchar, NULL,
void
slip_arch_init(unsigned long ubr)
{
rs232_set_input(RS232_PORT_0, slip_input_byte);
rs232_set_input(SLIP_PORT, slip_input_byte);
stdout = &slip_stdout;
}
/*---------------------------------------------------------------------------*/