summaryrefslogtreecommitdiffstats
path: root/sys/dev/smbus/smbconf.c
diff options
context:
space:
mode:
authornsouch <nsouch@FreeBSD.org>1999-01-09 18:08:24 +0000
committernsouch <nsouch@FreeBSD.org>1999-01-09 18:08:24 +0000
commite670443158fa0f8567cc666000f1cf5819c156ca (patch)
treedc9371aa53218a6e6b09f54a5dd8c837e4342de9 /sys/dev/smbus/smbconf.c
parent674988520c88d8bdd31977e29964f169a47a72b1 (diff)
downloadFreeBSD-src-e670443158fa0f8567cc666000f1cf5819c156ca.zip
FreeBSD-src-e670443158fa0f8567cc666000f1cf5819c156ca.tar.gz
Change /dev/smb and /dev/iic interface to allow user programs to interact with
devices dynamically. That means, + only one /dev/iic or /dev/smb device for each smb/iic bus to access + I2C/SMB device address must be given to any ioctl + new devices may be plugged and accessed after boot, which was impossible previously (device addresses were hardcoded into the kernel)
Diffstat (limited to 'sys/dev/smbus/smbconf.c')
-rw-r--r--sys/dev/smbus/smbconf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/smbus/smbconf.c b/sys/dev/smbus/smbconf.c
index dbf417b..458916f 100644
--- a/sys/dev/smbus/smbconf.c
+++ b/sys/dev/smbus/smbconf.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: smbconf.c,v 1.2 1998/10/31 11:39:54 nsouch Exp $
+ * $Id: smbconf.c,v 1.3 1998/11/22 22:01:42 nsouch Exp $
*
*/
#include <sys/param.h>
@@ -65,9 +65,6 @@ smbus_alloc_bus(device_t parent)
/* add the bus to the parent */
child = device_add_child(parent, "smbus", -1, NULL);
- if (child)
- device_set_desc(child, "System Management Bus");
-
return (child);
}
OpenPOWER on IntegriCloud