[parisc-linux] sys/io.h

Randolph Chung Randolph Chung <tausq@debian.org>
Mon, 24 Jun 2002 08:39:59 -0700


> I'm trying to build tulip-diag.c from scyld.com and am getting the
> following error msg:
> gsyprf11:~# gcc -O tulip-diag.c -o tulip-diag
> tulip-diag.c:58:20: sys/io.h: No such file or directory
> tulip-diag.c:1347:24: warning: multi-line string literals are deprecated
> 
> On ia64, sys/io.h comes from
> gsyprf3:~# dpkg -S sys/io.h
> libc6.1-dev: /usr/include/sys/io.h
> 
> But we don't have the equivalent for parisc (hppa).
> Ideas?

ISTR this has to do with the fact that we do not want to/cannot expose 
the {in,out}[bwl] primitives to userspace. Is the tulip-diag program
trying to write to port space directly?

FWIW we have the same problems with things like sane. 

ia64 seems to have some wrappers in glibc to do port io....

randolph