Linux MIPS Architecture development
 help / color / mirror / Atom feed
* lift the ioport_resource limit ...
@ 2001-05-09 17:35 Jun Sun
  2001-05-09 19:26 ` Ralf Baechle
  0 siblings, 1 reply; 8+ messages in thread
From: Jun Sun @ 2001-05-09 17:35 UTC (permalink / raw)
  To: linux-mips


Currently IO_SPACE_LIMIT is 0xffff, which is probably borrowed from the legacy
i386 code.  Let us remove that limit, so that each machine does not have to
laboriously reset it. 

BTW, a prudent machine port should probably always reset it to a more sane
range - in any case having 0xffff default value does not make much sense.

Jun

diff -Nru linux/include/asm-mips/io.h.orig linux/include/asm-mips/io.h
--- linux/include/asm-mips/io.h.orig    Fri Feb  9 16:43:15 2001
+++ linux/include/asm-mips/io.h Wed May  9 10:26:44 2001
@@ -436,7 +436,7 @@
        __inslc((port),(addr),(count)) : \
        __insl((port),(addr),(count)))
 
-#define IO_SPACE_LIMIT 0xffff
+#define IO_SPACE_LIMIT 0xffffffff
 
 /*
  * The caches on some architectures aren't dma-coherent and have need to

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

end of thread, other threads:[~2001-05-10 22:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-09 17:35 lift the ioport_resource limit Jun Sun
2001-05-09 19:26 ` Ralf Baechle
2001-05-09 21:06   ` Jun Sun
2001-05-10  9:43     ` Maciej W. Rozycki
2001-05-10  9:58       ` Geert Uytterhoeven
2001-05-10 11:08         ` Maciej W. Rozycki
2001-05-10 18:11       ` Jun Sun
2001-05-10 20:20         ` Ralf Baechle

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