Use sense data to detect the presence of media. This stops the driver from constantly...
commite34ca8c567859cab6da6d92f2835ebf8a1713ed0
authordizzyofcrn <dizzyofcrn@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 2 May 2015 15:01:14 +0000 (2 15:01 +0000)
committerdizzyofcrn <dizzyofcrn@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 2 May 2015 15:01:14 +0000 (2 15:01 +0000)
treeed3af059a274966b83e738b7c3eb07817066e1a2
parent6ff98a2f0b77d7a9c7fac742c649ba2e20e51005
Use sense data to detect the presence of media. This stops the driver from constantly mounting and unmounting the drive.

This requires further scrutiny as AROS does not recognise ejected boot cd/dvd when reinserted, I have not tested what happens if the media is not the boot media.

Aros did not recognise the reinserted media with the previous version, so this is not a regression with this diff.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@50579 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
rom/devs/ahci/ahci_cam_aros.c