2.3.23pre5: drivers/char/bttv.c and drivers/usb/cpia.c do not compile

Adam J. Richter (adam@yggdrasil.com)
Thu, 21 Oct 1999 10:08:43 -0700


Given the complexity of switching to a memory model where
physical != kernel, as the BIGMEM stuff requires, it is amazing that
these are the only drivers in 2.3.23pre5 that have non-trivial problems
compiling. Anyhow, I thought somebody should report it.

drivers/char/bttv.c
drivers/usb/cpia.c

These files are very similar. It looks as if one were written
from the other. Both of these files define a routine called uvirt_to_kva
that attempts to do some arithmetic on the result of pte_page(),
which used to be an unsigned long, but now is pointer to a
structure. Both of these files then want to convert that address to
a "bus" address. I am a little unclear on the new kernel memory
mapping system, so I will just report these problems for now. If nobody
fixes them, then I will probably get around to taking a whack at it.

Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 104
adam@yggdrasil.com \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/