In message <[EMAIL PROTECTED]>, 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to