Subject: Re: problem compiling current kernel
To: Kevin <kev@drule.org>
From: Matthias Drochner <drochner@zel459.zel.kfa-juelich.de>
List: port-alpha
Date: 03/28/1999 15:56:44
kev@drule.org said:
> Is there something in my config file I should change? I commented out
> everything I *thought* I didn't need.(pci,isa, and all that crap that
> goes with it.) This is on a DEC 3000/300.
You obviously removed all of the graphics console support.
Should be legal, however...
I think I've fixed the link error. Can you try the appended patch?
best regards
Matthias
Index: alpha/dec_3000_300.c
===================================================================
RCS file: /cvsroot/src/sys/arch/alpha/alpha/dec_3000_300.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -c -2 -r1.24 -r1.25
*** dec_3000_300.c 1999/02/26 03:57:10 1.24
--- dec_3000_300.c 1999/03/28 13:48:40 1.25
***************
*** 1,3 ****
! /* $NetBSD: dec_3000_300.c,v 1.24 1999/02/26 03:57:10 thorpej Exp $ */
/*
--- 1,3 ----
! /* $NetBSD: dec_3000_300.c,v 1.25 1999/03/28 13:48:40 drochner Exp $ */
/*
***************
*** 34,38 ****
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
! __KERNEL_RCSID(0, "$NetBSD: dec_3000_300.c,v 1.24 1999/02/26 03:57:10
thorpej Exp $");
#include "opt_new_scc_driver.h"
--- 34,38 ----
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
! __KERNEL_RCSID(0, "$NetBSD: dec_3000_300.c,v 1.25 1999/03/28 13:48:40
drochner Exp $");
#include "opt_new_scc_driver.h"
***************
*** 58,61 ****
--- 58,63 ----
#include <dev/scsipi/scsiconf.h>
+ #include "wsdisplay.h"
+
void dec_3000_300_init __P((void));
static void dec_3000_300_cons_init __P((void));
***************
*** 99,102 ****
--- 101,105 ----
switch (ctb->ctb_term_type) {
case CTB_GRAPHICS:
+ #if NWSDISPLAY > 0
/* display console ... */
if (zs_ioasic_lk201_cnattach(0x1a0000000, 0x00180000, 0)
***************
*** 104,107 ****
--- 107,111 ----
break;
}
+ #endif
printf("consinit: Unable to init console on keyboard and ");
printf("TURBOchannel slot 0x%lx.\n", ctb->ctb_turboslot);
Index: alpha/dec_3000_500.c
===================================================================
RCS file: /cvsroot/src/sys/arch/alpha/alpha/dec_3000_500.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -c -2 -r1.23 -r1.24
*** dec_3000_500.c 1999/02/26 03:57:11 1.23
--- dec_3000_500.c 1999/03/28 13:48:40 1.24
***************
*** 1,3 ****
! /* $NetBSD: dec_3000_500.c,v 1.23 1999/02/26 03:57:11 thorpej Exp $ */
/*
--- 1,3 ----
! /* $NetBSD: dec_3000_500.c,v 1.24 1999/03/28 13:48:40 drochner Exp $ */
/*
***************
*** 33,37 ****
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
! __KERNEL_RCSID(0, "$NetBSD: dec_3000_500.c,v 1.23 1999/02/26 03:57:11
thorpej Exp $");
#include "opt_new_scc_driver.h"
--- 33,37 ----
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
! __KERNEL_RCSID(0, "$NetBSD: dec_3000_500.c,v 1.24 1999/03/28 13:48:40
drochner Exp $");
#include "opt_new_scc_driver.h"
***************
*** 58,61 ****
--- 58,63 ----
#include <dev/scsipi/scsiconf.h>
+ #include "wsdisplay.h"
+
void dec_3000_500_init __P((void));
static void dec_3000_500_cons_init __P((void));
***************
*** 119,122 ****
--- 121,125 ----
switch (ctb->ctb_term_type) {
case CTB_GRAPHICS:
+ #if NWSDISPLAY > 0
/* display console ... */
if (zs_ioasic_lk201_cnattach(0x1e0000000, 0x00180000, 0)
***************
*** 124,127 ****
--- 127,131 ----
break;
}
+ #endif
printf("consinit: Unable to init console on keyboard and ");
printf("TURBOchannel slot 0x%lx.\n", ctb->ctb_turboslot);
Index: tc/tc_3000_300.c
===================================================================
RCS file: /cvsroot/src/sys/arch/alpha/tc/tc_3000_300.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -c -2 -r1.18 -r1.19
*** tc_3000_300.c 1999/02/12 01:49:07 1.18
--- tc_3000_300.c 1999/03/28 13:48:40 1.19
***************
*** 1,3 ****
! /* $NetBSD: tc_3000_300.c,v 1.18 1999/02/12 01:49:07 thorpej Exp $ */
/*
--- 1,3 ----
! /* $NetBSD: tc_3000_300.c,v 1.19 1999/03/28 13:48:40 drochner Exp $ */
/*
***************
*** 30,34 ****
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
! __KERNEL_RCSID(0, "$NetBSD: tc_3000_300.c,v 1.18 1999/02/12 01:49:07 thorpej
Exp $");
#include <sys/param.h>
--- 30,34 ----
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
! __KERNEL_RCSID(0, "$NetBSD: tc_3000_300.c,v 1.19 1999/03/28 13:48:40
drochner Exp $");
#include <sys/param.h>
***************
*** 47,50 ****
--- 47,51 ----
#include <alpha/tc/ioasicreg.h>
+ #include "wsdisplay.h"
#include "sfb.h"
***************
*** 269,272 ****
--- 270,274 ----
}
+ #if NWSDISPLAY > 0
/*
* tc_3000_300_fb_cnattach --
***************
*** 297,298 ****
--- 299,301 ----
return tc_fb_cnattach(tc_3000_300_slots[output_slot-1].tcs_addr);
}
+ #endif /* NWSDISPLAY */
Index: tc/tc_3000_500.c
===================================================================
RCS file: /cvsroot/src/sys/arch/alpha/tc/tc_3000_500.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -c -2 -r1.18 -r1.19
*** tc_3000_500.c 1999/02/12 01:49:07 1.18
--- tc_3000_500.c 1999/03/28 13:48:40 1.19
***************
*** 1,3 ****
! /* $NetBSD: tc_3000_500.c,v 1.18 1999/02/12 01:49:07 thorpej Exp $ */
/*
--- 1,3 ----
! /* $NetBSD: tc_3000_500.c,v 1.19 1999/03/28 13:48:40 drochner Exp $ */
/*
***************
*** 30,34 ****
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
! __KERNEL_RCSID(0, "$NetBSD: tc_3000_500.c,v 1.18 1999/02/12 01:49:07 thorpej
Exp $");
#include <sys/param.h>
--- 30,34 ----
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
! __KERNEL_RCSID(0, "$NetBSD: tc_3000_500.c,v 1.19 1999/03/28 13:48:40
drochner Exp $");
#include <sys/param.h>
***************
*** 47,50 ****
--- 47,51 ----
#include <alpha/tc/tc_3000_500.h>
+ #include "wsdisplay.h"
#include "sfb.h"
***************
*** 269,272 ****
--- 270,274 ----
}
+ #if NWSDISPLAY > 0
/*
* tc_3000_500_fb_cnattach --
***************
*** 307,310 ****
--- 309,313 ----
return tc_fb_cnattach(tc_3000_500_slots[output_slot-1].tcs_addr);
}
+ #endif /* NWSDISPLAY */
#if 0