linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* compile troubles in 2.2.8
@ 1999-05-13  8:44 Oliver Neukum
  1999-05-13 10:40 ` Jens Ch. Restemeier
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Oliver Neukum @ 1999-05-13  8:44 UTC (permalink / raw)
  To: linuxppc-dev


Hello,

i had troubles getting 2.2.8(vanilla) to compile. It took the following
patch. There seams to be at least one genuine bug.

Oliver Neukum

PS: Is there really a PPC-machine with an isa-bus?

diff -u --recursive linux/arch/ppc/kernel/pmac_setup.c /usr/src/linux/arch/ppc/kernel/pmac_setup.c
--- linux/arch/ppc/kernel/pmac_setup.c	Thu May 13 10:02:13 1999
+++ /usr/src/linux/arch/ppc/kernel/pmac_setup.c	Thu May 13 09:29:26 1999
@@ -556,9 +556,11 @@
 	/* isa_io_base gets set in pmac_find_bridges */
 	isa_mem_base = PMAC_ISA_MEM_BASE;
 	pci_dram_offset = PMAC_PCI_DRAM_OFFSET;
+#if 0
 	ISA_DMA_THRESHOLD = ~0L;
 	DMA_MODE_READ = 1;
 	DMA_MODE_WRITE = 2;
+#endif
 
 	ppc_md.setup_arch     = pmac_setup_arch;
 	ppc_md.setup_residual = NULL;
diff -u --recursive linux/arch/ppc/kernel/syscalls.c /usr/src/linux/arch/ppc/kernel/syscalls.c
--- linux/arch/ppc/kernel/syscalls.c	Thu May 13 10:02:13 1999
+++ /usr/src/linux/arch/ppc/kernel/syscalls.c	Thu May 13 09:50:00 1999
@@ -33,6 +33,7 @@
 #include <linux/sys.h>
 #include <linux/ipc.h>
 #include <linux/utsname.h>
+#include <linux/file.h>
 
 #include <asm/uaccess.h>
 #include <asm/ipc.h>


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

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

* Re: compile troubles in 2.2.8
  1999-05-13  8:44 compile troubles in 2.2.8 Oliver Neukum
@ 1999-05-13 10:40 ` Jens Ch. Restemeier
  1999-05-13 15:25 ` Matt Porter
  1999-05-13 21:44 ` Tom Rini
  2 siblings, 0 replies; 4+ messages in thread
From: Jens Ch. Restemeier @ 1999-05-13 10:40 UTC (permalink / raw)
  To: Oliver Neukum; +Cc: linuxppc-dev


Hi !

> PS: Is there really a PPC-machine with an isa-bus?

Isn't this a requiremet for PREP or CHRP ? 

Jens

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

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

* Re: compile troubles in 2.2.8
  1999-05-13  8:44 compile troubles in 2.2.8 Oliver Neukum
  1999-05-13 10:40 ` Jens Ch. Restemeier
@ 1999-05-13 15:25 ` Matt Porter
  1999-05-13 21:44 ` Tom Rini
  2 siblings, 0 replies; 4+ messages in thread
From: Matt Porter @ 1999-05-13 15:25 UTC (permalink / raw)
  To: Oliver Neukum; +Cc: linuxppc-dev


On Thu, 13 May 1999, Oliver Neukum wrote:
> Hello,
> 
> i had troubles getting 2.2.8(vanilla) to compile. It took the following
> patch. There seams to be at least one genuine bug.

I just needed to include file.h since fget is now used in sys_mmap.  Don't
know why you had problems with the ISA support.

> PS: Is there really a PPC-machine with an isa-bus?

Sure, all the PowerStacks and MTX's.  I have an ISA modem in one of our
blackhawk systems which works fine.

--
Matt Porter
mmporter@home.com
This is Linux Country. On a quiet night, you can hear Windows reboot.


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

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

* Re: compile troubles in 2.2.8
  1999-05-13  8:44 compile troubles in 2.2.8 Oliver Neukum
  1999-05-13 10:40 ` Jens Ch. Restemeier
  1999-05-13 15:25 ` Matt Porter
@ 1999-05-13 21:44 ` Tom Rini
  2 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 1999-05-13 21:44 UTC (permalink / raw)
  To: Oliver Neukum; +Cc: linuxppc-dev


On Thu, 13 May 1999, Oliver Neukum wrote:

> PS: Is there really a PPC-machine with an isa-bus?

CHRP.  PReP too (maybe)

> diff -u --recursive linux/arch/ppc/kernel/pmac_setup.c /usr/src/linux/arch/ppc/kernel/pmac_setup.c
> --- linux/arch/ppc/kernel/pmac_setup.c	Thu May 13 10:02:13 1999
> +++ /usr/src/linux/arch/ppc/kernel/pmac_setup.c	Thu May 13 09:29:26 1999

Adding #include <asm/dma.h> fixes this as well, properly.

---
Tom Rini (TR1265)
http://dobbstown.yeti.edu/


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

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

end of thread, other threads:[~1999-05-13 21:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-13  8:44 compile troubles in 2.2.8 Oliver Neukum
1999-05-13 10:40 ` Jens Ch. Restemeier
1999-05-13 15:25 ` Matt Porter
1999-05-13 21:44 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).