Files
ack-tegra/include/linux
Bartlomiej Zolnierkiewicz e957b60d15 ide-gd: implement block device ->set_capacity method (v2)
* Use ->probed_capacity to store native device capacity for ATA disks.

* Add ->set_capacity method to struct ide_disk_ops.

* Implement disk device ->set_capacity method for ATA disks.

* Implement block device ->set_capacity method.

v2:
* Check if LBA and HPA are supported in ide_disk_set_capacity().

* According to the spec the SET MAX ADDRESS command shall be
  immediately preceded by a READ NATIVE MAX ADDRESS command.

* Add ide_disk_hpa_{get_native,set}_capacity() helpers.

Together with the previous patch adding ->set_capacity block device
method this allows automatic disabling of Host Protected Area (HPA)
if any partitions overlapping HPA are detected.

Cc: Robert Hancock <hancockrwd@gmail.com>
Cc: Frans Pop <elendil@planet.nl>
Cc: "Andries E. Brouwer" <Andries.Brouwer@cwi.nl>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Emphatically-Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2009-06-07 13:52:52 +02:00
..
2009-04-07 10:23:34 +01:00
2009-04-16 08:51:52 -07:00
2009-04-05 02:14:15 -04:00
2009-04-06 20:00:51 -04:00
2009-04-15 08:28:09 +02:00
2009-04-03 14:53:32 -07:00
2009-04-03 14:53:32 -07:00
2009-04-03 09:48:29 -07:00
2009-04-02 19:04:53 -07:00
2009-04-13 15:04:29 -07:00
2009-04-16 16:17:10 -07:00
2009-04-02 19:04:49 -07:00
2009-04-06 16:06:26 +01:00
2009-04-07 08:12:38 +02:00
2009-04-02 19:04:48 -07:00
2009-04-03 17:41:23 -07:00
2009-04-03 17:41:12 -07:00
2009-04-10 21:36:18 +02:00
2009-04-13 14:51:23 -07:00
2009-04-08 14:33:38 -07:00
2009-04-13 15:04:29 -07:00
2009-04-03 12:23:06 +02:00
2009-04-03 16:42:35 +01:00
2009-04-03 12:23:06 +02:00
2009-04-02 19:05:01 -07:00
2009-04-17 10:50:27 -07:00