Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Add dwiic, ihidev and ims



details:   https://anonhg.NetBSD.org/src/rev/8f89a8556e73
branches:  trunk
changeset: 358083:8f89a8556e73
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sun Dec 10 17:19:48 2017 +0000

description:
Add dwiic, ihidev and ims

diffstat:

 sys/arch/amd64/conf/ALL       |  15 +++++++++++++--
 sys/arch/amd64/conf/GENERIC   |  15 +++++++++++++--
 sys/arch/amd64/conf/XEN3_DOM0 |  15 +++++++++++++--
 sys/arch/i386/conf/ALL        |  15 +++++++++++++--
 sys/arch/i386/conf/GENERIC    |  15 +++++++++++++--
 sys/arch/i386/conf/XEN3_DOM0  |  13 ++++++++++++-
 6 files changed, 77 insertions(+), 11 deletions(-)

diffs (249 lines):

diff -r 978840ede505 -r 8f89a8556e73 sys/arch/amd64/conf/ALL
--- a/sys/arch/amd64/conf/ALL   Sun Dec 10 17:12:54 2017 +0000
+++ b/sys/arch/amd64/conf/ALL   Sun Dec 10 17:19:48 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.74 2017/12/02 12:40:03 maxv Exp $
+# $NetBSD: ALL,v 1.75 2017/12/10 17:19:48 bouyer Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "ALL-$Revision: 1.74 $"
+#ident         "ALL-$Revision: 1.75 $"
 
 maxusers       64              # estimated number of users
 
@@ -628,6 +628,10 @@
 piixpm* at pci? dev ? function ?       # PIIX4 compatible PM controller
 iic*   at piixpm?                      # SMBus on PIIX4
 
+# I2C controller as found in some Intel PCH devices.
+dwiic*         at pci?                 # I2C controller
+iic*           at dwiic?
+
 # dbCool Thermal monitor and fan controller
 dbcool* at iic? addr 0x2C              # Unknown other motherboard(s)
 dbcool* at iic? addr 0x2D              # Tyan S2881
@@ -692,6 +696,13 @@
 sdtemp* at iic? addr 0x1e
 sdtemp* at iic? addr 0x1f
 
+# I2C HID devices
+ihidev* at iic?
+
+# I2C Mice
+ims*   at ihidev? reportid ?
+wsmouse* at ims? mux 0
+
 # I2O devices
 iop*   at pci? dev ? function ?        # I/O processor
 iopsp* at iop? tid ?                   # SCSI/FC-AL ports
diff -r 978840ede505 -r 8f89a8556e73 sys/arch/amd64/conf/GENERIC
--- a/sys/arch/amd64/conf/GENERIC       Sun Dec 10 17:12:54 2017 +0000
+++ b/sys/arch/amd64/conf/GENERIC       Sun Dec 10 17:19:48 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.474 2017/12/09 00:29:32 riastradh Exp $
+# $NetBSD: GENERIC,v 1.475 2017/12/10 17:19:48 bouyer Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.474 $"
+#ident         "GENERIC-$Revision: 1.475 $"
 
 maxusers       64              # estimated number of users
 
@@ -510,6 +510,10 @@
 ismt* at pci? dev ? function ?
 iic*   at ismt?
 
+# I2C controller as found in some Intel PCH devices.
+dwiic*         at pci?                 # I2C controller
+iic*           at dwiic?
+
 # Thermal monitor and fan controller
 #dbcool* at iic? addr 0x2C             # Unknown other motherboard(s)
 #dbcool* at iic? addr 0x2D             # Tyan S2881
@@ -545,6 +549,13 @@
 #sdtemp* at iic? addr 0x1e
 #sdtemp* at iic? addr 0x1f
 
+# I2C HID devices
+ihidev* at iic?
+
+# I2C Mice
+ims*   at ihidev? reportid ?
+wsmouse* at ims? mux 0
+
 # I2O devices
 iop*   at pci? dev ? function ?        # I/O processor
 iopsp* at iop? tid ?                   # SCSI/FC-AL ports
diff -r 978840ede505 -r 8f89a8556e73 sys/arch/amd64/conf/XEN3_DOM0
--- a/sys/arch/amd64/conf/XEN3_DOM0     Sun Dec 10 17:12:54 2017 +0000
+++ b/sys/arch/amd64/conf/XEN3_DOM0     Sun Dec 10 17:19:48 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOM0,v 1.141 2017/11/06 02:57:18 rin Exp $
+# $NetBSD: XEN3_DOM0,v 1.142 2017/12/10 17:19:48 bouyer Exp $
 
 include        "arch/amd64/conf/std.xen"
 
@@ -10,7 +10,7 @@
 #options       UVMHIST_PRINT
 #options       SYSCALL_DEBUG
 
-#ident         "XEN3_DOM0-$Revision: 1.141 $"
+#ident         "XEN3_DOM0-$Revision: 1.142 $"
 
 maxusers       32              # estimated number of users
 
@@ -303,6 +303,10 @@
 ichsmb* at pci? dev ? function ?
 iic*   at ichsmb?
 
+# I2C controller as found in some Intel PCH devices.
+dwiic*         at pci?                 # I2C controller
+iic*           at dwiic?
+
 # Thermal monitor and fan controller
 #dbcool* at iic? addr 0x2C             # Unknown other motherboard(s)
 #dbcool* at iic? addr 0x2D             # Tyan S2881
@@ -428,6 +432,13 @@
 ukphy* at mii? phy ?                   # generic unknown PHYs
 urlphy* at mii? phy ?                  # Realtek RTL8150L internal PHYs
 
+# I2C HID devices
+ihidev* at iic?
+
+# I2C Mice
+ims*   at ihidev? reportid ?
+wsmouse* at ims? mux 0
+
 # I2O devices
 iop*   at pci? dev ? function ?        # I/O processor
 iopsp* at iop? tid ?                   # SCSI/FC-AL ports
diff -r 978840ede505 -r 8f89a8556e73 sys/arch/i386/conf/ALL
--- a/sys/arch/i386/conf/ALL    Sun Dec 10 17:12:54 2017 +0000
+++ b/sys/arch/i386/conf/ALL    Sun Dec 10 17:19:48 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.431 2017/11/30 11:56:45 jmcneill Exp $
+# $NetBSD: ALL,v 1.432 2017/12/10 17:19:48 bouyer Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "ALL-$Revision: 1.431 $"
+#ident         "ALL-$Revision: 1.432 $"
 
 maxusers       64              # estimated number of users
 
@@ -702,6 +702,10 @@
 piixpm* at pci? dev ? function ?       # PIIX4 compatible PM controller
 iic*   at piixpm?                      # SMBus on PIIX4
 
+# I2C controller as found in some Intel PCH devices.
+dwiic*         at pci?                 # I2C controller
+iic*           at dwiic?
+
 # dbCool Thermal monitor and fan controller
 dbcool* at iic? addr 0x2C              # Unknown other motherboard(s)
 dbcool* at iic? addr 0x2D              # Tyan S2881
@@ -766,6 +770,13 @@
 sdtemp* at iic? addr 0x1e
 sdtemp* at iic? addr 0x1f
 
+# I2C HID devices
+ihidev* at iic?
+
+# I2C Mice
+ims*   at ihidev? reportid ?
+wsmouse* at ims? mux 0
+
 # I2O devices
 iop*   at pci? dev ? function ?        # I/O processor
 iopsp* at iop? tid ?                   # SCSI/FC-AL ports
diff -r 978840ede505 -r 8f89a8556e73 sys/arch/i386/conf/GENERIC
--- a/sys/arch/i386/conf/GENERIC        Sun Dec 10 17:12:54 2017 +0000
+++ b/sys/arch/i386/conf/GENERIC        Sun Dec 10 17:19:48 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1173 2017/12/09 00:29:33 riastradh Exp $
+# $NetBSD: GENERIC,v 1.1174 2017/12/10 17:19:48 bouyer Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.1173 $"
+#ident         "GENERIC-$Revision: 1.1174 $"
 
 maxusers       64              # estimated number of users
 
@@ -653,6 +653,10 @@
 piixpm* at pci? dev ? function ?       # PIIX4 compatible PM controller
 iic*   at piixpm?                      # SMBus on PIIX4
 
+# I2C controller as found in some Intel PCH devices.
+dwiic*         at pci?                 # I2C controller
+iic*           at dwiic?
+
 # dbCool Thermal monitor and fan controller
 #dbcool* at iic? addr 0x2C             # Unknown other motherboard(s)
 #dbcool* at iic? addr 0x2D             # Tyan S2881
@@ -713,6 +717,13 @@
 #sdtemp* at iic? addr 0x1e
 #sdtemp* at iic? addr 0x1f
 
+# I2C HID devices
+ihidev* at iic?
+
+# I2C Mice
+ims*   at ihidev? reportid ?
+wsmouse* at ims? mux 0
+
 # I2O devices
 iop*   at pci? dev ? function ?        # I/O processor
 iopsp* at iop? tid ?                   # SCSI/FC-AL ports
diff -r 978840ede505 -r 8f89a8556e73 sys/arch/i386/conf/XEN3_DOM0
--- a/sys/arch/i386/conf/XEN3_DOM0      Sun Dec 10 17:12:54 2017 +0000
+++ b/sys/arch/i386/conf/XEN3_DOM0      Sun Dec 10 17:19:48 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: XEN3_DOM0,v 1.123 2017/11/06 02:57:18 rin Exp $
+#      $NetBSD: XEN3_DOM0,v 1.124 2017/12/10 17:19:48 bouyer Exp $
 #
 #      XEN3_0: Xen 3.0 domain0 kernel
 
@@ -267,6 +267,10 @@
 ichsmb* at pci? dev ? function ?
 iic*   at ichsmb?
 
+# I2C controller as found in some Intel PCH devices.
+dwiic*         at pci?                 # I2C controller
+iic*           at dwiic?
+
 # dbCool thermal monitor and fan controller
 #iic*  at amdpm?                       # sensors below are on this bus
 #dbcool* at iic? addr 0x2C             # Unknown other motherboard(s)
@@ -392,6 +396,13 @@
 ukphy* at mii? phy ?                   # generic unknown PHYs
 urlphy* at mii? phy ?                  # Realtek RTL8150L internal PHYs
 
+# I2C HID devices
+ihidev* at iic?
+
+# I2C Mice
+ims*   at ihidev? reportid ?
+wsmouse* at ims? mux 0
+
 # I2O devices
 iop*   at pci? dev ? function ?        # I/O processor
 iopsp* at iop? tid ?                   # SCSI/FC-AL ports



Home | Main Index | Thread Index | Old Index