Declared `unittab' as static. It was bogusly shared between the asc and
gsc drivers.
This commit is contained in:
parent
39cef8f8cb
commit
65a59d4b3f
@ -34,7 +34,7 @@
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
/*
|
||||
* $Id: asc.c,v 1.17 1996/03/28 14:28:35 scrappy Exp $
|
||||
* $Id: asc.c,v 1.18 1996/04/08 19:40:54 smpatel Exp $
|
||||
*/
|
||||
|
||||
#include "asc.h"
|
||||
@ -180,7 +180,9 @@ struct asc_unit {
|
||||
void *devfs_ascd;
|
||||
void *devfs_ascpd;
|
||||
#endif
|
||||
} unittab[NASC];
|
||||
};
|
||||
|
||||
static struct asc_unit unittab[NASC];
|
||||
|
||||
/*** I could not find a reasonable buffer size limit other than by
|
||||
*** experiments. MAXPHYS is obviously too much, while DEV_BSIZE and
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user