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-05-03 20:05:41 -07:00
2006-05-24 01:34:10 -04:00
2006-05-26 11:55:46 -07:00
2006-05-21 12:59:18 -07:00
2006-05-24 08:35:31 -07:00
2006-05-21 12:59:22 -07:00
2006-05-03 20:05:41 -07:00
2006-05-21 12:59:17 -07:00
2006-05-21 12:59:22 -07:00
2006-04-21 10:59:00 -07:00