David S. Miller
5f92c32936
[SPARC64]: Fix several bugs in MSI handling.
...
1) sun4{u,v}_build_msi() have improper return value handling.
We should always return negative error codes, instead of
using the magic value "0" which could in fact be a valid
MSI number.
2) sun4{u,v}_build_msi() should return -ENOMEM instead of
calling prom_prom() halt with kzalloc() of the interrupt
data fails.
3) We 'remembered' the MSI number using a singleton in the
struct device archdata area, this doesn't work for MSI-X
which can cause multiple MSIs assosciated with one device.
Delete that archdata member, and instead store the MSI
number in the IRQ chip data area.
Signed-off-by: David S. Miller <davem@davemloft.net >
2007-08-30 23:06:51 -07:00
..
2007-07-19 10:04:45 -07:00
2007-05-08 11:15:20 -07:00
2007-07-16 04:05:02 -07:00
2006-12-13 09:27:08 -08:00
2007-07-16 09:05:48 -07:00
2007-07-16 04:05:02 -07:00
2007-07-16 04:05:02 -07:00
2007-08-30 23:06:51 -07:00
2007-08-03 14:08:20 -07:00
2007-03-05 13:22:28 -08:00
2007-04-26 01:55:04 -07:00
2007-08-16 13:56:39 -07:00
2007-07-20 17:15:09 -07:00
2007-07-30 00:27:36 -07:00
2007-08-03 14:24:17 -07:00
2007-07-30 00:27:35 -07:00
2007-07-16 04:04:40 -07:00
2006-12-17 14:06:56 -08:00
2007-07-16 04:04:40 -07:00
2007-07-18 01:20:22 -07:00
2007-07-30 00:27:34 -07:00
2007-08-30 23:06:51 -07:00
2007-04-26 01:55:05 -07:00
2007-05-08 11:15:13 -07:00
2007-05-29 02:49:14 -07:00
2007-07-19 10:04:44 -07:00
2007-07-16 04:04:49 -07:00
2007-05-08 11:15:20 -07:00
2007-05-08 11:15:13 -07:00
2007-07-18 01:19:51 -07:00
2007-07-16 04:05:32 -07:00
2007-05-08 11:15:13 -07:00
2007-03-27 01:13:55 -07:00
2007-07-20 14:25:22 +10:00
2007-07-20 14:25:22 +10:00
2007-05-10 00:55:59 -07:00
2007-08-08 17:33:45 -07:00
2007-05-08 11:15:13 -07:00
2007-07-30 00:27:34 -07:00
2007-07-30 00:27:34 -07:00
2007-08-20 23:40:00 -07:00
2007-05-07 12:12:54 -07:00
2007-07-16 09:05:36 -07:00
2007-05-11 08:29:34 -07:00
2007-08-07 18:46:36 -07:00
2007-05-08 11:15:13 -07:00
2007-07-30 00:27:34 -07:00
2007-05-02 19:02:34 -07:00
2007-02-12 15:15:47 -08:00
2007-05-08 11:15:13 -07:00
2007-08-16 22:59:49 -07:00
2007-07-16 04:05:32 -07:00
2007-04-25 22:24:21 -07:00
2007-04-25 22:24:04 -07:00
2007-04-26 01:55:24 -07:00
2007-08-08 17:33:45 -07:00
2007-05-29 02:49:29 -07:00
2007-08-20 23:40:00 -07:00
2007-02-11 10:51:26 -08:00
2007-05-29 02:49:49 -07:00
2007-04-26 01:54:15 -07:00
2007-06-28 21:25:31 -07:00
2007-06-04 21:50:05 -07:00
2007-05-29 02:51:38 -07:00
2007-04-26 01:54:11 -07:00
2007-07-19 21:26:47 -07:00
2007-07-19 21:27:18 -07:00
2007-08-08 17:33:45 -07:00