readw() access

From: Svein Erling Seldal (Svein.Seldal@edcom.no)
Date: Wed Aug 01 2001 - 15:33:44 EST


Hello,

I'm trying to port a driver from 2.2.x to 2.4.x where I previously has used
readw() to read the contents of the memory-adresses 0x408-0x40c (Where the
BIOS gives you the adr. for the par-ports.) But on 2.4.x readw(0x408) Oops:

"Unable to handle kernel NULL pointer dereference at virtual address
00000408"

How do you read a memory-address like this?

Svein Erling Seldal

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



This archive was generated by hypermail 2b29 : Tue Aug 07 2001 - 21:00:13 EST