public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* insl/outsl in parport_pc and !CONFIG_PCI
@ 2001-05-27 17:16 Richard Zidlicky
  2001-05-29  0:11 ` Jamie Lokier
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Zidlicky @ 2001-05-27 17:16 UTC (permalink / raw)
  To: tim, linux-kernel


Hi,

How is that supposed to work on systems without PCI? For now I have
defined 

#define insl(port,buf,len)   isa_insb(port,buf,(len)<<2)
#define outsl(port,buf,len)  isa_outsb(port,buf,(len)<<2)

in asm-m68k/parport.h.

Bye
Richard

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

* Re: insl/outsl in parport_pc and !CONFIG_PCI
  2001-05-27 17:16 insl/outsl in parport_pc and !CONFIG_PCI Richard Zidlicky
@ 2001-05-29  0:11 ` Jamie Lokier
  2001-05-31 11:06   ` Tim Waugh
  0 siblings, 1 reply; 3+ messages in thread
From: Jamie Lokier @ 2001-05-29  0:11 UTC (permalink / raw)
  To: Richard Zidlicky, tim, linux-kernel, Fred Barnes

Richard Zidlicky wrote:
> How is that supposed to work on systems without PCI? For now I have
> defined 
> 
> #define insl(port,buf,len)   isa_insb(port,buf,(len)<<2)
> #define outsl(port,buf,len)  isa_outsb(port,buf,(len)<<2)

Tim, Fred,

Will 4 * inb() cycles have the same effect as 1 * inl() cycle for an EPP
mode read?

By the way, it's probably worth a check whether insl() is actually
faster than a loop doing inl() these days.  Guess I should do that :)

cheers,
-- Jamie

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

* Re: insl/outsl in parport_pc and !CONFIG_PCI
  2001-05-29  0:11 ` Jamie Lokier
@ 2001-05-31 11:06   ` Tim Waugh
  0 siblings, 0 replies; 3+ messages in thread
From: Tim Waugh @ 2001-05-31 11:06 UTC (permalink / raw)
  To: Jamie Lokier; +Cc: Richard Zidlicky, tim, linux-kernel, Fred Barnes

[-- Attachment #1: Type: text/plain, Size: 241 bytes --]

On Tue, May 29, 2001 at 02:11:56AM +0200, Jamie Lokier wrote:

> Will 4 * inb() cycles have the same effect as 1 * inl() cycle for an EPP
> mode read?

4 inb() cycles on the same port, yes, I think so (but not on
successive ports).

Tim.
*/

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

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

end of thread, other threads:[~2001-05-31 11:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-27 17:16 insl/outsl in parport_pc and !CONFIG_PCI Richard Zidlicky
2001-05-29  0:11 ` Jamie Lokier
2001-05-31 11:06   ` Tim Waugh

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