Make diskslice files standard and remove option DISKSLICE. ufs_disksubr.c

needed a diskslice function yesterday and all disk drivers will need it.
The diskslice initialization routine should be configurable (but isn't).
This commit is contained in:
bde 1995-02-23 17:19:54 +00:00
parent aca7bd6905
commit ba4ca27a89
6 changed files with 9 additions and 24 deletions

View File

@ -2,7 +2,7 @@
# LINT -- config file for checking all the sources, tries to pull in
# as much of the source tree as it can.
#
# $Id: LINT,v 1.145 1995/02/17 09:33:29 jkh Exp $
# $Id: LINT,v 1.146 1995/02/19 14:07:28 jkh Exp $
#
# NB: You probably don't want to try running a kernel built from this
# file. Instead, you should start from GENERIC, and add options from
@ -330,10 +330,6 @@ controller isa0
# than 16 megabytes of memory. It doesn't hurt on other machines.
# Some broken EISA and VLB hardware may need this, too.
#
# DISKSLICE provides support for slicing up a disk into virtual disks.
# It isn't really ISA-specific, but the on-disk slice table is currently
# required to be a DOS partition table.
#
# DUMMY_NOPS disables extra delays for some bus operations. The delays
# are mostly for older systems and aren't used consistently. Probably
# works OK on most EISA bus machines.
@ -348,7 +344,6 @@ controller isa0
options "AUTO_EOI_1"
#options "AUTO_EOI_2"
options BOUNCE_BUFFERS
options DISKSLICE
#options DUMMY_NOPS
#options TUNE_1542

View File

@ -69,8 +69,8 @@ kern/kern_synch.c standard
kern/kern_sysctl.c standard
kern/kern_time.c standard
kern/kern_xxx.c standard
kern/subr_diskslice.c optional diskslice
kern/subr_dkbad.c optional diskslice
kern/subr_diskslice.c standard
kern/subr_dkbad.c standard
kern/subr_log.c standard
kern/subr_prf.c standard
kern/subr_prof.c standard

View File

@ -1,7 +1,7 @@
# This file tells config what files go into building a kernel,
# files marked standard are always included.
#
# $Id: files.i386,v 1.83 1995/02/17 02:22:37 phk Exp $
# $Id: files.i386,v 1.84 1995/02/17 08:45:59 bde Exp $
#
aic7xxx optional ahc device-driver \
dependancy "$S/gnu/misc/aic7xxx/aic7xxx.c" \
@ -63,7 +63,7 @@ i386/isa/cronyx.c optional cx device-driver
i386/isa/ctx.c optional ctx device-driver
i386/isa/cx.c optional cx device-driver
i386/isa/cy.c optional cy device-driver
i386/isa/diskslice_machdep.c optional diskslice
i386/isa/diskslice_machdep.c standard
i386/isa/elink.c optional ep device-driver
i386/isa/elink.c optional ie device-driver
i386/isa/fd.c optional fd device-driver

View File

@ -2,7 +2,7 @@
# LINT -- config file for checking all the sources, tries to pull in
# as much of the source tree as it can.
#
# $Id: LINT,v 1.145 1995/02/17 09:33:29 jkh Exp $
# $Id: LINT,v 1.146 1995/02/19 14:07:28 jkh Exp $
#
# NB: You probably don't want to try running a kernel built from this
# file. Instead, you should start from GENERIC, and add options from
@ -330,10 +330,6 @@ controller isa0
# than 16 megabytes of memory. It doesn't hurt on other machines.
# Some broken EISA and VLB hardware may need this, too.
#
# DISKSLICE provides support for slicing up a disk into virtual disks.
# It isn't really ISA-specific, but the on-disk slice table is currently
# required to be a DOS partition table.
#
# DUMMY_NOPS disables extra delays for some bus operations. The delays
# are mostly for older systems and aren't used consistently. Probably
# works OK on most EISA bus machines.
@ -348,7 +344,6 @@ controller isa0
options "AUTO_EOI_1"
#options "AUTO_EOI_2"
options BOUNCE_BUFFERS
options DISKSLICE
#options DUMMY_NOPS
#options TUNE_1542

View File

@ -2,7 +2,7 @@
# LINT -- config file for checking all the sources, tries to pull in
# as much of the source tree as it can.
#
# $Id: LINT,v 1.145 1995/02/17 09:33:29 jkh Exp $
# $Id: LINT,v 1.146 1995/02/19 14:07:28 jkh Exp $
#
# NB: You probably don't want to try running a kernel built from this
# file. Instead, you should start from GENERIC, and add options from
@ -330,10 +330,6 @@ controller isa0
# than 16 megabytes of memory. It doesn't hurt on other machines.
# Some broken EISA and VLB hardware may need this, too.
#
# DISKSLICE provides support for slicing up a disk into virtual disks.
# It isn't really ISA-specific, but the on-disk slice table is currently
# required to be a DOS partition table.
#
# DUMMY_NOPS disables extra delays for some bus operations. The delays
# are mostly for older systems and aren't used consistently. Probably
# works OK on most EISA bus machines.
@ -348,7 +344,6 @@ controller isa0
options "AUTO_EOI_1"
#options "AUTO_EOI_2"
options BOUNCE_BUFFERS
options DISKSLICE
#options DUMMY_NOPS
#options TUNE_1542

View File

@ -1,7 +1,7 @@
# This file tells config what files go into building a kernel,
# files marked standard are always included.
#
# $Id: files.i386,v 1.83 1995/02/17 02:22:37 phk Exp $
# $Id: files.i386,v 1.84 1995/02/17 08:45:59 bde Exp $
#
aic7xxx optional ahc device-driver \
dependancy "$S/gnu/misc/aic7xxx/aic7xxx.c" \
@ -63,7 +63,7 @@ i386/isa/cronyx.c optional cx device-driver
i386/isa/ctx.c optional ctx device-driver
i386/isa/cx.c optional cx device-driver
i386/isa/cy.c optional cy device-driver
i386/isa/diskslice_machdep.c optional diskslice
i386/isa/diskslice_machdep.c standard
i386/isa/elink.c optional ep device-driver
i386/isa/elink.c optional ie device-driver
i386/isa/fd.c optional fd device-driver