Files
linux/drivers/net
Eric Miao d280eadc4f [NET] smc91x: remove "irq_flags" from "struct smc91x_platdata"
IRQ trigger type can be specified in the IRQ resource definition by
IORESOURCE_IRQ_*, we need only one way to specify this.

This also fixes the following small issue:

To allow dynamic support for multiple platforms, when those relevant
macros are not defined for one specific platform, the default case
will be:

	- SMC_DYNAMIC_BUS_CONFIG defined
	- and SMC_IRQ_FLAGS = IRQF_TRIGGER_RISING

While if "irq_flags" is missing when defining the smc91x_platdata,
usually as follows:

  static struct smc91x_platdata xxxx_smc91x_data = {
	.flags	= SMC91X_USE_XXBIT,
  };

The lp->cfg.irq_flags will always be overriden by the above structure
(due to a memcpy), thus rendering lp->cfg.irq_flags to be "0" always.
(regardless of the default SMC_IRQ_FLAGS or IORESOURCE_IRQ_* flags)

Fixes this by forcing to use IORESOURCE_IRQ_* flags if present, and
make the only user of smc91x_platdata.irq_flags (renesas/migor) to
use IORESOURCE_IRQ_*.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Acked-by: Nicolas Pitre <nico@cam.org>
Acked-by: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-07-12 21:52:40 +01:00
..
2008-01-28 15:10:29 -08:00
2008-05-13 01:31:37 -04:00
2008-06-10 18:20:15 -04:00
2008-05-30 22:07:19 -04:00
2008-03-26 00:18:44 -04:00
2008-03-17 08:11:03 -04:00
…
2008-01-28 15:04:05 -08:00
…
…
2008-06-10 18:20:17 -04:00
2007-10-10 16:51:57 -07:00
2008-03-26 00:18:43 -04:00
2007-07-10 12:41:08 -04:00
2008-01-28 15:07:12 -08:00
…
2007-10-10 16:55:27 -07:00
2008-01-28 15:03:59 -08:00
2008-03-26 00:18:43 -04:00
…
2008-05-22 06:20:14 -04:00
2007-10-10 16:51:43 -07:00
2008-04-29 01:56:14 -04:00
…
2008-01-31 19:27:17 -08:00
2008-02-28 11:51:50 -08:00
2008-06-12 14:30:28 -07:00
2008-02-28 11:51:50 -08:00
2008-06-12 14:30:28 -07:00
2008-06-12 14:30:28 -07:00
2008-01-04 00:47:04 -08:00
2008-05-22 06:20:02 -04:00
…
…
2008-03-26 00:18:43 -04:00
…
…
2008-01-18 14:44:33 -05:00
2008-02-01 20:54:03 +11:00
…
2007-10-10 16:51:13 -07:00
2008-04-29 08:06:27 -07:00
2007-10-10 16:51:13 -07:00
2008-01-28 15:07:59 -08:00
2008-04-29 01:56:01 -04:00
2008-06-17 23:07:29 -04:00
2007-10-19 11:53:42 -07:00
…
2008-05-01 08:08:36 -07:00
2008-06-10 18:20:13 -04:00
2008-04-29 08:06:27 -07:00
2008-01-28 15:07:12 -08:00
…
…
2008-02-03 04:26:12 -08:00
2007-10-10 16:50:46 -07:00
2008-03-17 08:11:41 -04:00
2008-01-28 15:05:53 -08:00
2008-04-25 02:08:51 -04:00
2008-01-28 15:04:05 -08:00
2007-10-10 16:51:13 -07:00
2008-01-28 15:07:12 -08:00
…
2007-10-19 11:53:42 -07:00
2007-04-28 11:01:05 -04:00
2008-02-03 04:28:10 -08:00
2008-03-17 07:56:33 -04:00
2008-03-26 00:18:04 -04:00
2008-03-26 00:18:00 -04:00
…
2007-10-23 21:28:40 -04:00
…
2008-01-28 15:07:56 -08:00
2008-03-05 16:34:41 -06:00
2008-05-22 06:03:29 -04:00
2008-01-28 15:11:27 -08:00
2008-06-20 21:58:02 -07:00
2008-01-28 15:08:00 -08:00
2008-01-28 15:03:59 -08:00
2008-06-10 18:20:41 -04:00
2007-10-15 14:29:48 -04:00
2008-04-16 20:41:44 -04:00
2008-05-22 06:18:55 -04:00
2008-05-30 22:07:17 -04:00
…
2008-04-27 18:19:08 +02:00
2008-01-28 15:03:59 -08:00
…
2007-10-16 21:10:29 -04:00
2008-06-17 23:07:03 -04:00
2008-05-13 01:31:44 -04:00
2008-01-28 15:11:27 -08:00
2008-04-30 08:29:47 -07:00
…
2008-01-28 15:03:59 -08:00
…
2007-05-04 17:59:08 -07:00
…
2007-07-16 15:02:47 +02:00
2008-04-16 20:06:50 -04:00
2007-10-10 16:51:13 -07:00
2008-02-03 04:26:15 -08:00
…
2008-01-28 15:03:46 -08:00
2008-03-23 03:35:12 -07:00
2008-01-28 15:07:10 -08:00
2008-01-28 15:07:09 -08:00
2008-02-03 04:26:14 -08:00
2008-04-17 15:31:31 -04:00
2007-10-10 16:51:34 -07:00
2007-10-10 16:51:34 -07:00
2008-06-09 15:41:33 -07:00
…
2008-04-25 02:45:23 -04:00