freebsd-skq/sys/dev/intpm
avg 8b5fc573cc intpm: clean up intsmb_bread and intsmb_pcall
The hardware does not implement SMBus Process Call command, so remove
ifdef-ed out code from intsmb_pcall.  The code used exactly the same
start sequence as for Write Word command.

intsmb_bread code used to access an in value of the count parameter,
but that parameter is supposed to be an out only parameter.
For example, smb(4) does not initialize it before calling smbus_bread.

MFC after:	3 weeks
2016-11-11 15:08:12 +00:00
..
intpm.c intpm: clean up intsmb_bread and intsmb_pcall 2016-11-11 15:08:12 +00:00
intpmreg.h