diff options
author | eivind <eivind@FreeBSD.org> | 1998-12-09 02:56:48 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-12-09 02:56:48 +0000 |
commit | 931da048ad42e6b2c4c3f0b8eb61f95ac66fd734 (patch) | |
tree | b70bd22e9eb7e80b11e5739d7ce369c2dcb01312 /sys/i386/isa/ctx.c | |
parent | d2e462f8b8197c9ea459bf4c02ae572ef81d9560 (diff) | |
download | FreeBSD-src-931da048ad42e6b2c4c3f0b8eb61f95ac66fd734.zip FreeBSD-src-931da048ad42e6b2c4c3f0b8eb61f95ac66fd734.tar.gz |
Move the return so that the DEVFS code can execute, too. All code is
equal (it is just that some is more equal than other).
Diffstat (limited to 'sys/i386/isa/ctx.c')
-rw-r--r-- | sys/i386/isa/ctx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/ctx.c b/sys/i386/isa/ctx.c index 3e094ee..413302d 100644 --- a/sys/i386/isa/ctx.c +++ b/sys/i386/isa/ctx.c @@ -8,7 +8,7 @@ * of this software, nor does the author assume any responsibility * for damages incurred with its use. * - * $Id: ctx.c,v 1.27 1998/06/07 17:10:15 dfr Exp $ + * $Id: ctx.c,v 1.28 1998/06/14 10:52:52 bde Exp $ */ /* @@ -196,12 +196,12 @@ ctxattach(struct isa_device * devp) sr->iobase = devp->id_iobase; sr->maddr = devp->id_maddr; sr->msize = devp->id_msize; - return (1); #ifdef DEVFS sr->devfs_token = devfs_add_devswf(&ctx_cdevsw, 0, DV_CHR, 0, 0, 0600, "ctx%d", devp->id_unit); #endif /* DEVFS */ + return (1); } static int |