]> git.ipfire.org Git - ipfire-2.x.git/blob - 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.
[ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.fixes / uv-xpc-get_sn_info.diff
1 From: Dean Nelson <dcn@sgi.com>
2 Subject: [PATCH] Define xp_partition_id and xp_region_size
3 References: bnc#442461
4
5
6 Define xp_partition_id and xp_region_size to their correct values.
7
8 Signed-off-by: Dean Nelson <dcn@sgi.com>
9 Acked-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;