2005-04-16 15:20:36 -07:00
|
|
|
|
2008-02-01 23:09:33 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-02 21:40:08 +01:00
|
|
|
|
2008-02-01 23:09:33 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-03-23 03:00:45 -08:00
|
|
|
|
2006-03-31 02:31:16 -08:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:45 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-01-25 22:17:16 +01:00
|
|
|
|
2008-10-10 22:39:21 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-25 22:17:16 +01:00
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2008-01-25 22:17:16 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
|
|
|
|
|
2008-01-25 22:17:16 +01:00
|
|
|
|
2009-03-27 12:46:39 +01:00
|
|
|
|
|
|
|
|
|
2008-07-23 19:55:55 +02:00
|
|
|
|
2009-03-27 12:46:39 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-25 22:17:16 +01:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2008-01-25 22:17:16 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-04-26 17:36:37 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-01-06 17:20:52 +01:00
|
|
|
|
2009-05-07 22:24:40 +09:00
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
|
|
|
|
|
2008-01-25 22:17:16 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2007-10-19 00:30:07 +02:00
|
|
|
|
2009-05-07 22:24:40 +09:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2009-04-08 14:13:01 +02:00
|
|
|
|
|
|
|
|
|
2008-01-25 22:17:06 +01:00
|
|
|
|
2008-10-13 21:39:38 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2006-02-07 12:58:33 -08:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-01-25 22:17:12 +01:00
|
|
|
|
2008-01-25 22:17:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-04-08 14:13:02 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-26 20:13:03 +01:00
|
|
|
|
2009-04-08 14:13:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-01-25 22:17:12 +01:00
|
|
|
|
2008-01-25 22:17:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-04-08 14:13:02 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-04-26 17:36:37 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-25 22:17:12 +01:00
|
|
|
|
2008-01-25 22:17:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:38 +01:00
|
|
|
|
|
|
|
|
|
2008-01-25 22:17:16 +01:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2008-01-25 22:17:16 +01:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
|
|
|
|
|
2008-01-25 22:17:16 +01:00
|
|
|
|
2009-03-27 12:46:46 +01:00
|
|
|
|
2009-03-27 12:46:47 +01:00
|
|
|
|
2009-03-27 12:46:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2008-01-25 22:17:06 +01:00
|
|
|
|
2008-01-25 22:17:16 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:47 +01:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-01-25 22:17:16 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-17 18:09:14 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-01-06 17:20:52 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
2010-08-07 18:17:56 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2006-03-31 02:31:16 -08:00
|
|
|
|
|
|
|
|
|
2009-05-07 22:24:40 +09:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-05-07 22:24:40 +09:00
|
|
|
|
2006-02-07 12:58:33 -08:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-25 22:17:06 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
|
|
|
|
|
2008-01-25 22:17:06 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2008-01-25 22:17:06 +01:00
|
|
|
|
2008-10-10 22:39:21 +02:00
|
|
|
|
2008-01-25 22:17:06 +01:00
|
|
|
|
2008-10-10 22:39:21 +02:00
|
|
|
|
2008-01-25 22:17:06 +01:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2009-04-08 14:13:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2009-03-31 20:15:29 +02:00
|
|
|
|
2009-04-08 14:13:02 +02:00
|
|
|
|
2008-01-25 22:17:06 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-25 22:17:06 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
|
|
|
|
|
2008-01-25 22:17:06 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
|
|
|
|
|
2008-01-25 22:17:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-25 22:17:06 +01:00
|
|
|
|
2009-04-08 14:13:02 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-10 22:39:21 +02:00
|
|
|
|
2008-01-25 22:17:06 +01:00
|
|
|
|
|
|
|
|
|
2008-10-10 22:39:21 +02:00
|
|
|
|
2008-01-25 22:17:06 +01:00
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2009-04-08 14:13:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-03-31 20:15:29 +02:00
|
|
|
|
2009-04-08 14:13:02 +02:00
|
|
|
|
2008-01-25 22:17:06 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-08-20 22:42:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-09-17 12:35:30 +02:00
|
|
|
|
2008-02-19 01:41:25 +01:00
|
|
|
|
2007-08-20 22:42:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-07 13:52:52 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-06-07 13:52:52 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2009-06-07 13:52:52 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2007-08-20 22:42:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-07 13:52:52 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-07 13:52:52 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-07 13:52:52 +02:00
|
|
|
|
|
|
|
|
|
2008-01-25 22:17:06 +01:00
|
|
|
|
2009-06-07 13:52:52 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-17 18:09:14 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-10 22:39:19 +02:00
|
|
|
|
2008-10-13 21:39:38 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-10 22:39:30 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-13 21:39:38 +02:00
|
|
|
|
2008-10-10 22:39:19 +02:00
|
|
|
|
2008-10-10 22:39:31 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-13 21:39:38 +02:00
|
|
|
|
2008-10-10 22:39:19 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:38 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:38 +02:00
|
|
|
|
2009-06-07 13:52:52 +02:00
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:38 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-17 18:09:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-07 13:52:52 +02:00
|
|
|
|
2008-10-17 18:09:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-17 18:09:14 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2010-05-15 20:09:29 +02:00
|
|
|
|
2009-06-07 13:52:52 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-05-15 20:09:29 +02:00
|
|
|
|
2009-06-07 13:52:52 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-05-15 20:09:29 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-07 13:52:52 +02:00
|
|
|
|
|
|
|
|
|
2010-07-03 17:45:39 +09:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2010-07-03 17:45:39 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-10-03 14:28:18 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-02-11 00:32:14 +01:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2008-02-11 00:32:14 +01:00
|
|
|
|
2008-10-10 22:39:31 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2009-04-08 14:13:01 +02:00
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:39 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-01-25 22:17:10 +01:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2009-07-16 06:32:52 +00:00
|
|
|
|
2010-07-03 17:45:39 +09:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
ide: /proc/ide/hd*/settings rework
* Add struct ide_devset, S_* flags, *DEVSET() & ide*_devset_*() macros.
* Add 'const struct ide_devset **settings' to ide_driver_t.
* Use 'const struct ide_devset **settings' in ide_drive_t instead of
'struct ide_settings_s *settings'. Then convert core code and device
drivers to use struct ide_devset and co.:
- device settings are no longer allocated dynamically for each device
but instead there is an unique struct ide_devset instance per setting
- device driver keeps the pointer to the table of pointers to its
settings in ide_driver_t.settings
- generic settings are kept in ide_generic_setting[]
- ide_proc_[un]register_driver(), ide_find_setting_by_name(),
ide_{read,write}_setting() and proc_ide_{read,write}_settings()
are updated accordingly
- ide*_add_settings() are removed
* Remove no longer used __ide_add_setting(), ide_add_setting(),
__ide_remove_setting() and auto_remove_settings().
* Remove no longer used TYPE_*, SETTING_*, ide_procset_t
and ide_settings_t.
* ->keep_settings, ->using_dma, ->unmask, ->noflush, ->dsc_overlap,
->nice1, ->addressing, ->wcache and ->nowerr ide_drive_t fields
can now be bitfield flags.
While at it:
* Rename ide_find_setting_by_name() to ide_find_setting().
* Rename write_wcache() to set_wcache().
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-10-10 22:39:28 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-07-15 21:21:43 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-10 22:39:19 +02:00
|
|
|
|
2007-05-10 00:01:10 +02:00
|
|
|
|
|
|
|
|
|
2009-05-17 19:12:21 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-01-26 20:13:12 +01:00
|
|
|
|
2008-07-15 21:21:43 +02:00
|
|
|
|
|
|
|
|
|
2008-01-26 20:13:12 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-05-17 19:12:21 +02:00
|
|
|
|
2008-07-15 21:21:43 +02:00
|
|
|
|
|
|
|
|
|
2008-04-26 17:36:37 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
ide: /proc/ide/hd*/settings rework
* Add struct ide_devset, S_* flags, *DEVSET() & ide*_devset_*() macros.
* Add 'const struct ide_devset **settings' to ide_driver_t.
* Use 'const struct ide_devset **settings' in ide_drive_t instead of
'struct ide_settings_s *settings'. Then convert core code and device
drivers to use struct ide_devset and co.:
- device settings are no longer allocated dynamically for each device
but instead there is an unique struct ide_devset instance per setting
- device driver keeps the pointer to the table of pointers to its
settings in ide_driver_t.settings
- generic settings are kept in ide_generic_setting[]
- ide_proc_[un]register_driver(), ide_find_setting_by_name(),
ide_{read,write}_setting() and proc_ide_{read,write}_settings()
are updated accordingly
- ide*_add_settings() are removed
* Remove no longer used __ide_add_setting(), ide_add_setting(),
__ide_remove_setting() and auto_remove_settings().
* Remove no longer used TYPE_*, SETTING_*, ide_procset_t
and ide_settings_t.
* ->keep_settings, ->using_dma, ->unmask, ->noflush, ->dsc_overlap,
->nice1, ->addressing, ->wcache and ->nowerr ide_drive_t fields
can now be bitfield flags.
While at it:
* Rename ide_find_setting_by_name() to ide_find_setting().
* Rename write_wcache() to set_wcache().
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-10-10 22:39:28 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2007-05-10 00:01:10 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-04-08 14:13:01 +02:00
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
|
|
|
|
|
2010-09-03 11:56:16 +02:00
|
|
|
|
2006-01-06 09:57:31 +01:00
|
|
|
|
2008-10-10 22:39:19 +02:00
|
|
|
|
2010-09-03 11:56:16 +02:00
|
|
|
|
2006-01-06 09:57:31 +01:00
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
2006-01-06 09:57:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-17 18:09:12 +02:00
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-10 22:39:31 +02:00
|
|
|
|
2006-01-06 09:57:31 +01:00
|
|
|
|
|
|
|
|
|
2006-02-03 03:04:57 -08:00
|
|
|
|
2006-01-06 09:57:31 +01:00
|
|
|
|
|
|
|
|
|
2010-09-03 11:56:16 +02:00
|
|
|
|
2010-07-03 17:45:39 +09:00
|
|
|
|
2006-01-06 09:57:31 +01:00
|
|
|
|
2010-09-03 11:56:16 +02:00
|
|
|
|
2006-01-06 09:57:31 +01:00
|
|
|
|
2010-09-03 11:56:16 +02:00
|
|
|
|
2006-01-06 09:57:31 +01:00
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
ide: /proc/ide/hd*/settings rework
* Add struct ide_devset, S_* flags, *DEVSET() & ide*_devset_*() macros.
* Add 'const struct ide_devset **settings' to ide_driver_t.
* Use 'const struct ide_devset **settings' in ide_drive_t instead of
'struct ide_settings_s *settings'. Then convert core code and device
drivers to use struct ide_devset and co.:
- device settings are no longer allocated dynamically for each device
but instead there is an unique struct ide_devset instance per setting
- device driver keeps the pointer to the table of pointers to its
settings in ide_driver_t.settings
- generic settings are kept in ide_generic_setting[]
- ide_proc_[un]register_driver(), ide_find_setting_by_name(),
ide_{read,write}_setting() and proc_ide_{read,write}_settings()
are updated accordingly
- ide*_add_settings() are removed
* Remove no longer used __ide_add_setting(), ide_add_setting(),
__ide_remove_setting() and auto_remove_settings().
* Remove no longer used TYPE_*, SETTING_*, ide_procset_t
and ide_settings_t.
* ->keep_settings, ->using_dma, ->unmask, ->noflush, ->dsc_overlap,
->nice1, ->addressing, ->wcache and ->nowerr ide_drive_t fields
can now be bitfield flags.
While at it:
* Rename ide_find_setting_by_name() to ide_find_setting().
* Rename write_wcache() to set_wcache().
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-10-10 22:39:28 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2006-01-06 09:57:31 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2007-05-10 00:01:10 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-10 22:39:30 +02:00
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-06 09:57:31 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2010-09-03 11:56:16 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2006-01-06 09:57:31 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-04-26 17:36:37 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2008-10-10 22:39:31 +02:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2009-04-08 14:13:01 +02:00
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
ide: /proc/ide/hd*/settings rework
* Add struct ide_devset, S_* flags, *DEVSET() & ide*_devset_*() macros.
* Add 'const struct ide_devset **settings' to ide_driver_t.
* Use 'const struct ide_devset **settings' in ide_drive_t instead of
'struct ide_settings_s *settings'. Then convert core code and device
drivers to use struct ide_devset and co.:
- device settings are no longer allocated dynamically for each device
but instead there is an unique struct ide_devset instance per setting
- device driver keeps the pointer to the table of pointers to its
settings in ide_driver_t.settings
- generic settings are kept in ide_generic_setting[]
- ide_proc_[un]register_driver(), ide_find_setting_by_name(),
ide_{read,write}_setting() and proc_ide_{read,write}_settings()
are updated accordingly
- ide*_add_settings() are removed
* Remove no longer used __ide_add_setting(), ide_add_setting(),
__ide_remove_setting() and auto_remove_settings().
* Remove no longer used TYPE_*, SETTING_*, ide_procset_t
and ide_settings_t.
* ->keep_settings, ->using_dma, ->unmask, ->noflush, ->dsc_overlap,
->nice1, ->addressing, ->wcache and ->nowerr ide_drive_t fields
can now be bitfield flags.
While at it:
* Rename ide_find_setting_by_name() to ide_find_setting().
* Rename write_wcache() to set_wcache().
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-10-10 22:39:28 +02:00
|
|
|
|
|
|
|
|
|
2008-04-26 17:36:37 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2007-05-10 00:01:10 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
ide: /proc/ide/hd*/settings rework
* Add struct ide_devset, S_* flags, *DEVSET() & ide*_devset_*() macros.
* Add 'const struct ide_devset **settings' to ide_driver_t.
* Use 'const struct ide_devset **settings' in ide_drive_t instead of
'struct ide_settings_s *settings'. Then convert core code and device
drivers to use struct ide_devset and co.:
- device settings are no longer allocated dynamically for each device
but instead there is an unique struct ide_devset instance per setting
- device driver keeps the pointer to the table of pointers to its
settings in ide_driver_t.settings
- generic settings are kept in ide_generic_setting[]
- ide_proc_[un]register_driver(), ide_find_setting_by_name(),
ide_{read,write}_setting() and proc_ide_{read,write}_settings()
are updated accordingly
- ide*_add_settings() are removed
* Remove no longer used __ide_add_setting(), ide_add_setting(),
__ide_remove_setting() and auto_remove_settings().
* Remove no longer used TYPE_*, SETTING_*, ide_procset_t
and ide_settings_t.
* ->keep_settings, ->using_dma, ->unmask, ->noflush, ->dsc_overlap,
->nice1, ->addressing, ->wcache and ->nowerr ide_drive_t fields
can now be bitfield flags.
While at it:
* Rename ide_find_setting_by_name() to ide_find_setting().
* Rename write_wcache() to set_wcache().
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-10-10 22:39:28 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-10 22:39:33 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2007-05-10 00:01:10 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
|
|
|
|
|
2008-04-26 17:36:37 +02:00
|
|
|
|
2008-10-10 22:39:30 +02:00
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-10 22:39:30 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-10 22:39:40 +02:00
|
|
|
|
2008-10-13 21:39:45 +02:00
|
|
|
|
2008-10-10 22:39:40 +02:00
|
|
|
|
2008-10-17 18:09:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-10 22:39:27 +02:00
|
|
|
|
2008-10-23 23:22:09 +02:00
|
|
|
|
2007-10-19 00:30:07 +02:00
|
|
|
|
2008-10-10 22:39:19 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-10-10 22:39:27 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-04-26 17:36:37 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-10 22:39:19 +02:00
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-10-10 22:39:33 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-02-26 00:20:38 -05:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-04-26 17:36:37 +02:00
|
|
|
|
2009-05-23 08:23:16 +02:00
|
|
|
|
2008-10-23 23:22:09 +02:00
|
|
|
|
2009-01-14 19:19:03 +01:00
|
|
|
|
2008-10-23 23:22:09 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-10-17 18:09:14 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-17 18:09:12 +02:00
|
|
|
|
2008-04-26 17:36:37 +02:00
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
2008-10-10 22:39:30 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-10 22:39:19 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2007-12-12 23:31:58 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-10-10 22:39:20 +02:00
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
ide: /proc/ide/hd*/settings rework
* Add struct ide_devset, S_* flags, *DEVSET() & ide*_devset_*() macros.
* Add 'const struct ide_devset **settings' to ide_driver_t.
* Use 'const struct ide_devset **settings' in ide_drive_t instead of
'struct ide_settings_s *settings'. Then convert core code and device
drivers to use struct ide_devset and co.:
- device settings are no longer allocated dynamically for each device
but instead there is an unique struct ide_devset instance per setting
- device driver keeps the pointer to the table of pointers to its
settings in ide_driver_t.settings
- generic settings are kept in ide_generic_setting[]
- ide_proc_[un]register_driver(), ide_find_setting_by_name(),
ide_{read,write}_setting() and proc_ide_{read,write}_settings()
are updated accordingly
- ide*_add_settings() are removed
* Remove no longer used __ide_add_setting(), ide_add_setting(),
__ide_remove_setting() and auto_remove_settings().
* Remove no longer used TYPE_*, SETTING_*, ide_procset_t
and ide_settings_t.
* ->keep_settings, ->using_dma, ->unmask, ->noflush, ->dsc_overlap,
->nice1, ->addressing, ->wcache and ->nowerr ide_drive_t fields
can now be bitfield flags.
While at it:
* Rename ide_find_setting_by_name() to ide_find_setting().
* Rename write_wcache() to set_wcache().
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-10-10 22:39:28 +02:00
|
|
|
|
2008-10-17 18:09:10 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-10-17 18:09:14 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-13 21:39:36 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-17 18:09:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-26 20:12:59 +01:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2008-10-17 18:09:10 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-26 20:12:59 +01:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
|
|
|
|
|
2009-04-08 14:13:01 +02:00
|
|
|
|
|
|
|
|
|
2008-01-26 20:12:59 +01:00
|
|
|
|
2009-03-27 12:46:37 +01:00
|
|
|
|
2008-10-17 18:09:10 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-26 20:12:59 +01:00
|
|
|
|
2008-10-17 18:09:14 +02:00
|
|
|
|
|
|
|
|
|
2010-05-15 20:09:29 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-17 18:09:14 +02:00
|
|
|
|