diff options
author | gibbs <gibbs@FreeBSD.org> | 1995-11-09 22:43:25 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1995-11-09 22:43:25 +0000 |
commit | a16fe2deb01f7d71e4b7caa137ee5066c5a5bd3c (patch) | |
tree | dfcff67802704cf79e8f40f72901dd4a0da68d62 /sys/dev | |
parent | ca5656172ec710b8f4e95aca397089b845ddf945 (diff) | |
download | FreeBSD-src-a16fe2deb01f7d71e4b7caa137ee5066c5a5bd3c.zip FreeBSD-src-a16fe2deb01f7d71e4b7caa137ee5066c5a5bd3c.tar.gz |
Convert Adaptec 1742 driver to new eisaconf interface.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/eisa/eisaconf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/eisa/eisaconf.c b/sys/dev/eisa/eisaconf.c index f108693..1bcf186 100644 --- a/sys/dev/eisa/eisaconf.c +++ b/sys/dev/eisa/eisaconf.c @@ -18,7 +18,7 @@ * 4. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: eisaconf.c,v 1.4 1995/11/06 05:20:59 gibbs Exp $ + * $Id: eisaconf.c,v 1.5 1995/11/09 07:14:11 gibbs Exp $ */ #include <sys/param.h> #include <sys/systm.h> @@ -111,12 +111,12 @@ eisa_configure() * be responsible for creating the list of devices in the system * for the configuration manager to use. */ - e_dev->full_name = (char *)malloc(14*sizeof(char), + e_dev->full_name = (char *)malloc(10*sizeof(char), M_DEVBUF, M_NOWAIT); if (!e_dev->full_name) { panic("Eisa probe unable to malloc"); } - sprintf(e_dev->full_name, "%c%c%c%x rev %x", + sprintf(e_dev->full_name, "%c%c%c%x%x", EISA_MFCTR_CHAR0(e_dev->id), EISA_MFCTR_CHAR1(e_dev->id), EISA_MFCTR_CHAR2(e_dev->id), |