diff options
-rw-r--r-- | sys/dev/onewire/onewiredevs.h | 18 | ||||
-rw-r--r-- | sys/dev/onewire/onewiredevs_data.h | 21 |
2 files changed, 39 insertions, 0 deletions
diff --git a/sys/dev/onewire/onewiredevs.h b/sys/dev/onewire/onewiredevs.h new file mode 100644 index 00000000000..3ded4d3ec0f --- /dev/null +++ b/sys/dev/onewire/onewiredevs.h @@ -0,0 +1,18 @@ +/* $OpenBSD: onewiredevs.h,v 1.1 2006/03/04 16:33:33 grange Exp $ */ + +/* + * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. + * + * Generated from: + * OpenBSD: onewiredevs,v 1.1 2006/03/04 16:27:03 grange Exp + */ + +#define ONEWIRE_FAMILY_DS1990 0x01 +#define ONEWIRE_FAMILY_DS1991 0x02 +#define ONEWIRE_FAMILY_DS1994 0x04 +#define ONEWIRE_FAMILY_DS1993 0x06 +#define ONEWIRE_FAMILY_DS1992 0x08 +#define ONEWIRE_FAMILY_DS1982 0x09 +#define ONEWIRE_FAMILY_DS1995 0x0a +#define ONEWIRE_FAMILY_DS1996 0x0c +#define ONEWIRE_FAMILY_DS1920 0x10 diff --git a/sys/dev/onewire/onewiredevs_data.h b/sys/dev/onewire/onewiredevs_data.h new file mode 100644 index 00000000000..c18d3b4ec24 --- /dev/null +++ b/sys/dev/onewire/onewiredevs_data.h @@ -0,0 +1,21 @@ +/* $OpenBSD: onewiredevs_data.h,v 1.1 2006/03/04 16:33:33 grange Exp $ */ + +/* + * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. + * + * Generated from: + * OpenBSD: onewiredevs,v 1.1 2006/03/04 16:27:03 grange Exp + */ + +static const struct onewire_family onewire_familytab[] = { + { ONEWIRE_FAMILY_DS1990, "ID" }, + { ONEWIRE_FAMILY_DS1991, "MultiKey" }, + { ONEWIRE_FAMILY_DS1994, "4kb NVRAM + RTC" }, + { ONEWIRE_FAMILY_DS1993, "4kb NVRAM" }, + { ONEWIRE_FAMILY_DS1992, "1kb NVRAM" }, + { ONEWIRE_FAMILY_DS1982, "1kb EPROM" }, + { ONEWIRE_FAMILY_DS1995, "16kb NVRAM" }, + { ONEWIRE_FAMILY_DS1996, "64kb NVRAM" }, + { ONEWIRE_FAMILY_DS1920, "Temperature" }, + { 0, NULL } +}; |