summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1998-10-06 07:41:49 +0000
committermsmith <msmith@FreeBSD.org>1998-10-06 07:41:49 +0000
commit6ca5ba53ae731fa7ccb5bf3b59805cad9ab08f8d (patch)
tree4e7a850ed3d4ba001a0544a2127f1235b374e0ba /release
parent26c527592251363f18fa4fc856e356b765889654 (diff)
downloadFreeBSD-src-6ca5ba53ae731fa7ccb5bf3b59805cad9ab08f8d.zip
FreeBSD-src-6ca5ba53ae731fa7ccb5bf3b59805cad9ab08f8d.tar.gz
Teach sysinstall about isa_devtab_cam
Diffstat (limited to 'release')
-rw-r--r--release/sysinstall/uc_isa.c5
-rw-r--r--release/sysinstall/uc_main.c3
-rw-r--r--release/sysinstall/uc_main.h27
3 files changed, 19 insertions, 16 deletions
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 <sys/types.h>
@@ -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 <sys/types.h>
@@ -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 */
OpenPOWER on IntegriCloud