ig4 - Fix rxdata shift error and add debugging
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 15 Aug 2014 07:10:53 +0000 (00:10 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 15 Aug 2014 07:10:53 +0000 (00:10 -0700)
commitf0db20b04750b38f66947e9e1c065daad8ca74f1
treef07edff7fe7f65c0e7a7a4e61cace1aa9059ea13
parent548291660055c3289734513edd452b1bda515698
ig4 - Fix rxdata shift error and add debugging

* Fix a bug where the rx fifo can wind up with spurious data that never
  clears because later commands are always one-ahead of it.

* Report rx data failures and spurious rx fifo data, except when the
  NOREPORT flag has been specified.
sys/bus/smbus/ichiic/ig4_iic.c