Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* patch for 2.3.29
@ 1999-11-25  1:44 Bibek Sahu
  0 siblings, 0 replies; 2+ messages in thread
From: Bibek Sahu @ 1999-11-25  1:44 UTC (permalink / raw)
  To: axp-list

[-- Attachment #1: Type: TEXT/PLAIN, Size: 343 bytes --]


	Fixes a problem in fbmem.c (it needs io.h included, but that was
only being done for powerpc) and one in pgtable.h.

	The problem in pgtable.h would/will cause problems for anything
trying to use io_remap_page_range because the define for it is broken.

	They're both trivial fixes, but they did keep my kernel from
compiling.

Enjoy,
- Bob

[-- Attachment #2: Type: TEXT/PLAIN, Size: 829 bytes --]

--- drivers/video/fbmem.c.orig	Wed Nov 24 18:35:36 1999
+++ drivers/video/fbmem.c	Wed Nov 24 19:08:57 1999
@@ -30,7 +30,7 @@
 #if defined(__mc68000__) || defined(CONFIG_APUS)
 #include <asm/setup.h>
 #endif
-#ifdef __powerpc__
+#if defined(__powerpc__) || defined(__alpha__)
 #include <asm/io.h>
 #endif
 #include <asm/uaccess.h>
--- include/asm-alpha/pgtable.h.orig	Wed Nov 24 18:40:55 1999
+++ include/asm-alpha/pgtable.h	Wed Nov 24 19:34:29 1999
@@ -297,7 +297,7 @@
 #define kern_addr_valid(addr)	(1)
 
 #define io_remap_page_range(start, busaddr, size, prot) \
-	remap_page_range(start, virt_to_phys(__ioremap(busaddr), 0), size, prot)
+	remap_page_range(start, virt_to_phys(__ioremap(busaddr)), size, prot)
 
 #define pte_ERROR(e) \
 	printk("%s:%d: bad pte %016lx.\n", __FILE__, __LINE__, pte_val(e))

^ permalink raw reply	[flat|nested] 2+ messages in thread
* RE: patch for 2.3.29
@ 1999-11-25  9:18 Waibel Niki
  0 siblings, 0 replies; 2+ messages in thread
From: Waibel Niki @ 1999-11-25  9:18 UTC (permalink / raw)
  To: 'axp-list@redhat.com'; +Cc: 'Bibek Sahu'

i figured out exactly the same.
it is strange, that the stuff in pgtable.h was changed in the 2.3.29 patch.
did linus or alan made a fault?

anyway.
i got the kernel compiling but it did not start (i have an old
alphastation255).

i tried with fb dev for matrox mill (i).
the screen changed to the new resolution but i could not see where the
error occurs.
how can i get the latest kernel messages?

i seens that there is a problem with the scsi controller (symb) but i am not
sure.

another quest:
such patches - whom should they be sent to?
linus torvalds? alan cox?
who is responsible for the alpha port?
who did that huge alpha changes in 2.3.29???

niki

>-----Original Message-----
>From: Bibek Sahu [mailto:scorpio@dodds.net]
>Sent: Thursday, November 25, 1999 2:44 AM
>To: axp-list@redhat.com
>Subject: patch for 2.3.29
>
>
>
>	Fixes a problem in fbmem.c (it needs io.h included, but that was
>only being done for powerpc) and one in pgtable.h.
>
>	The problem in pgtable.h would/will cause problems for anything
>trying to use io_remap_page_range because the define for it is broken.
>
>	They're both trivial fixes, but they did keep my kernel from
>compiling.
>
>Enjoy,
>- Bob
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-11-25  9:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-25  1:44 patch for 2.3.29 Bibek Sahu
  -- strict thread matches above, loose matches on Subject: below --
1999-11-25  9:18 Waibel Niki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox