summaryrefslogtreecommitdiffstats
path: root/sys/dev/i2c/files.i2c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2010-03-22 21:20:55 +0000
committermiod <miod@openbsd.org>2010-03-22 21:20:55 +0000
commitb95f7d00bf791b607ea47ad58cbdc2e3a8c0b8f9 (patch)
tree1ac3172e31bfe5e734980f4a2aac48367669f548 /sys/dev/i2c/files.i2c
parentEnable PAGEFASTRECYCLE. (diff)
downloadwireguard-openbsd-b95f7d00bf791b607ea47ad58cbdc2e3a8c0b8f9.tar.xz
wireguard-openbsd-b95f7d00bf791b607ea47ad58cbdc2e3a8c0b8f9.zip
Split existing spdmem@i2c code into bus-agnostic spd record decoding code,
and an i2c attachment. No functional change; ok jsg@ deraadt@
Diffstat (limited to 'sys/dev/i2c/files.i2c')
-rw-r--r--sys/dev/i2c/files.i2c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/i2c/files.i2c b/sys/dev/i2c/files.i2c
index d1c69642cd5..ae5e5376af5 100644
--- a/sys/dev/i2c/files.i2c
+++ b/sys/dev/i2c/files.i2c
@@ -1,4 +1,4 @@
-# $OpenBSD: files.i2c,v 1.48 2009/08/12 20:41:21 deraadt Exp $
+# $OpenBSD: files.i2c,v 1.49 2010/03/22 21:20:58 miod Exp $
# $NetBSD: files.i2c,v 1.3 2003/10/20 16:24:10 briggs Exp $
define i2c {[addr = -1], [size = -1]}
@@ -149,9 +149,8 @@ attach thmc at i2c
file dev/i2c/thmc50.c thmc
# SPD Memory EEPROM
-device spdmem
-attach spdmem at i2c
-file dev/i2c/spdmem.c spdmem
+attach spdmem at i2c with spdmem_iic
+file dev/i2c/spdmem_i2c.c spdmem
# SO-DIMM (JC-42.4) temperature sensor
device sdtemp