]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.31/patches.fixes/uv-xpc-get_sn_info.diff
Add a patch to fix Intel E100 wake-on-lan problems.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.fixes / uv-xpc-get_sn_info.diff
CommitLineData
6a930a95
BS
1From: Dean Nelson <dcn@sgi.com>
2Subject: [PATCH] Define xp_partition_id and xp_region_size
3References: bnc#442461
4
5
6Define xp_partition_id and xp_region_size to their correct values.
7
8Signed-off-by: Dean Nelson <dcn@sgi.com>
9Acked-by: Bernhard Walle <bwalle@suse.de>
10
11---
12
13 drivers/misc/sgi-xp/xp_uv.c | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16--- a/drivers/misc/sgi-xp/xp_uv.c
17+++ b/drivers/misc/sgi-xp/xp_uv.c
18@@ -119,8 +119,8 @@ xp_init_uv(void)
19 BUG_ON(!is_uv());
20
21 xp_max_npartitions = XP_MAX_NPARTITIONS_UV;
22- xp_partition_id = 0; /* !!! not correct value */
23- xp_region_size = 0; /* !!! not correct value */
24+ xp_partition_id = sn_partition_id;
25+ xp_region_size = sn_region_size;
26
27 xp_pa = xp_pa_uv;
28 xp_remote_memcpy = xp_remote_memcpy_uv;