NetBSD/sys/dev/onewire/onewiredevs

40 lines
1.4 KiB
Plaintext

$NetBSD: onewiredevs,v 1.2 2009/01/21 14:27:58 jnemeth Exp $
/* $OpenBSD: onewiredevs,v 1.1 2006/03/04 16:27:03 grange Exp $ */
/*
* Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/*
* Use "make -f Makefile.onewiredevs" to regenerate onewiredevs.h and
* onewiredevs_data.h
*/
/*
* List of known 1-Wire family types.
*/
family DS1990 0x01 ID
family DS1991 0x02 MultiKey
family DS1994 0x04 4kb NVRAM + RTC
family DS1993 0x06 4kb NVRAM
family DS1992 0x08 1kb NVRAM
family DS1982 0x09 1kb EPROM
family DS1995 0x0a 16kb NVRAM
family DS1996 0x0c 64kb NVRAM
family DS1920 0x10 Temperature
family DS1822 0x22 Temperature
family DS18B20 0x28 Temperature