Support for Hydra i2c

Gabriel Paubert paubert at
Thu Apr 29 17:28:49 EST 1999

	Hi Geert,

>   - prog/dump/isadump.c
>       o glibc 2.1 doesn't have <sys/perm.h>
>       o make it compile on PPC (ISA I/O is memory mapped, but it doesn't work
> 	anyway because different types of PPC boxes have ISA I/O space at
> 	different addresses :-(

And why not add an mmap method to /dev/port ? This would be the most
elegant solution and would work on all architectures which use normal
memory accesses to ISA/PCI I/O space, in contrast to InHell which has an
extremely reduced set of instructions to access this space (you can't even
choose the registers you use). 

I always thought that the distinction between I/O space and
non-prefetchable memory in PCI is extremely artificial, most PCI devices
have base registers in both spaces which have exactly the same
functionality (and Intel recommends using the MMIO method, which is much
faster on PPro/PII.../P\infinity).


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check ]]
[[ and for useful information before posting.   ]]

More information about the Linuxppc-dev mailing list