Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/i2c Also set ia.ia_size from size when doing direct ...
details: https://anonhg.NetBSD.org/src/rev/c1a30de179c9
branches: trunk
changeset: 784613:c1a30de179c9
user: jdc <jdc%NetBSD.org@localhost>
date: Sun Feb 03 16:28:51 2013 +0000
description:
Also set ia.ia_size from size when doing direct config.
diffstat:
sys/dev/i2c/i2c.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 375316581f33 -r c1a30de179c9 sys/dev/i2c/i2c.c
--- a/sys/dev/i2c/i2c.c Sun Feb 03 15:57:09 2013 +0000
+++ b/sys/dev/i2c/i2c.c Sun Feb 03 16:28:51 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i2c.c,v 1.38 2012/03/14 02:57:10 pgoyette Exp $ */
+/* $NetBSD: i2c.c,v 1.39 2013/02/03 16:28:51 jdc Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i2c.c,v 1.38 2012/03/14 02:57:10 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i2c.c,v 1.39 2013/02/03 16:28:51 jdc Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -221,6 +221,7 @@
ia.ia_tag = ic;
ia.ia_name = name;
ia.ia_cookie = cookie;
+ ia.ia_size = size;
buf = NULL;
cdata = prop_dictionary_get(dev, "compatible");
Home |
Main Index |
Thread Index |
Old Index