If the previous sounded a bit too much like hard work and, like me, you know that if you can't remember the process using the CDROM drive, it can't have been doing anything useful anyway:
...saves all that tedious unmounting bureaucracy.
(BTW, in the 2.3 series this useful #define has been moved to drivers/ide/ide-cd.h)