Patent attributes
A structure of object stacks for driver with hot plug function is provided, wherein the hot plug function is with serial ATA device, which can be supported by standard IDE driver. The structure comprises a bus device stack, at least one port device stack and at least one serial ATA device stack, which are connected to serial ATA devices at each of channels of the bus and each of channels within the bus respectively, wherein each of bus device stacks comprises an upper-level filter bus device object, and each of port device stacks comprises respectively a lower-level filter port device object and an upper-level filter port device object. Thus, the hot plug function can be supported according to the massage transmission interface and status monitoring for the bus by each of filter device objects.