Compiling PCMCIA 3.0.12 with linux-2.2.9+ac6 (PAGE_OFFSET_RAW)

Kayvan Aghaiepour Sylvan (kayvan@sylvan.com)
14 Jun 1999 01:17:36 -0000


Hi folks,

Here's the patch on pcmcia-0.3.12 I worked out to compile it with
linux-2.2.9 with Alan Cox's patch-2.2.9-ac6. This makes the PCMCIA
Configure script aware of the new CONFIG_1GB and CONFIG_2GB config
variables, and that makes the code in linux/asm/page_offset.h work
correctly.

Without this small patch, there are a lot of undefined PAGE_OFFSET_RAW
references when compiling the pcmcia sources.

Enjoy!

--- pcmcia-cs-3.0.12/Configure~ Sun Jun 13 06:43:38 1999
+++ pcmcia-cs-3.0.12/Configure Sun Jun 13 06:49:19 1999
@@ -329,6 +329,8 @@
fi
printflag "DEC Alpha UDB target platform" CONFIG_ALPHA_LCA
printflag "/proc filesystem support" CONFIG_PROC_FS
+ printflag "Memory Max 1GB" CONFIG_1GB
+ printflag "Memory Max 2GB" CONFIG_2GB
}

echo "" >> $CONFIG
@@ -400,7 +402,7 @@
for C in CONFIG_PCI CONFIG_APM CONFIG_SCSI \
CONFIG_INET CONFIG_NET_RADIO CONFIG_TR \
CONFIG_MODVERSIONS CONFIG_ALPHA_LCA CONFIG_PROC_FS \
- CONFIG_SERIAL ; do
+ CONFIG_SERIAL CONFIG_1GB CONFIG_2GB ; do
configcheck $C
done
printconfig

-- 
Kayvan Aghaiepour Sylvan  | Proud husband of      | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan |                       | Robin Gregory (2/28/92)

- 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/