changes to allow fd as boot device.
This commit is contained in:
parent
75ab227d57
commit
be65617ad8
@ -38,7 +38,7 @@
|
||||
* from: Utah $Hdr: autoconf.c 1.31 91/01/21$
|
||||
*
|
||||
* @(#)autoconf.c 7.5 (Berkeley) 5/7/91
|
||||
* $Id: autoconf.c,v 1.15 1994/04/10 21:30:44 chopps Exp $
|
||||
* $Id: autoconf.c,v 1.16 1994/04/22 02:19:05 chopps Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -971,7 +971,7 @@ u_long bootdev; /* should be dev_t, but not until 32 bits */
|
||||
static char devname[][2] = {
|
||||
0,0, /* 0 = ct */
|
||||
0,0, /* 1 = xx */
|
||||
'r','d', /* 2 = rd */
|
||||
'f','d', /* 2 = rd */
|
||||
0,0, /* 3 = sw */
|
||||
's','d', /* 4 = sd */
|
||||
};
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)swapgeneric.c 7.5 (Berkeley) 5/7/91
|
||||
* $Id: swapgeneric.c,v 1.8 1994/02/28 06:05:49 chopps Exp $
|
||||
* $Id: swapgeneric.c,v 1.9 1994/04/22 02:19:07 chopps Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -58,7 +58,7 @@ struct swdevt swdevt[] = {
|
||||
};
|
||||
int dmmin, dmmax, dmtext;
|
||||
|
||||
/*extern struct driver rddriver;*/
|
||||
extern struct driver fddriver;
|
||||
extern struct driver sddriver;
|
||||
extern struct amiga_ctlr amiga_cinit[];
|
||||
extern struct amiga_device amiga_dinit[];
|
||||
@ -68,7 +68,7 @@ struct genericconf {
|
||||
char *gc_name;
|
||||
dev_t gc_root;
|
||||
} genericconf[] = {
|
||||
/* { (caddr_t)&rddriver, "rd", makedev(2, 0), },*/
|
||||
{ (caddr_t)&fddriver, "fd", makedev(2, 0), },*/
|
||||
{ (caddr_t)&sddriver, "sd", makedev(4, 0), },
|
||||
{ 0 },
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user