Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144526566
D16670.1775243693.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D16670.1775243693.diff
View Options
Index: head/sys/dev/ichiic/ig4_acpi.c
===================================================================
--- head/sys/dev/ichiic/ig4_acpi.c
+++ head/sys/dev/ichiic/ig4_acpi.c
@@ -60,6 +60,7 @@
"80860F41",
"808622C1",
"AMDI0510",
+ "AMDI0010",
"APMC0D0F",
NULL
};
Index: head/sys/dev/ichiic/ig4_iic.c
===================================================================
--- head/sys/dev/ichiic/ig4_iic.c
+++ head/sys/dev/ichiic/ig4_iic.c
@@ -563,7 +563,7 @@
if (sc->version == IG4_HASWELL || sc->version == IG4_ATOM) {
v = reg_read(sc, IG4_REG_COMP_VER);
- if (v != IG4_COMP_VER) {
+ if (v < IG4_COMP_MIN_VER) {
error = ENXIO;
goto done;
}
Index: head/sys/dev/ichiic/ig4_reg.h
===================================================================
--- head/sys/dev/ichiic/ig4_reg.h
+++ head/sys/dev/ichiic/ig4_reg.h
@@ -73,7 +73,6 @@
* SDA_HOLD 0x00000001
* SDA_SETUP 0x00000064
* COMP_PARAM1 0x00FFFF6E
- * COMP_VER 0x3131352A
*/
#define IG4_REG_CTL 0x0000 /* RW Control Register */
@@ -552,11 +551,10 @@
/*
* COMP_VER - (RO) Component Version Register 22.2.36
- * Default Value 0x3131352A
*
* Contains the chip version number. All 32 bits.
*/
-#define IG4_COMP_VER 0x3131352A
+#define IG4_COMP_MIN_VER 0x3131352A
/*
* COMP_TYPE - (RO) (linux) Endian and bus width probe
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 3, 7:14 PM (3 s ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28250169
Default Alt Text
D16670.1775243693.diff (1 KB)
Attached To
Mode
D16670: Designware I2C: Add ACPI Device HID for AMD platforms
Attached
Detach File
Event Timeline
Log In to Comment