diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-09-30 22:23:42 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-09-30 22:23:42 +0000 |
commit | f4aa307936fa87d76580027c0c246301d8c56f96 (patch) | |
tree | 5a2560a7210a1ff606c24c2302471ce364f0d98c /sys/arch/arm64 | |
parent | a1be6f4caeb2f2afd6ba19aba340a80687d187bd (diff) |
Move mfokclock(4) from loongson to sys/dev/i2c so that it be used by more
platforms than just loongson. Rename it to mfokrtc(4) for consistency with
other RTC drivers. Make it match on st,m41t83, since that was the chip for
which the driver was written for. More compatible strings can be added for
each chip of the series verified to behave the same.
Discussed with kettenis@
Compile tested on loongson by kn@
Tested on loongson by and ok visa@
Diffstat (limited to 'sys/arch/arm64')
-rw-r--r-- | sys/arch/arm64/conf/GENERIC | 3 | ||||
-rw-r--r-- | sys/arch/arm64/conf/RAMDISK | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/arm64/conf/GENERIC b/sys/arch/arm64/conf/GENERIC index 00ddc2591b0..8f42d671d7d 100644 --- a/sys/arch/arm64/conf/GENERIC +++ b/sys/arch/arm64/conf/GENERIC @@ -1,4 +1,4 @@ -# $OpenBSD: GENERIC,v 1.173 2020/07/31 12:47:43 kettenis Exp $ +# $OpenBSD: GENERIC,v 1.174 2020/09/30 22:23:40 patrick Exp $ # # GENERIC machine description file # @@ -439,6 +439,7 @@ ipmi* at iic? # IPMI (SIIF) islrtc* at iic? # ISL1208 RTC maxrtc* at iic? # DS1307 RTC mcprtc* at iic? # MCP794XX RTC +mfokrtc* at iic? # M41T8X RTC pcamux* at iic? # PCA9548 multiplexer iic* at pcamux? pcfrtc* at iic? # PCF8523 RTC diff --git a/sys/arch/arm64/conf/RAMDISK b/sys/arch/arm64/conf/RAMDISK index 56f024f7962..e77b88fc061 100644 --- a/sys/arch/arm64/conf/RAMDISK +++ b/sys/arch/arm64/conf/RAMDISK @@ -1,4 +1,4 @@ -# $OpenBSD: RAMDISK,v 1.131 2020/06/25 12:44:09 patrick Exp $ +# $OpenBSD: RAMDISK,v 1.132 2020/09/30 22:23:41 patrick Exp $ # # GENERIC machine description file # @@ -313,6 +313,7 @@ fusbtc* at iic? # USB Type-C controller islrtc* at iic? # ISL1208 RTC maxrtc* at iic? # DS1307 RTC mcprtc* at iic? # MCP794XX RTC +mfokrtc* at iic? # M41T8X RTC pcfrtc* at iic? # PCF8523 RTC pcxrtc* at iic? # PCF8563 RTC rkpmic* at iic? # RK808 PMIC |