1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

- Rename ds1672 and ds133x devices to "ds1672_rtc" and "ds133x_rtc"

respectivly. This will allow one to have a kernel with both devices
  present and use it for multiple boards with different types of RTC
  sitting on a bus.

Discussed with:	imp
This commit is contained in:
Stanislav Sedov 2009-04-21 22:48:12 +00:00
parent ba2892d70f
commit 97958cafc8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=191369
5 changed files with 8 additions and 8 deletions

View File

@ -44,5 +44,5 @@ hint.ad7418.0.at="iicbus0"
hint.ad7418.0.addr=0x50
# Dallas Semiconductor DS1672 RTC
hint.rtc.0.at="iicbus0"
hint.rtc.0.addr=0xd0
hint.ds1672_rtc.0.at="iicbus0"
hint.ds1672_rtc.0.addr=0xd0

View File

@ -1,8 +1,8 @@
# $FreeBSD$
# Dallas Semiconductor DS1672 RTC sitting on the I2C bus
hint.rtc.0.at="iicbus0"
hint.rtc.0.addr=0xd0
hint.ds1672_rtc.0.at="iicbus0"
hint.ds1672_rtc.0.addr=0xd0
# NAtional Semiconductor LM75 temperature sensor sitting on the I2C bus
hint.lm75.0.at="iicbus0"

View File

@ -46,8 +46,8 @@ hint.ad7418.0.at="iicbus0"
hint.ad7418.0.addr=0x50
# Dallas Semiconductor DS1672 RTC
hint.rtc.0.at="iicbus0"
hint.rtc.0.addr=0xd0
hint.ds1672_rtc.0.at="iicbus0"
hint.ds1672_rtc.0.addr=0xd0
# USB is part of the chip
hint.ehci.0.at="ixp0"

View File

@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$");
#include "iicbus_if.h"
#include "clock_if.h"
#define DS133X_DEVNAME "rtc"
#define DS133X_DEVNAME "ds133x_rtc"
#define DS133X_ADDR 0xd0 /* slave address */
#define DS133X_DATE_REG 0x0

View File

@ -171,7 +171,7 @@ static device_method_t ds1672_methods[] = {
};
static driver_t ds1672_driver = {
"rtc",
"ds1672_rtc",
ds1672_methods,
sizeof(struct ds1672_softc),
};