Files
linux-legacy/include/linux
Tejun Heo dd5b06c490 [PATCH] libata: implement dummy port
Implement dummy port which can be requested by setting appropriate bit
in probe_ent->dummy_port_mask.  The dummy port is used as placeholder
for stolen legacy port.  This allows libata to guarantee that
index_of(ap) == ap->port_no == actual_device_port_no, and thus to
remove error-prone ap->hard_port_no.

As it's used only when one port of a legacy controller is reserved by
some other entity (e.g. IDE), the focus is on keeping the added *code*
complexity at minimum, so dummy port allocates all libata core
resources and acts as a normal port.  It just has all dummy port_ops.

This patch only implements dummy port.  The following patch will make
libata use it for stolen legacy ports.

Signed-off-by: Tejun Heo <htejun@gmail.com>
2006-08-10 16:59:12 +09:00
..
…
2006-08-03 16:56:02 -04:00
…
2006-06-29 08:55:41 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2006-06-27 17:32:38 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2006-07-03 15:27:06 -07:00
…
…
…
…
…
…
2006-06-26 09:58:36 -07:00
2006-07-03 19:44:51 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2006-07-01 09:56:03 -07:00
…
2006-06-23 02:07:36 -07:00
…
…
…
…
…
…
…
…
…
…
2006-06-25 10:01:19 -07:00
2006-07-28 21:02:00 -07:00
…
2006-07-03 15:27:03 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2006-07-03 15:27:03 -07:00
…
…
2006-06-20 20:24:58 -07:00
…
…
…
…
…
…
…
…
…
…
2006-07-31 13:28:39 -07:00
2006-06-21 12:40:49 -07:00
…
…
…
…
…
…
2006-06-23 07:43:08 -07:00
…
…
2006-07-03 15:27:00 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2006-08-10 16:59:12 +09:00
…
…
…
…
2006-07-14 21:53:56 -07:00
…
…
…
…
…
…
…
…
…
…
…
2006-07-03 15:27:01 -07:00
…
…
…
…
…
…
…
…
…
2006-07-14 21:53:55 -07:00
2006-06-25 10:01:13 -07:00
…
…
…
2006-06-29 16:58:06 -07:00
…
…
…
2006-08-03 16:55:41 -04:00
2006-06-28 16:52:45 -04:00
…
…
…
…
…
…
…
…
…
2006-06-25 10:01:09 -07:00
…
2006-08-03 13:20:06 -07:00
2006-07-12 16:05:48 -07:00
…
…
…
…
…
…
…
2006-06-28 15:54:27 -07:00
…
…
2006-07-03 19:48:25 -07:00
…
…
…
…
…
…
…
…
…
2006-06-23 07:42:49 -07:00
…
…
2006-06-25 10:01:06 -07:00
…
2006-06-25 10:01:06 -07:00
…
…
…
…
…
…
2006-06-25 10:01:14 -07:00
2006-06-30 11:25:38 -07:00
…
…
…
…
…
…
2006-06-17 21:29:55 -07:00
…
…
…
…
…
…
…
…
2006-06-30 11:25:37 -07:00
…
…
…
…
…
…
…
…
…
…
…
2006-06-23 07:43:06 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2006-06-30 18:25:18 +02:00
…
…
…
…
…
…
…
…
…
…
2006-07-03 23:30:54 +02:00
…
…
2006-08-06 08:57:47 -07:00
2006-07-10 13:24:25 -07:00
…
…
…
…
…