diff --git a/sys/conf/NOTES b/sys/conf/NOTES index 74166caf736..f09d3fbb730 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -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.565 1999/03/10 14:47:41 yokota Exp $ +# $Id: LINT,v 1.566 1999/03/13 06:32:06 grog 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 @@ -1474,6 +1474,7 @@ device joy0 at isa? port IO_GAME device cy0 at isa? tty irq 10 iomem 0xd4000 iosiz 0x2000 options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared device dgb0 at isa? port 0x220 iomem 0xfc000 iosiz ? tty +options "NDGBPORTS=16" # Defaults to 16*NDGB device dgm0 at isa? port 0x104 iomem 0xd0000 iosiz ? tty device labpc0 at isa? port 0x260 tty irq 5 device rc0 at isa? port 0x220 tty irq 12 diff --git a/sys/conf/options.i386 b/sys/conf/options.i386 index ee6cf78417b..840fa55bb35 100644 --- a/sys/conf/options.i386 +++ b/sys/conf/options.i386 @@ -1,4 +1,4 @@ -# $Id: options.i386,v 1.108 1999/03/10 10:11:42 julian Exp $ +# $Id: options.i386,v 1.109 1999/03/10 10:36:30 yokota Exp $ DISABLE_PSE IDE_DELAY @@ -179,6 +179,11 @@ IPR_VJ opt_i4b.h OLTR_NO_TMS_MAC opt_oltr.h OLTR_NO_HAWKEYE_MAC opt_oltr.h OLTR_NO_BULLSEYE_MAC opt_oltr.h + +# Total number of ports controlled by the dgb(4) driver. +# Defaults to NDGB*16. +NDGBPORTS opt_dgb.h + # ------------------------------- # EOF # ------------------------------- diff --git a/sys/dev/dgb/dgb.c b/sys/dev/dgb/dgb.c index 14211bc7b7a..1fa9832dc6d 100644 --- a/sys/dev/dgb/dgb.c +++ b/sys/dev/dgb/dgb.c @@ -1,5 +1,5 @@ /*- - * dgb.c $Id: dgb.c,v 1.41 1998/12/07 21:58:17 archie Exp $ + * dgb.c $Id: dgb.c,v 1.42 1999/01/30 12:17:32 phk Exp $ * * Digiboard driver. * @@ -29,6 +29,7 @@ #include "opt_compat.h" #include "opt_devfs.h" +#include "opt_dgb.h" #include "dgb.h" diff --git a/sys/gnu/i386/isa/dgb.c b/sys/gnu/i386/isa/dgb.c index 14211bc7b7a..1fa9832dc6d 100644 --- a/sys/gnu/i386/isa/dgb.c +++ b/sys/gnu/i386/isa/dgb.c @@ -1,5 +1,5 @@ /*- - * dgb.c $Id: dgb.c,v 1.41 1998/12/07 21:58:17 archie Exp $ + * dgb.c $Id: dgb.c,v 1.42 1999/01/30 12:17:32 phk Exp $ * * Digiboard driver. * @@ -29,6 +29,7 @@ #include "opt_compat.h" #include "opt_devfs.h" +#include "opt_dgb.h" #include "dgb.h" diff --git a/sys/i386/conf/LINT b/sys/i386/conf/LINT index 74166caf736..f09d3fbb730 100644 --- a/sys/i386/conf/LINT +++ b/sys/i386/conf/LINT @@ -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.565 1999/03/10 14:47:41 yokota Exp $ +# $Id: LINT,v 1.566 1999/03/13 06:32:06 grog 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 @@ -1474,6 +1474,7 @@ device joy0 at isa? port IO_GAME device cy0 at isa? tty irq 10 iomem 0xd4000 iosiz 0x2000 options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared device dgb0 at isa? port 0x220 iomem 0xfc000 iosiz ? tty +options "NDGBPORTS=16" # Defaults to 16*NDGB device dgm0 at isa? port 0x104 iomem 0xd0000 iosiz ? tty device labpc0 at isa? port 0x260 tty irq 5 device rc0 at isa? port 0x220 tty irq 12 diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES index 74166caf736..f09d3fbb730 100644 --- a/sys/i386/conf/NOTES +++ b/sys/i386/conf/NOTES @@ -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.565 1999/03/10 14:47:41 yokota Exp $ +# $Id: LINT,v 1.566 1999/03/13 06:32:06 grog 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 @@ -1474,6 +1474,7 @@ device joy0 at isa? port IO_GAME device cy0 at isa? tty irq 10 iomem 0xd4000 iosiz 0x2000 options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared device dgb0 at isa? port 0x220 iomem 0xfc000 iosiz ? tty +options "NDGBPORTS=16" # Defaults to 16*NDGB device dgm0 at isa? port 0x104 iomem 0xd0000 iosiz ? tty device labpc0 at isa? port 0x260 tty irq 5 device rc0 at isa? port 0x220 tty irq 12 diff --git a/sys/i386/conf/options.i386 b/sys/i386/conf/options.i386 index ee6cf78417b..840fa55bb35 100644 --- a/sys/i386/conf/options.i386 +++ b/sys/i386/conf/options.i386 @@ -1,4 +1,4 @@ -# $Id: options.i386,v 1.108 1999/03/10 10:11:42 julian Exp $ +# $Id: options.i386,v 1.109 1999/03/10 10:36:30 yokota Exp $ DISABLE_PSE IDE_DELAY @@ -179,6 +179,11 @@ IPR_VJ opt_i4b.h OLTR_NO_TMS_MAC opt_oltr.h OLTR_NO_HAWKEYE_MAC opt_oltr.h OLTR_NO_BULLSEYE_MAC opt_oltr.h + +# Total number of ports controlled by the dgb(4) driver. +# Defaults to NDGB*16. +NDGBPORTS opt_dgb.h + # ------------------------------- # EOF # -------------------------------