Subject: Re: Serial port
To: Alexander Hayward <alexander.hayward@lady-margaret-hall.oxford.ac.uk>
From: Jasper Wallace <jasper@ivision.co.uk>
List: port-arm32
Date: 01/03/1997 16:59:26
On Thu, 2 Jan 1997, Alexander Hayward wrote:

> On Wed, 1 Jan 1997, Markus Baeurle wrote:
> 
> > Hello Alexander!
> > 
> > In message <Pine.OSF.3.91.961228115001.18673A-100000@sable.ox.ac.uk>
> >           Alexander Hayward <alexander.hayward@lady-margaret-hall.oxford.ac.uk>
> > wrote:

> Right, try http://www.personal.u-net.com/~hayward/in_cksum.S.txt
> You will have to get config to produce a Makefile and then modify that by 
> hand to use arch/arm32/arm32/in_cksum.S (or whatever you rename it as) 
> instead of netinet/in_cksum.c. Just do a search for in_cksum to find ithe 
> places to change. One of them is in a list of object (I 
> think you can leave that), another in a list of C files (remove that) and 
> the last is the rule for making it. Change the filename and NORMAL_C to 
> NORMAL_S.

you could alternativly alternativly alter src/sys/arch/arm32/conf/files.arm32

and change the:

file    netinet/in_cksum.c                      inet

line to

file	arm32/in_cksum.S 			inet
	^ ^ ^ ^ ^ ^ ^ ^--- or whatever

then config YOURKERNEL and compile away... I can compare your code to Ian
McEwans now ;-)

-- 
Jasper Wallace-Internet Vision | Caving-Acorn-RiscBSD-Chocolate-Banks-Fish
My opinions != IVisions's      | PovRay-FVWM-Perl-C-Mono-Food-Wired-?
E-Mail:jasper@ivision.co.uk    | This is the Internet, untamed and free,
Tel: +44 171 589 4500 (work)   | Where you can be anything you want to be