remove old, unused, framework for boot device detection. It's going

to be replaced by something new and working.
This commit is contained in:
cgd 1996-06-12 19:00:17 +00:00
parent d16dcebba7
commit 5006cfa9ac
11 changed files with 11 additions and 75 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_2100_a50.c,v 1.6 1996/04/15 18:58:20 cgd Exp $ */ /* $NetBSD: dec_2100_a50.c,v 1.7 1996/06/12 19:00:19 cgd Exp $ */
/* /*
* Copyright (c) 1995, 1996 Carnegie-Mellon University. * Copyright (c) 1995, 1996 Carnegie-Mellon University.
@ -136,11 +136,3 @@ dec_2100_a50_consinit(constype)
ctb->ctb_term_type); ctb->ctb_term_type);
} }
} }
dev_t
dec_2100_a50_bootdev(booted_dev)
char *booted_dev;
{
panic("gack.");
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_2100_a50.h,v 1.2 1995/08/03 01:12:20 cgd Exp $ */ /* $NetBSD: dec_2100_a50.h,v 1.3 1996/06/12 19:00:20 cgd Exp $ */
/* /*
* Copyright (c) 1995 Carnegie-Mellon University. * Copyright (c) 1995 Carnegie-Mellon University.
@ -29,4 +29,3 @@
char *dec_2100_a50_modelname __P((void)); char *dec_2100_a50_modelname __P((void));
void dec_2100_a50_consinit __P((char *)); void dec_2100_a50_consinit __P((char *));
dev_t dec_2100_a50_bootdev __P((char *));

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_3000_300.c,v 1.2 1995/08/03 01:12:21 cgd Exp $ */ /* $NetBSD: dec_3000_300.c,v 1.3 1996/06/12 19:00:21 cgd Exp $ */
/* /*
* Copyright (c) 1995 Carnegie-Mellon University. * Copyright (c) 1995 Carnegie-Mellon University.
@ -60,11 +60,3 @@ dec_3000_300_consinit(constype)
{ {
} }
dev_t
dec_3000_300_bootdev(booted_dev)
char *booted_dev;
{
panic("gack.");
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_3000_300.h,v 1.2 1995/08/03 01:12:23 cgd Exp $ */ /* $NetBSD: dec_3000_300.h,v 1.3 1996/06/12 19:00:22 cgd Exp $ */
/* /*
* Copyright (c) 1995 Carnegie-Mellon University. * Copyright (c) 1995 Carnegie-Mellon University.
@ -29,4 +29,3 @@
char *dec_3000_300_modelname __P((void)); char *dec_3000_300_modelname __P((void));
void dec_3000_300_consinit __P((char *)); void dec_3000_300_consinit __P((char *));
dev_t dec_3000_300_bootdev __P((char *));

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_3000_500.c,v 1.1 1995/08/03 00:57:26 cgd Exp $ */ /* $NetBSD: dec_3000_500.c,v 1.2 1996/06/12 19:00:23 cgd Exp $ */
/* /*
* Copyright (c) 1994, 1995 Carnegie-Mellon University. * Copyright (c) 1994, 1995 Carnegie-Mellon University.
@ -78,11 +78,3 @@ dec_3000_500_consinit(constype)
{ {
} }
dev_t
dec_3000_500_bootdev(booted_dev)
char *booted_dev;
{
panic("gack.");
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_3000_500.h,v 1.2 1995/08/03 01:12:25 cgd Exp $ */ /* $NetBSD: dec_3000_500.h,v 1.3 1996/06/12 19:00:24 cgd Exp $ */
/* /*
* Copyright (c) 1995 Carnegie-Mellon University. * Copyright (c) 1995 Carnegie-Mellon University.
@ -29,4 +29,3 @@
char *dec_3000_500_modelname __P((void)); char *dec_3000_500_modelname __P((void));
void dec_3000_500_consinit __P((char *)); void dec_3000_500_consinit __P((char *));
dev_t dec_3000_500_bootdev __P((char *));

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_axppci_33.c,v 1.4 1996/04/15 18:58:22 cgd Exp $ */ /* $NetBSD: dec_axppci_33.c,v 1.5 1996/06/12 19:00:25 cgd Exp $ */
/* /*
* Copyright (c) 1995, 1996 Carnegie-Mellon University. * Copyright (c) 1995, 1996 Carnegie-Mellon University.
@ -119,11 +119,3 @@ dec_axppci_33_consinit(constype)
ctb->ctb_term_type); ctb->ctb_term_type);
} }
} }
dev_t
dec_axppci_33_bootdev(booted_dev)
char *booted_dev;
{
panic("gack.");
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_axppci_33.h,v 1.1 1995/11/23 02:33:57 cgd Exp $ */ /* $NetBSD: dec_axppci_33.h,v 1.2 1996/06/12 19:00:26 cgd Exp $ */
/* /*
* Copyright (c) 1995 Carnegie-Mellon University. * Copyright (c) 1995 Carnegie-Mellon University.
@ -29,4 +29,3 @@
char *dec_axppci_33_modelname __P((void)); char *dec_axppci_33_modelname __P((void));
void dec_axppci_33_consinit __P((char *)); void dec_axppci_33_consinit __P((char *));
dev_t dec_axppci_33_bootdev __P((char *));

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_kn20aa.c,v 1.4 1996/04/15 18:58:25 cgd Exp $ */ /* $NetBSD: dec_kn20aa.c,v 1.5 1996/06/12 19:00:28 cgd Exp $ */
/* /*
* Copyright (c) 1995, 1996 Carnegie-Mellon University. * Copyright (c) 1995, 1996 Carnegie-Mellon University.
@ -119,11 +119,3 @@ dec_kn20aa_consinit(constype)
ctb->ctb_term_type); ctb->ctb_term_type);
} }
} }
dev_t
dec_kn20aa_bootdev(booted_dev)
char *booted_dev;
{
panic("gack.");
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_kn20aa.h,v 1.1 1995/11/23 02:34:03 cgd Exp $ */ /* $NetBSD: dec_kn20aa.h,v 1.2 1996/06/12 19:00:29 cgd Exp $ */
/* /*
* Copyright (c) 1995 Carnegie-Mellon University. * Copyright (c) 1995 Carnegie-Mellon University.
@ -29,4 +29,3 @@
char *dec_kn20aa_modelname __P((void)); char *dec_kn20aa_modelname __P((void));
void dec_kn20aa_consinit __P((char *)); void dec_kn20aa_consinit __P((char *));
dev_t dec_kn20aa_bootdev __P((char *));

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.22 1996/06/12 01:38:09 cgd Exp $ */ /* $NetBSD: machdep.c,v 1.23 1996/06/12 19:00:17 cgd Exp $ */
/* /*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@ -175,7 +175,6 @@ int ncpus;
/* various CPU-specific functions. */ /* various CPU-specific functions. */
char *(*cpu_modelname) __P((void)); char *(*cpu_modelname) __P((void));
void (*cpu_consinit) __P((char *)); void (*cpu_consinit) __P((char *));
dev_t (*cpu_bootdev) __P((char *));
char *cpu_iobus; char *cpu_iobus;
char *boot_file, *boot_flags, *boot_console, *boot_dev; char *boot_file, *boot_flags, *boot_console, *boot_dev;
@ -362,7 +361,6 @@ alpha_init(pfn, ptb, argc, argv, envp)
case ST_DEC_3000_500: case ST_DEC_3000_500:
cpu_modelname = dec_3000_500_modelname; cpu_modelname = dec_3000_500_modelname;
cpu_consinit = dec_3000_500_consinit; cpu_consinit = dec_3000_500_consinit;
cpu_bootdev = dec_3000_500_bootdev;
cpu_iobus = "tcasic"; cpu_iobus = "tcasic";
break; break;
#endif #endif
@ -371,7 +369,6 @@ alpha_init(pfn, ptb, argc, argv, envp)
case ST_DEC_3000_300: case ST_DEC_3000_300:
cpu_modelname = dec_3000_300_modelname; cpu_modelname = dec_3000_300_modelname;
cpu_consinit = dec_3000_300_consinit; cpu_consinit = dec_3000_300_consinit;
cpu_bootdev = dec_3000_300_bootdev;
cpu_iobus = "tcasic"; cpu_iobus = "tcasic";
break; break;
#endif #endif
@ -380,7 +377,6 @@ alpha_init(pfn, ptb, argc, argv, envp)
case ST_DEC_2100_A50: case ST_DEC_2100_A50:
cpu_modelname = dec_2100_a50_modelname; cpu_modelname = dec_2100_a50_modelname;
cpu_consinit = dec_2100_a50_consinit; cpu_consinit = dec_2100_a50_consinit;
cpu_bootdev = dec_2100_a50_bootdev;
cpu_iobus = "apecs"; cpu_iobus = "apecs";
break; break;
#endif #endif
@ -389,7 +385,6 @@ alpha_init(pfn, ptb, argc, argv, envp)
case ST_DEC_KN20AA: case ST_DEC_KN20AA:
cpu_modelname = dec_kn20aa_modelname; cpu_modelname = dec_kn20aa_modelname;
cpu_consinit = dec_kn20aa_consinit; cpu_consinit = dec_kn20aa_consinit;
cpu_bootdev = dec_kn20aa_bootdev;
cpu_iobus = "cia"; cpu_iobus = "cia";
break; break;
#endif #endif
@ -398,7 +393,6 @@ alpha_init(pfn, ptb, argc, argv, envp)
case ST_DEC_AXPPCI_33: case ST_DEC_AXPPCI_33:
cpu_modelname = dec_axppci_33_modelname; cpu_modelname = dec_axppci_33_modelname;
cpu_consinit = dec_axppci_33_consinit; cpu_consinit = dec_axppci_33_consinit;
cpu_bootdev = dec_axppci_33_bootdev;
cpu_iobus = "lca"; cpu_iobus = "lca";
break; break;
#endif #endif
@ -407,7 +401,6 @@ alpha_init(pfn, ptb, argc, argv, envp)
case ST_DEC_2000_300: case ST_DEC_2000_300:
cpu_modelname = dec_2000_300_modelname; cpu_modelname = dec_2000_300_modelname;
cpu_consinit = dec_2000_300_consinit; cpu_consinit = dec_2000_300_consinit;
cpu_bootdev = dec_2000_300_bootdev;
cpu_iobus = "ibus"; cpu_iobus = "ibus";
XXX DEC 2000/300 NOT SUPPORTED XXX DEC 2000/300 NOT SUPPORTED
break; break;
@ -417,7 +410,6 @@ alpha_init(pfn, ptb, argc, argv, envp)
case ST_DEC_21000: case ST_DEC_21000:
cpu_modelname = dec_21000_modelname; cpu_modelname = dec_21000_modelname;
cpu_consinit = dec_21000_consinit; cpu_consinit = dec_21000_consinit;
cpu_bootdev = dec_21000_bootdev;
cpu_iobus = "tlsb"; cpu_iobus = "tlsb";
break; break;
#endif #endif
@ -566,17 +558,6 @@ alpha_init(pfn, ptb, argc, argv, envp)
/* FALLTHRU */ /* FALLTHRU */
} }
/*
* Look at arguments and compute bootdev.
* XXX NOT HERE.
*/
#if 0
{ /* XXX */
extern dev_t bootdev; /* XXX */
bootdev = (*cpu_bootdev)(boot_dev);
} /* XXX */
#endif
/* /*
* Look at arguments passed to us and compute boothowto. * Look at arguments passed to us and compute boothowto.
*/ */