diff options
author | hselasky <hselasky@FreeBSD.org> | 2016-05-09 13:09:41 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2016-05-09 13:09:41 +0000 |
commit | 9038ef1cbd86fa63343fcc179ea3640c2db41e31 (patch) | |
tree | 2d241965fcdf4e39cdbe9dc805bb5518ca122654 /contrib/file/python/magic.py | |
parent | 474ac0fbf4af918a4825854649bafccc48949fc1 (diff) | |
download | FreeBSD-src-9038ef1cbd86fa63343fcc179ea3640c2db41e31.zip FreeBSD-src-9038ef1cbd86fa63343fcc179ea3640c2db41e31.tar.gz |
MFC r298771:
Add function to detect the presence of a port module and use this
function to error out early when no port module is present and doing
eeprom access. This also prevents error codes from filling up in
dmesg.
Sponsored by: Mellanox Technologies
Tested by: Netflix
Diffstat (limited to 'contrib/file/python/magic.py')
0 files changed, 0 insertions, 0 deletions