Up to [cvs.NetBSD.org] / src / sys / arch / x86 / x86
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: pgoyette-compat-1020
Revision 1.77 / (download) - annotate - [select for diffs], Thu Jun 7 13:35:31 2018 UTC (5 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
isaki-audio2-base,
isaki-audio2
Branch point for: phil-wifi
Changes since 1.76: +34 -2
lines
Diff to previous 1.76 (colored)
In device_register(), if the device is an "iic" child of "imcsmb", attach a I2C_PROP_INDIRECT_DEVICE_WHITELIST property that limits the allowed devices to "spdmem" and "sdtemp". Also set the I2C_PROP_INDIRECT_PROBE_STRATEGY property to I2C_PROBE_STRATEGY_NONE, since that controller can't issue any of the "quick" commands. XXX It would be nice to be able to do this in the imcsmb driver itself, but the way autoconfiguration works makes that infeasible.