Patent ID: 7130992

Claim:
A method comprising: configuring a mode word in one of first, second, third, and fourth modes in a chipset or in a configuration map stored in a non-volatile memory during boot-up; detecting insertion of a medium into a drive based on the mode word, detecting the insertion comprising servicing an interrupt indicating the insertion of the medium when the mode is configured in one of the second, third, and fourth modes, wherein servicing the interrupt comprises servicing the interrupt generated by a polling circuit in the chipset when the mode is configured in one of the second and third modes, the polling circuit detecting the insertion of the medium; and starting a program on the medium when the insertion is detected; wherein servicing the interrupt comprises: checking a status bit set by the polling circuit when the mode is configured in the second mode; updating a flag in a memory based on the status bit; and responding to a poll request by an operating system.