Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/i2c Add a definition for the DDC segment address (30h).



details:   https://anonhg.NetBSD.org/src/rev/643a347f63c8
branches:  trunk
changeset: 996297:643a347f63c8
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Jan 27 11:41:52 2019 +0000

description:
Add a definition for the DDC segment address (30h).

diffstat:

 sys/dev/i2c/ddcreg.h |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r fe920b528110 -r 643a347f63c8 sys/dev/i2c/ddcreg.h
--- a/sys/dev/i2c/ddcreg.h      Sun Jan 27 10:32:05 2019 +0000
+++ b/sys/dev/i2c/ddcreg.h      Sun Jan 27 11:41:52 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ddcreg.h,v 1.2 2006/05/14 21:42:27 elad Exp $  */
+/*     $NetBSD: ddcreg.h,v 1.3 2019/01/27 11:41:52 jmcneill Exp $      */
 
 /*-
  * Copyright (c) 2006 Itronix Inc.
@@ -35,7 +35,8 @@
 #ifndef _DEV_I2C_DDCREG_H_
 #define _DEV_I2C_DDCREG_H_
 
-#define        DDC_ADDR        0x50
-#define        DDC_EDID_START  0
+#define        DDC_ADDR                0x50
+#define        DDC_SEGMENT_ADDR        0x30
+#define        DDC_EDID_START          0
 
 #endif /* _DEV_I2C_DDCREG_H_ */



Home | Main Index | Thread Index | Old Index