Tejun Heo 72fa4b742b [PATCH] libata-hp-prep: make some ata_device fields persistent
Lifetimes of some fields span over device plugging/unplugging.  This
patch moves such persistent fields to the top of ata_device and
separate them with ATA_DEVICE_CLEAR_OFFSET.  Fields above the offset
are initialized once during host initializatino while all other fields
are cleared before hotplugging.  Currently ->ap, devno and part of
flags are persistent.

Note that flags is partially cleared while holding host_set lock.
This is to synchronize with later warm plug implementation which will
record hotplug request in dev->flags.

Signed-off-by: Tejun Heo <htejun@gmail.com>
2006-05-31 18:27:32 +09:00
..
2006-03-24 07:33:24 -08:00
2006-05-21 12:59:20 -07:00
2006-03-31 12:19:01 -08:00
2006-04-27 15:13:50 +01:00
2006-05-22 16:54:30 -07:00
2006-04-10 09:43:47 -07:00
2006-03-25 08:22:52 -08:00