linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* insl_ns/outsl_ns in 2.3.x kernels???
@ 2000-05-14 13:11 Andreas Tobler
  0 siblings, 0 replies; only message in thread
From: Andreas Tobler @ 2000-05-14 13:11 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: Linux -Dev


Hi all,

on the try to get the vortex 3c590 card to run on the 2.3.99px kernel I
ran in massive trouble. First thought was the driver itself which could
be wrong. But this is not the case, for basic functioning at least.

A 3c905b works, the vortex(3c590) uses insl and outsl functions to
read/write the FIFO's. So I compared the insl_ns and the outsl_ns code
in misc.S from 2.3.99px with the ones from 2.2.16pre2.

Here it comes, below the two functions from 2.3.99p6. The lines which
are commented out are in 2.3.99p6 misc.S. In 2.2.16p2 they are not
available.
When commenting these lines out that it looks like in 2.2.16p2 I get my
vortex to work.

My question, what is behind this scenario, what was the motivation for
this change from stable to devel?
AFAIK these functions, insl/outsl and friends, are used very rarely.

Are there alternate functions available?

As a side note, the ne2k-pci driver uses these functions too.

It would be great if you Paul, or anyone else could explain me the
situation and what I shall do.

TIA

Andreas

_GLOBAL(_insl_ns)
	/*cmpw	0,r5,0*/ <-- used in 2.3.x
	mtctr	r5
	subi	r4,r4,4
	/*blelr-*/          <-- used in 2.3.x
00:	lwz	r5,0(r3)
	eieio
	stwu	r5,4(r4)
	bdnz	00b
	blr

_GLOBAL(_outsl_ns)
	/*cmpw	0,r5,0*/ <-- used in 2.3.x
	mtctr	r5
	subi	r4,r4,4
	/*blelr-*/          <-- used in 2.3.x
00:	lwzu	r5,4(r4)
	stw	r5,0(r3)
	eieio
	bdnz	00b
	blr

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-05-14 13:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-14 13:11 insl_ns/outsl_ns in 2.3.x kernels??? Andreas Tobler

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).