mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 22:12:43 +00:00
Close PR#2198:
I've added an installation from optical disk drive facility. This enables FreeBSD to be installed from an optical disk, which may be formatted in "super floppy" style or sliced into MSDOS-FS and UFS partitions. Note: ncr.c should be reviewed by Stefan Esser <se@freebsd.org> and cd.c by Joerg Wunsch <joerg@freebsd.org> before bringing this into 2.2. Submitted-By: Shunsuke Akiyama <akiyama@kme.mei.co.jp>
This commit is contained in:
parent
78b44da72f
commit
0b3870cb60
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=20390
@ -102,7 +102,7 @@
|
||||
# perfmon CPU performance-monitoring counters
|
||||
# pci PCI configuration-space access from user mode
|
||||
#
|
||||
# $Id: MAKEDEV,v 1.127 1996/11/01 08:49:13 bde Exp $
|
||||
# $Id: MAKEDEV,v 1.128 1996/11/14 14:28:26 andreas Exp $
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH
|
||||
@ -175,6 +175,7 @@ all)
|
||||
sh MAKEDEV std # standard
|
||||
sh MAKEDEV wd0 wd1 wd2 wd3 fd0 fd1 sd0 sd1 sd2 sd3 # bdev, disk
|
||||
sh MAKEDEV cd0 mcd0 scd0 matcd0 wcd0 # bdev, cdrom
|
||||
sh MAKEDEV od0 # bdev, ODD
|
||||
sh MAKEDEV ft0 wt0 st0 # bdev, tape
|
||||
sh MAKEDEV ttyd0 ttyd1 ttyd2 ttyd3 # cdev, serial
|
||||
sh MAKEDEV cuaa0 cuaa1 cuaa2 cuaa3 # cdev, serial
|
||||
|
@ -102,7 +102,7 @@
|
||||
# perfmon CPU performance-monitoring counters
|
||||
# pci PCI configuration-space access from user mode
|
||||
#
|
||||
# $Id: MAKEDEV,v 1.127 1996/11/01 08:49:13 bde Exp $
|
||||
# $Id: MAKEDEV,v 1.128 1996/11/14 14:28:26 andreas Exp $
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH
|
||||
@ -175,6 +175,7 @@ all)
|
||||
sh MAKEDEV std # standard
|
||||
sh MAKEDEV wd0 wd1 wd2 wd3 fd0 fd1 sd0 sd1 sd2 sd3 # bdev, disk
|
||||
sh MAKEDEV cd0 mcd0 scd0 matcd0 wcd0 # bdev, cdrom
|
||||
sh MAKEDEV od0 # bdev, ODD
|
||||
sh MAKEDEV ft0 wt0 st0 # bdev, tape
|
||||
sh MAKEDEV ttyd0 ttyd1 ttyd2 ttyd3 # cdev, serial
|
||||
sh MAKEDEV cuaa0 cuaa1 cuaa2 cuaa3 # cdev, serial
|
||||
|
@ -6,7 +6,7 @@
|
||||
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
||||
* ----------------------------------------------------------------------------
|
||||
*
|
||||
* $Id: create_chunk.c,v 1.23 1996/03/24 18:55:37 joerg Exp $
|
||||
* $Id: create_chunk.c,v 1.24 1996/04/29 05:03:01 jkh Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -257,6 +257,8 @@ MakeDev(struct chunk *c1, const char *path)
|
||||
bmaj = 0, cmaj = 3;
|
||||
else if (!strncmp(p, "sd", 2))
|
||||
bmaj = 4, cmaj = 13;
|
||||
else if (!strncmp(p, "od", 2))
|
||||
bmaj = 20, cmaj = 70;
|
||||
else {
|
||||
return 0;
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
||||
* ----------------------------------------------------------------------------
|
||||
*
|
||||
* $Id: disk.c,v 1.22 1996/04/29 05:03:02 jkh Exp $
|
||||
* $Id: disk.c,v 1.23 1996/11/27 22:44:33 phk Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -285,7 +285,7 @@ Collapse_Disk(struct disk *d)
|
||||
}
|
||||
#endif
|
||||
|
||||
static char * device_list[] = {"wd","sd",0};
|
||||
static char * device_list[] = {"wd","sd","od",0};
|
||||
|
||||
char **
|
||||
Disk_Names()
|
||||
|
@ -11,7 +11,7 @@
|
||||
# device lines is present in the ./LINT configuration file. If you are
|
||||
# in doubt as to the purpose or necessity of a line, check first in LINT.
|
||||
#
|
||||
# $Id: GENERIC,v 1.77 1996/10/28 06:05:56 gibbs Exp $
|
||||
# $Id: GENERIC,v 1.78 1996/11/16 01:09:17 gibbs Exp $
|
||||
|
||||
machine "i386"
|
||||
cpu "I386_CPU"
|
||||
@ -62,6 +62,7 @@ device wcd0 #IDE CD-ROM
|
||||
# A single entry for any of these controllers (ncr, ahb, ahc) is sufficient
|
||||
# for any number of installed devices.
|
||||
controller ncr0
|
||||
options MAX_LUN=2 #ncr0: for PD drive
|
||||
controller ahb0
|
||||
controller ahc0
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
# device lines is present in the ./LINT configuration file. If you are
|
||||
# in doubt as to the purpose or necessity of a line, check first in LINT.
|
||||
#
|
||||
# $Id: GENERIC,v 1.77 1996/10/28 06:05:56 gibbs Exp $
|
||||
# $Id: GENERIC,v 1.78 1996/11/16 01:09:17 gibbs Exp $
|
||||
|
||||
machine "i386"
|
||||
cpu "I386_CPU"
|
||||
@ -62,6 +62,7 @@ device wcd0 #IDE CD-ROM
|
||||
# A single entry for any of these controllers (ncr, ahb, ahc) is sufficient
|
||||
# for any number of installed devices.
|
||||
controller ncr0
|
||||
options MAX_LUN=2 #ncr0: for PD drive
|
||||
controller ahb0
|
||||
controller ahc0
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/**************************************************************************
|
||||
**
|
||||
** $Id: ncr.c,v 1.82 1996/10/14 10:09:52 se Exp $
|
||||
** $Id: ncr.c,v 1.83 1996/11/08 23:46:04 se Exp $
|
||||
**
|
||||
** Device driver for the NCR 53C810 PCI-SCSI-Controller.
|
||||
**
|
||||
@ -53,7 +53,9 @@
|
||||
|
||||
#ifdef FAILSAFE
|
||||
#define SCSI_NCR_DFLT_TAGS (0)
|
||||
#ifndef MAX_LUN
|
||||
#define MAX_LUN (1)
|
||||
#endif /* MAX_LUN */
|
||||
#define CDROM_ASYNC
|
||||
#endif /* FAILSAFE */
|
||||
|
||||
@ -1250,7 +1252,7 @@ static void ncr_attach (pcici_t tag, int unit);
|
||||
|
||||
|
||||
static char ident[] =
|
||||
"\n$Id: ncr.c,v 1.82 1996/10/14 10:09:52 se Exp $\n";
|
||||
"\n$Id: ncr.c,v 1.83 1996/11/08 23:46:04 se Exp $\n";
|
||||
|
||||
static const u_long ncr_version = NCR_VERSION * 11
|
||||
+ (u_long) sizeof (struct ncb) * 7
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
|
||||
*
|
||||
* $Id: cd.c,v 1.72 1996/07/23 21:52:18 phk Exp $
|
||||
* $Id: cd.c,v 1.73 1996/09/06 23:09:06 phk Exp $
|
||||
*/
|
||||
|
||||
#include "opt_bounce.h"
|
||||
@ -200,7 +200,7 @@ cdattach(struct scsi_link *sc_link)
|
||||
if (sc_link->quirks & CD_Q_NO_TOUCH) {
|
||||
dp->disksize = 0;
|
||||
} else {
|
||||
cd_get_parms(unit, SCSI_NOSLEEP | SCSI_NOMASK);
|
||||
cd_get_parms(unit, SCSI_NOSLEEP | SCSI_NOMASK | SCSI_SILENT);
|
||||
}
|
||||
if (dp->disksize) {
|
||||
printf("cd present [%ld x %ld byte records]",
|
||||
|
Loading…
Reference in New Issue
Block a user