diff options
| author | plunky <plunky@NetBSD.org> | 2006-08-20 07:06:57 +0000 |
|---|---|---|
| committer | plunky <plunky@NetBSD.org> | 2006-08-20 07:06:57 +0000 |
| commit | 066074b94feaf7f2ecf501a511cf6bdeb06d0aef (patch) | |
| tree | 71fc37ce2f84f0efdbebcc40fd857d6c19b7d52e /sys/dev | |
| parent | 09a207d68fcd66c0f5434bdb6b575fb7e072893e (diff) | |
Make btdev default count explicit
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/bluetooth/btdev.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/dev/bluetooth/btdev.c b/sys/dev/bluetooth/btdev.c index 91fe80f6647..ff64dbf4688 100644 --- a/sys/dev/bluetooth/btdev.c +++ b/sys/dev/bluetooth/btdev.c @@ -1,4 +1,4 @@ -/* $NetBSD: btdev.c,v 1.1 2006/07/26 10:38:51 tron Exp $ */ +/* $NetBSD: btdev.c,v 1.2 2006/08/20 07:06:58 plunky Exp $ */ /*- * Copyright (c) 2006 Itronix Inc. @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: btdev.c,v 1.1 2006/07/26 10:38:51 tron Exp $"); +__KERNEL_RCSID(0, "$NetBSD: btdev.c,v 1.2 2006/08/20 07:06:58 plunky Exp $"); #include <sys/param.h> #include <sys/conf.h> @@ -58,8 +58,6 @@ __KERNEL_RCSID(0, "$NetBSD: btdev.c,v 1.1 2006/07/26 10:38:51 tron Exp $"); * Each device corresponds to a character device /dev/btdevN */ -#define BTDEV_DEFAULT_COUNT 4 /* default number of btdevs */ - struct btdev_softc { struct device sc_dev; int sc_busy; @@ -109,9 +107,6 @@ btdevattach(int num) { int err, i; - if (num < 1) - num = BTDEV_DEFAULT_COUNT; - err = config_cfattach_attach(btdev_cd.cd_name, &btdev_ca); if (err) { aprint_error("%s: unable to register cfattach (%d)\n", |
