summaryrefslogtreecommitdiffstats
path: root/sys/dev/i2c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2006-07-15 00:04:11 +0000
committerbeck <beck@openbsd.org>2006-07-15 00:04:11 +0000
commit9a0362acc39d0e6c5938c6abd9ea53ed135eb32e (patch)
tree3ff3820911bb427a5507ccdbc4cdc3a6e423c034 /sys/dev/i2c
parentZyXEL Prestige (diff)
downloadwireguard-openbsd-9a0362acc39d0e6c5938c6abd9ea53ed135eb32e.tar.xz
wireguard-openbsd-9a0362acc39d0e6c5938c6abd9ea53ed135eb32e.zip
catch "Media Removal Prevented" for devices that are capable of telling us
when we're not allowed to yank things out of them. Instead of returning a generic EIO and having the kernel printf a scsi sense to the console, we now return EBUSY to userland and avoid the dmesg spewing. ok krw@
Diffstat (limited to 'sys/dev/i2c')
0 files changed, 0 insertions, 0 deletions