patch-2.1.30 linux/arch/sparc/prom/console.c

Next file: linux/arch/sparc/prom/devops.c
Previous file: linux/arch/sparc/mm/srmmu.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.29/linux/arch/sparc/prom/console.c linux/arch/sparc/prom/console.c
@@ -1,4 +1,4 @@
-/* $Id: console.c,v 1.10 1996/12/18 06:46:54 tridge Exp $
+/* $Id: console.c,v 1.11 1997/03/18 17:58:10 jj Exp $
  * console.c: Routines that deal with sending and receiving IO
  *            to/from the current console device using the PROM.
  *
@@ -31,7 +31,6 @@
 		break;
 	case PROM_V2:
 	case PROM_V3:
-	case PROM_P1275:
 		if( (*(romvec->pv_v2devops).v2_dev_read)(*romvec->pv_v2bootargs.fd_stdin , &inc, 0x1) == 1) {
 			i = inc;
 		} else {
@@ -66,7 +65,6 @@
 		break;
 	case PROM_V2:
 	case PROM_V3:
-	case PROM_P1275:
 		outc = c;
 		if( (*(romvec->pv_v2devops).v2_dev_write)(*romvec->pv_v2bootargs.fd_stdout, &outc, 0x1) == 1)
 			i = 0;
@@ -129,7 +127,6 @@
 			return PROMDEV_I_UNK;
 		};
 	case PROM_V3:
-	case PROM_P1275:
 		save_flags(flags); cli();
 		st_p = (*romvec->pv_v2devops.v2_inst2pkg)(*romvec->pv_v2bootargs.fd_stdin);
 		__asm__ __volatile__("ld [%0], %%g6\n\t" : :
@@ -177,7 +174,6 @@
 		break;
 	case PROM_V2:
 	case PROM_V3:
-	case PROM_P1275:
 		save_flags(flags); cli();
 		st_p = (*romvec->pv_v2devops.v2_inst2pkg)(*romvec->pv_v2bootargs.fd_stdout);
 		__asm__ __volatile__("ld [%0], %%g6\n\t" : :

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov