Re: 2byte read/write on SMBus
Izumi Tsutsui <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.evbmips |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > Our OMSAL400 should read/write 2 bytes on SMBus. It is possible by the > addition of the following functions to a present mounting. - What device actually requires such 2 byte ops? - Does it require 2 byte stream data? Or word (uint16_t) data? If the latter, your code doesn't work properly on big endian environment, I think. (I'm not sure how I2C APIs are defined though) - Isn't it better to follow implementation of arch/i386/pci/viapcib.c? --- Izumi Tsutsui