summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/gsc.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-04-13 12:18:45 +0000
committerbde <bde@FreeBSD.org>1996-04-13 12:18:45 +0000
commite97a7a15c60a5616debcd9cc097e3510d9eca133 (patch)
treeb1651691b1fc4720f650a4e1fa25c32f8b71de65 /sys/i386/isa/gsc.c
parente09f62677a421d856ae544d2d06e7b6761097e5c (diff)
downloadFreeBSD-src-e97a7a15c60a5616debcd9cc097e3510d9eca133.zip
FreeBSD-src-e97a7a15c60a5616debcd9cc097e3510d9eca133.tar.gz
Declared `unittab' as static. It was bogusly shared between the asc and
gsc drivers.
Diffstat (limited to 'sys/i386/isa/gsc.c')
-rw-r--r--sys/i386/isa/gsc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/i386/isa/gsc.c b/sys/i386/isa/gsc.c
index c92e3d0..430a44b 100644
--- a/sys/i386/isa/gsc.c
+++ b/sys/i386/isa/gsc.c
@@ -160,7 +160,9 @@ struct gsc_unit {
void *devfs_gscd;
void *devfs_gscpd;
#endif
-} unittab[NGSC];
+};
+
+static struct gsc_unit unittab[NGSC];
/* I could not find a reasonable buffer size limit other than by
* experiments. MAXPHYS is obviously too much, while DEV_BSIZE and
OpenPOWER on IntegriCloud