Date: Wed, 05 Sep 2001 17:44:17 +0900 From: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp> To: hackers@freebsd.org Subject: Re: IICBUS_READ Message-ID: <200109050844.RAA25984@shidahara1.planet.sci.kobe-u.ac.jp> In-Reply-To: Your message of "Wed, 05 Sep 2001 12:34:48 %2B0400." <20010905083448.C4D7D8D62@faerie.gib.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010905083448.C4D7D8D62@faerie.gib.ru>, s さんいわく: > > >I've look at /sys/dev/iicbus/iiconf.c: > >> int >> iicbus_read(device_t bus, char *buf, int len, int *read, int last, int delay >) >> { >> struct iicbus_softc *sc = (struct iicbus_softc *)device_get_softc(bus); >> >> /* a slave must have been started with the appropriate address */ >> if (!sc->started || !(sc->started & LSB)) >> return (EINVAL); >> >> return (IICBUS_READ(device_get_parent(bus), buf, len, read, last, de >lay)); >> } > >Where is defined IICBUS_READ ? /sys/${MACHINE}/compile/${YOURCONF}/iicbus_if.h This is generated from /sys/dev/iicbus/iicbus_if.m . Takanori Watanabe <a href="http://www.planet.sci.kobe-u.ac.jp/~takawata/key.html"> Public Key</a> Key fingerprint = 2C 51 E2 78 2C E1 C5 2D 0F F1 20 A3 11 3A 62 2A To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109050844.RAA25984>