pcmcia-2.9.7 and kernel 2.1.50 compilation issue

Craig Brozefsky (craig@onshore.com)
Sun, 17 Aug 1997 14:33:17 -0500


I have 2.1.50 compiled just fine on my 486 laptop, but when I attempted
to compile pcmcia-2.9.7 services to work with that kernel I ran into a
problem with the ds_poll function is ds.c.

Apparently in ds.c and some other places there are some ifdefs to check
the version of the kernel we are compiling against. The problem I ran
into was ds.c:665 in the ds_poll function where we try and get the inode
from a file structure

MINOR(file->f_inode->i_rdev);

f_inode does not exist in the file structure tho.

I thought perhaps you could go thru file->f_dentry->d_inode->i_rdev

But I am totally unfamiliar with the dcache code and would not know if
that was possible, or prudent.

Apparently this ds_poll function is for kernel greater than 2.1.23.

Craig Brozefsky craig@onshore.com
onShore Inc. http://www.onshore.com/~craig
Development Team p_priority=PFUN+(p_work/4)+(2*p_cash)