Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Patches to 2.1.55 For AXP(Alpha) compiling
@ 1997-09-15 14:22 Leslie F. Donaldson
  0 siblings, 0 replies; 5+ messages in thread
From: Leslie F. Donaldson @ 1997-09-15 14:22 UTC (permalink / raw)


Hello All,

  Just to let everyone know I try to stay near the cutting edge of kernel
  tech on my systems. So I am going to try to keep current on kernel releases
  and create patch files to allow them to compile on AXP(Alpha)s

  Enclosed below is a patch file to allow linux 2.1.55 to compile on
AXP(Alpha) boxes.
  - Fixed two many arguments to file argument
  - Two versions of pci error. removed the smaller one from bios32.c
  - Patched aic7xxx.c to compile.
  Note:
  - paraport does work in this release(some problems in previous.)
  - SMP option does not work in 2.1.55 I will see if I need to or can
     debug it in 2.1.56.

Leslie Donaldson
/----------------------------\ Current Contractor: Oxford International
|    Leslie F. Donaldson     | Current Customer  : Entergy Inc. 
|    Computer Contractor     | Skills: Unix/OS9/VMS/Linux/SUN-OS/C/C++/assembly
| Have Computer will travel. | Curr   : http://www.cs.rose-hulman.edu/~donaldlf
\----------------------------/ Current Email  : donaldlf@cs.rose-hulman.edu
Goth Code V1.1: GoCS$$ TYg(T6,T9) B11Bk!^1 C6b-- P0(1,7) M+ a24 n--- b++:+
                H6'11" g m---- w+ r+++ D--~!% h+ s10 k+++ R-- Ssw LusCA++

*** linux/arch/alpha/kernel/bios32.c.old	Sat Sep 13 11:49:57 1997
--- linux/arch/alpha/kernel/bios32.c	Sat Sep 13 11:50:34 1997
***************
*** 1181,1186 ****
--- 1181,1188 ----
  	return mem_start;
  }
  
+ /*
+ look in linux/drivers/pci/pci.c
  
  const char *pcibios_strerror (int error)
  {
***************
*** 1207,1213 ****
  			return buf;
  	}
  }
! 
  asmlinkage int sys_pciconfig_read(
  	unsigned long bus,
  	unsigned long dfn,
--- 1209,1215 ----
  			return buf;
  	}
  }
! */
  asmlinkage int sys_pciconfig_read(
  	unsigned long bus,
  	unsigned long dfn,
*** linux/arch/alpha/kernel/osf_sys.c.old	Fri Sep  5 18:58:08 1997
--- linux/arch/alpha/kernel/osf_sys.c	Sat Sep 13 11:45:30 1997
***************
*** 164,170 ****
  	if (!file->f_op || !file->f_op->readdir)
  		goto out;
  
! 	error = file->f_op->readdir(inode, file, &buf, osf_filldir);
  	if (error < 0)
  		goto out;
  
--- 164,170 ----
  	if (!file->f_op || !file->f_op->readdir)
  		goto out;
  
! 	error = file->f_op->readdir(file, &buf, osf_filldir);
  	if (error < 0)
  		goto out;
  
*** linux/drivers/pci/pci.c.old	Sat Sep 13 11:55:48 1997
--- linux/drivers/pci/pci.c	Sat Sep 13 11:56:12 1997
***************
*** 675,681 ****
  
  const char *pcibios_strerror(int error)
  {
! 	static char buf[32];
  
  	switch (error) {
  		case PCIBIOS_SUCCESSFUL:
--- 675,681 ----
  
  const char *pcibios_strerror(int error)
  {
! 	static char buf[80];
  
  	switch (error) {
  		case PCIBIOS_SUCCESSFUL:
*** linux/drivers/scsi/aic7xxx.c.old	Fri Sep  5 18:58:42 1997
--- linux/drivers/scsi/aic7xxx.c	Sat Sep 13 11:15:09 1997
***************
*** 992,997 ****
--- 992,998 ----
  {
    if (p->maddr != NULL)
    {
+ #ifdef 0
      __asm __volatile("
        cld;
      1:  lodsb;
***************
*** 1001,1006 ****
--- 1002,1014 ----
        "r" ((p)->maddr + (port)),
        "S" ((valp)), "c" ((size))  :
        "%esi", "%ecx", "%eax");
+ #else
+       unsigned char *iop = ((p)->maddr + (port));
+       const unsigned char *dp = (valp);
+       int xferlen = (size);
+       for (; xferlen; --xferlen)
+           *iop = *dp++;
+ #endif
    }
    else
    {

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Patches to 2.1.55 For AXP(Alpha) compiling
       [not found] <199709151422.JAA00979@vulture.cs.rose-hulman.edu>
@ 1997-09-16 12:54 ` Matti Aarnio
  0 siblings, 0 replies; 5+ messages in thread
From: Matti Aarnio @ 1997-09-16 12:54 UTC (permalink / raw)


> Hello All,
> 
>   Just to let everyone know I try to stay near the cutting edge of kernel
>   tech on my systems. So I am going to try to keep current on kernel releases
>   and create patch files to allow them to compile on AXP(Alpha)s
>
>   Enclosed below is a patch file to allow linux 2.1.55 to compile on
>       AXP(Alpha) boxes.
...
	I have way larger diffs to merge  alpha-patches-2.0.30 into
	2.1.55, plus small fixes, like the ones you showed.

	The main reason is that the current sources does not support
	PYXIS systems (DEC PWS 433 series, for example.)

	See:  ftp://mea.tmt.tele.fi/alpha-patches*

	The referred machine is my developement yoyo, but hopefully it
	is up -- it usually is...

> Leslie Donaldson

/Matti Aarnio <matti.aarnio@tele.fi>

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Patches to 2.1.55 For AXP(Alpha) compiling
@ 1997-09-16 13:59 Leslie F. Donaldson
  0 siblings, 0 replies; 5+ messages in thread
From: Leslie F. Donaldson @ 1997-09-16 13:59 UTC (permalink / raw)


Matti Aarnio wrote:
> I have way larger diffs to merge alpha-patches-2.0.30 into
> 2.1.55, plus small fixes, like the ones you showed.

I was just curious about this but I thought tahat all of the 2.0.30
patches had already been rolled into the development kernel tree.
Which apparently they are not.. So this raises the question of 
why haven't they. ( No I am not flameing or anythig just wondering why.)

Thanks for the information
Leslie Donaldson
/----------------------------\ Current Contractor: Oxford International
|    Leslie F. Donaldson     | Current Customer  : Entergy Inc. 
|    Computer Contractor     | Skills: Unix/OS9/VMS/Linux/SUN-OS/C/C++/assembly
| Have Computer will travel. | Curr   : http://www.cs.rose-hulman.edu/~donaldlf
\----------------------------/ Current Email  : donaldlf@cs.rose-hulman.edu
Goth Code V1.1: GoCS$$ TYg(T6,T9) B11Bk!^1 C6b-- P0(1,7) M+ a24 n--- b++:+
                H6'11" g m---- w+ r+++ D--~!% h+ s10 k+++ R-- Ssw LusCA++

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Patches to 2.1.55 For AXP(Alpha) compiling
@ 1997-09-16 17:39 David S. Miller
  1997-09-16 18:05 ` Richard Henderson
  0 siblings, 1 reply; 5+ messages in thread
From: David S. Miller @ 1997-09-16 17:39 UTC (permalink / raw)


Date: 	Tue, 16 Sep 1997 15:54:04 +0300 (EET DST)
   From: Matti Aarnio <matti.aarnio@tele.fi>

	   I have way larger diffs to merge alpha-patches-2.0.30 into
	   2.1.55, plus small fixes, like the ones you showed.

	   The main reason is that the current sources does not
	   support PYXIS systems (DEC PWS 433 series, for example.)

	   See: ftp://mea.tmt.tele.fi/alpha-patches*

	   The referred machine is my developement yoyo, but hopefully
	   it is up -- it usually is...

Can you whip up a diff for these Alpha changes against the latest VGER
cvs kernel snapshot on ftp.kernel.org?  Send these to either myself of
Richard, so that we can propagate these changes into the tree.

Later,
David "Sparc" Miller
davem@caip.rutgers.edu

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Patches to 2.1.55 For AXP(Alpha) compiling
  1997-09-16 17:39 Patches to 2.1.55 For AXP(Alpha) compiling David S. Miller
@ 1997-09-16 18:05 ` Richard Henderson
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Henderson @ 1997-09-16 18:05 UTC (permalink / raw)


> 	   The main reason is that the current sources does not
> 	   support PYXIS systems (DEC PWS 433 series, for example.)

Support for PYXIS and T2 are in vger's cvs tree already, but 
have not propogated through to Linus.  Please check out DaveM's
snapshot and see how it goes.

r~

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

end of thread, other threads:[~1997-09-16 18:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-16 17:39 Patches to 2.1.55 For AXP(Alpha) compiling David S. Miller
1997-09-16 18:05 ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
1997-09-16 13:59 Leslie F. Donaldson
     [not found] <199709151422.JAA00979@vulture.cs.rose-hulman.edu>
1997-09-16 12:54 ` Matti Aarnio
1997-09-15 14:22 Leslie F. Donaldson

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