Bartlomiej Zolnierkiewicz
0578042db3
ide: add ide_set_media_lock() helper
...
* Set IDE_AFLAG_NO_DOORLOCK in idetape_get_mode_sense_result(), check it
in ide_tape_set_media_lock() and cleanup idetape_create_prevent_cmd().
* Set IDE_AFLAG_NO_DOORLOCK in ide_floppy_create_read_capacity_cmd() and
check it instead of IDE_AFLAG_CLIK_DRIVE in ide_floppy_set_media_lock().
* Add ide_set_media_lock() helper and convert ide-{floppy,tape}.c to use it.
* Remove no longer used ide*_create_prevent_cmd()/ide*_set_media_lock().
* Update comment in <linux/ide.h> accordingly.
Acked-by: Borislav Petkov <petkovbb@gmail.com >
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com >
2008-10-10 22:39:38 +02:00
..
2008-07-25 09:28:09 -07:00
2008-04-24 14:07:46 -03:00
2008-07-15 16:11:29 -04:00
2008-07-31 00:38:01 -07:00
2008-07-23 13:09:48 -07:00
2008-01-28 15:00:12 -08:00
2008-04-19 19:10:33 -07:00
2008-04-30 08:29:50 -07:00
2008-08-12 16:07:30 -07:00
2008-10-09 08:56:22 +02:00
2008-08-04 21:56:09 -07:00
2007-07-16 09:05:51 -07:00
2008-04-28 08:58:19 -07:00
2008-08-14 22:59:43 +10:00
2008-04-30 08:29:54 -07:00
2008-08-15 08:35:44 -07:00
2008-04-29 08:06:06 -07:00
2008-06-04 14:56:12 +01:00
2008-07-25 10:53:40 -07:00
2008-07-05 13:10:50 -07:00
2008-07-21 21:54:59 -07:00
2008-04-30 08:29:53 -07:00
2008-07-17 17:59:56 -07:00
2007-02-09 17:39:36 -05:00
2008-01-28 23:21:18 +01:00
2008-02-07 08:42:25 -08:00
2006-09-28 18:02:08 -07:00
2008-02-13 16:21:19 -08:00
2007-10-17 00:00:08 +02:00
2006-12-08 08:28:40 -08:00
2008-07-26 20:53:20 -04:00
2006-10-02 07:57:12 -07:00
2006-09-30 01:47:55 +02:00
2007-02-05 10:00:38 +01:00
2008-09-29 17:09:14 +02:00
2007-10-13 23:56:32 +02:00
2008-10-10 22:39:38 +02:00
2008-07-25 10:53:39 -07:00
2008-08-12 17:52:54 +10:00
2007-04-29 23:42:45 -04:00
2008-07-21 00:55:14 -04:00
2007-07-31 15:39:40 -07:00
2008-05-12 21:28:05 +02:00
2008-08-12 16:07:29 -07:00
2008-04-18 22:16:54 -04:00
2008-04-30 08:29:54 -07:00
2008-07-24 19:11:15 -07:00
2008-02-06 10:41:01 -08:00
2008-04-15 19:35:41 -07:00
2008-07-24 10:47:21 -07:00
2008-04-29 08:06:12 -07:00
2008-04-19 19:10:28 -07:00
2005-04-16 15:20:36 -07:00
2008-07-14 10:02:12 +02:00
2008-07-24 10:47:24 -07:00
2005-04-16 15:20:36 -07:00
2008-02-13 16:21:19 -08:00
2008-07-11 19:27:31 -04:00
2006-11-30 04:40:22 +01:00
2008-06-06 11:29:12 -07:00
2008-04-07 12:15:39 -05:00
2008-02-13 16:21:18 -08:00
2006-08-27 11:01:32 -07:00
2005-04-16 15:20:36 -07:00
2008-08-04 16:50:38 -07:00
2005-05-05 16:36:31 -07:00
2008-02-14 21:13:33 -08:00
2006-10-03 23:01:26 +02:00
2008-04-19 19:10:33 -07:00
2007-02-12 09:48:44 -08:00
2008-07-29 16:36:33 -04:00
2006-07-13 13:21:35 -07:00
2008-07-04 10:40:08 -07:00
2007-10-16 09:43:17 -07:00
2008-04-25 00:25:08 +02:00
2008-07-27 01:47:00 +02:00
2006-10-04 07:55:30 -07:00
2008-10-03 18:22:18 -07:00
2006-12-07 02:14:08 +01:00
2008-10-03 11:46:14 -05:00
2008-07-24 10:47:13 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2008-07-25 17:28:49 -07:00
2008-07-26 20:53:12 -04:00
2008-07-21 21:55:02 -07:00
2008-07-25 10:53:47 -07:00
2006-04-26 12:56:16 +01:00
2008-04-30 08:29:53 -07:00
2008-07-24 10:47:29 -07:00
2006-01-09 15:32:31 -02:00
2008-08-16 16:45:56 -07:00
2006-04-26 12:56:16 +01:00
2008-07-25 10:53:40 -07:00
2008-07-15 08:36:38 -07:00