summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/files.i2c
diff options
context:
space:
mode:
authorbrad <brad@NetBSD.org>2022-12-03 01:04:42 +0000
committerbrad <brad@NetBSD.org>2022-12-03 01:04:42 +0000
commit02b8954fe89d72e580aac9928e8f0dd91cabaedc (patch)
tree3d66e5b9ef8e2812eb0fd4eb5c10499ac92a1975 /sys/dev/i2c/files.i2c
parenta76f61463de79fb55af1db5ff83b1f68aeca0073 (diff)
Split the BMP280 / BME280 driver into common code and create I2C and
SPI attachments.
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 6e10edb7429..c1c61c5f4c9 100644
--- a/sys/dev/i2c/files.i2c
+++ b/sys/dev/i2c/files.i2c
@@ -1,4 +1,4 @@
-# $NetBSD: files.i2c,v 1.125 2022/11/21 21:24:01 brad Exp $
+# $NetBSD: files.i2c,v 1.126 2022/12/03 01:04:43 brad Exp $
obsolete defflag opt_i2cbus.h I2C_SCAN
define i2cbus { }
@@ -437,6 +437,5 @@ attach aht20temp at iic
file dev/i2c/aht20.c aht20temp
# Bosch Sensortec BMP280/BME280 Temperature, Humidity and Pressure sensor
-device bmx280thp
-attach bmx280thp at iic
-file dev/i2c/bmx280.c bmx280thp
+attach bmx280thp at iic with bmx280thpi2c
+file dev/i2c/bmx280thpi2c.c bmx280thpi2c