summaryrefslogtreecommitdiff
path: root/sys/dev/onewire/owid.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2012-04-09 16:46:29 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2012-04-09 16:46:29 +0000
commit6b14259b6e5a76ba05e03964de657b5da1c73cba (patch)
tree72bae7b3ff613049fae84411f087ae915d50e882 /sys/dev/onewire/owid.c
parent6eac1f37a3a47cb64783ac77aa3e4df337a42be8 (diff)
If running on the original 33C93, reject commands not in groups 0, 1 or 5
if their size is not exactly six bytes, as the chip can't cope with this situation. Another situation all 33C93 do not cope with very well, is sending stop commands to targets (such as all sd(4) devices when halting with poweroff) - it takes a very long time to recover once all targets on the bus have been powered down, so we need to raise timeouts to unholy values (one test case has required more than 20 seconds to recover). Not surprising, as this command is not documented as supported in the chip documentation.
Diffstat (limited to 'sys/dev/onewire/owid.c')
0 files changed, 0 insertions, 0 deletions