*** /home/phil/min1.5ref/tools/init.c	Wed Nov 14 00:06:43 1990
--- tools/init.c	Tue Jan 29 22:04:15 1991
***************
*** 8,13 ****
--- 8,15 ----
   *	a = 0 (line disabled = no shell), 1 (enabled = shell started)
   *	    2 (enabled through a GETTY)
   *	b = a-r defines UART paramers (baud, bits, parity), 0 for console
+  *          s-u used for 19200.
+  *          v-x used for 38400.
   *	c = line number or line name
   *
   * The letters a-r correspond to the 18 entries of the uart table below.
***************
*** 82,88 ****
    B1200,  BITS7 | ODDP,		/* 'o': 1200 baud, 7 bits, odd parity */
    B2400,  BITS7 | ODDP,		/* 'p': 2400 baud, 7 bits, odd parity */
    B4800,  BITS7 | ODDP,		/* 'q': 4800 baud, 7 bits, odd parity */
!   B9600,  BITS7 | ODDP		/* 'r': 9600 baud, 7 bits, odd parity */
  };
  
  #define NPARAMSETS (sizeof uart / sizeof(struct uart))
--- 84,100 ----
    B1200,  BITS7 | ODDP,		/* 'o': 1200 baud, 7 bits, odd parity */
    B2400,  BITS7 | ODDP,		/* 'p': 2400 baud, 7 bits, odd parity */
    B4800,  BITS7 | ODDP,		/* 'q': 4800 baud, 7 bits, odd parity */
!   B9600,  BITS7 | ODDP,		/* 'r': 9600 baud, 7 bits, odd parity */
! #ifdef B19200
!   B19200,  BITS8,		/* 's':19200 baud, 8 bits, no parity */
!   B19200,  BITS7 | EVENP,	/* 't':19200 baud, 7 bits, even parity */
!   B19200,  BITS7 | ODDP,	/* 'u':19200 baud, 8 bits, odd parity */
! #endif
! #ifdef B38400
!   B38400,  BITS8,		/* 'v':38400 baud, 8 bits, no parity */
!   B38400,  BITS7 | EVENP,	/* 'w':38400 baud, 8 bits, even parity */
!   B38400,  BITS7 | ODDP,	/* 'x':38400 baud, 8 bits, odd parity */
! #endif
  };
  
  #define NPARAMSETS (sizeof uart / sizeof(struct uart))
***************
*** 100,106 ****
  
  char stack[STACKSIZE];		/* init's stack */
  char *stackpt = &stack[STACKSIZE];
! char **environ;			/* declaration required by library routines */
  extern int errno;
  
  char *CONSOLE = CONSNAME;	/* name of system console */
--- 112,118 ----
  
  char stack[STACKSIZE];		/* init's stack */
  char *stackpt = &stack[STACKSIZE];
! extern char **environ;			/* declaration required by library routines */
  extern int errno;
  
  char *CONSOLE = CONSNAME;	/* name of system console */
*** /home/phil/min1.5ref/tools/Makefile	Wed Nov 14 00:06:43 1990
--- tools/Makefile	Fri Dec  7 15:24:48 1990
***************
*** 1,10 ****
! l=/usr/lib
! CFLAGS = -F -D_POSIX_SOURCE -D_MINIX
! 
! all:	init bootblok build menu
! 
! init:	$l/libc.a init.s $l/head.s
! 	asld -o init  $l/head.s init.s $l/libc.a  $l/end.s
  	@echo init done.
  
  # bootblok.s is the source of the MINIX boot block.  The bootblock is the
--- 1,12 ----
! # modified for the pc532
! l=/lib
! CFLAGS = -D_POSIX_SOURCE -D_MINIX 
! 
! all:	init # bootblok build menu
! 
! init:	init.o
! 	cc -o init init.o
! #	ld -o init  $l/crtso.o init.o $l/libc.a
  	@echo init done.
  
  # bootblok.s is the source of the MINIX boot block.  The bootblock is the
***************
*** 58,61 ****
  	@cp net_image /dev/fd0
  
  clean:	
! 	@rm -f *.bak
--- 60,63 ----
  	@cp net_image /dev/fd0
  
  clean:	
! 	rm -f *.bak *~ *.o init 
