From 6ca5ba53ae731fa7ccb5bf3b59805cad9ab08f8d Mon Sep 17 00:00:00 2001 From: msmith Date: Tue, 6 Oct 1998 07:41:49 +0000 Subject: Teach sysinstall about isa_devtab_cam --- release/sysinstall/uc_isa.c | 5 +++-- release/sysinstall/uc_main.c | 3 ++- release/sysinstall/uc_main.h | 27 ++++++++++++++------------- 3 files changed, 19 insertions(+), 16 deletions(-) (limited to 'release') diff --git a/release/sysinstall/uc_isa.c b/release/sysinstall/uc_isa.c index c8c7525..624fc08 100644 --- a/release/sysinstall/uc_isa.c +++ b/release/sysinstall/uc_isa.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id$ + * $Id: uc_isa.c,v 1.4 1997/02/22 14:12:27 peter Exp $ */ #include @@ -44,7 +44,8 @@ get_isa_info(struct kernel *kp){ char *name; if(kp->nl[ISA_BIOTAB].n_value || kp->nl[ISA_TTYTAB].n_value || kp->nl[ISA_NETTAB].n_value || - kp->nl[ISA_NULLTAB].n_value || kp->nl[ISA_WDCTAB].n_value || kp->nl[ISA_FDCTAB].n_value) { + kp->nl[ISA_CAMTAB].n_value || kp->nl[ISA_NULLTAB].n_value || + kp->nl[ISA_WDCTAB].n_value || kp->nl[ISA_FDCTAB].n_value) { idp = kp->isa_devp = (struct uc_isa *)malloc(sizeof(struct uc_isa)); total=0; /* a running total of the number of isa devices */ diff --git a/release/sysinstall/uc_main.c b/release/sysinstall/uc_main.c index 0d1d10a..886e034 100644 --- a/release/sysinstall/uc_main.c +++ b/release/sysinstall/uc_main.c @@ -24,7 +24,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * library functions for userconfig library * - * $Id: uc_main.c,v 1.21 1998/09/30 20:51:01 jkh Exp $ + * $Id: uc_main.c,v 1.22 1998/09/30 20:54:34 jkh Exp $ */ #include @@ -45,6 +45,7 @@ static struct nlist _nl[] = { {"_isa_devtab_bio"}, {"_isa_devtab_tty"}, {"_isa_devtab_net"}, + {"_isa_devtab_cam"}, {"_isa_devtab_null"}, {"_isa_biotab_wdc"}, {"_isa_biotab_fdc"}, diff --git a/release/sysinstall/uc_main.h b/release/sysinstall/uc_main.h index e1cd105..046a664 100644 --- a/release/sysinstall/uc_main.h +++ b/release/sysinstall/uc_main.h @@ -23,25 +23,26 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id$ + * $Id: uc_main.h,v 1.4 1997/02/22 14:12:32 peter Exp $ */ #define ISA_BIOTAB 0 #define ISA_TTYTAB 1 #define ISA_NETTAB 2 -#define ISA_NULLTAB 3 -#define ISA_WDCTAB 4 -#define ISA_FDCTAB 5 -#define EISA_SET 6 -#define EISA_LIST 7 -#define PCI_SET 8 -#define SCSI_LIST 9 -#define SCSI_BUSSES 10 -#define SCSI_CINIT 11 -#define SCSI_DINIT 12 -#define SCSI_TINIT 13 +#define ISA_CAMTAB 3 +#define ISA_NULLTAB 4 +#define ISA_WDCTAB 5 +#define ISA_FDCTAB 6 +#define EISA_SET 7 +#define EISA_LIST 8 +#define PCI_SET 9 +#define SCSI_LIST 10 +#define SCSI_BUSSES 11 +#define SCSI_CINIT 12 +#define SCSI_DINIT 13 +#define SCSI_TINIT 14 /* symbols + the null terminator */ -#define NSYMBOLS 15 +#define NSYMBOLS 16 struct kernel { int fd; /* file descriptor for the kernel image, either a binary or /dev/kmem */ -- cgit v1.1