On Thu, Mar 29, 2001 at 05:34:25PM +0800, Green wrote:
> From: "Green" <[EMAIL PROTECTED]>
> To: "LinuxEmbeddedMailList" <[EMAIL PROTECTED]>,
>         "LinuxKernelMailList" <[EMAIL PROTECTED]>,
>         "MipsMailList" <[EMAIL PROTECTED]>
> Subject: Pcmcia driver on Mips r39xx.
> Date: Thu, 29 Mar 2001 17:34:25 +0800
> 
> Hi all,
> 
> I want to port pcmcia driver to my MIPS box.
> How could I begin?
> 
> I find that there is a line in the /init/main.c such like the following:
> 
> #ifdef CONFIG_PCMCIA
>  init_pcmcia_ds();  /* Do this last */
> #endif
> 
> The init_pcmcia_ds() function is implemented at /drivers/pcmcia/ds.c.
> Should I add a CONFIG_PCMCIA label to the .config file and enable this config ?

This was a bug in our config.in which I just fixed.  Patch below and in
CVS.

  Ralf

Index: arch/mips/config.in
===================================================================
RCS file: /home/pub/cvs/linux/arch/mips/config.in,v
retrieving revision 1.97
diff -u -r1.97 config.in
--- arch/mips/config.in 2001/03/24 03:10:57     1.97
+++ arch/mips/config.in 2001/03/29 11:30:52   
@@ -261,8 +261,14 @@
 
 bool 'Networking support' CONFIG_NET
 
-if [ "$CONFIG_PCI" = "y" ]; then
-    source drivers/pci/Config.in
+source drivers/pci/Config.in
+
+bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
+
+if [ "$CONFIG_HOTPLUG" = "y" ] ; then
+   source drivers/pcmcia/Config.in
+else
+   define_bool CONFIG_PCMCIA n
 fi
 
 bool 'System V IPC' CONFIG_SYSVIPC
Index: arch/mips/defconfig
===================================================================
RCS file: /home/pub/cvs/linux/arch/mips/defconfig,v
retrieving revision 1.78
diff -u -r1.78 defconfig
--- arch/mips/defconfig 2001/03/24 03:10:57     1.78
+++ arch/mips/defconfig 2001/03/29 11:30:54   
@@ -81,6 +81,8 @@
 CONFIG_BINFMT_ELF=y
 # CONFIG_BINFMT_MISC is not set
 CONFIG_NET=y
+# CONFIG_HOTPLUG is not set
+# CONFIG_PCMCIA is not set
 CONFIG_SYSVIPC=y
 # CONFIG_BSD_PROCESS_ACCT is not set
 CONFIG_SYSCTL=y
Index: arch/mips/defconfig-atlas
===================================================================
RCS file: /home/pub/cvs/linux/arch/mips/defconfig-atlas,v
retrieving revision 1.20
diff -u -r1.20 defconfig-atlas
--- arch/mips/defconfig-atlas   2001/03/24 03:10:57     1.20
+++ arch/mips/defconfig-atlas 2001/03/29 11:30:54   
@@ -76,6 +76,8 @@
 # CONFIG_BINFMT_MISC is not set
 CONFIG_NET=y
 # CONFIG_PCI_NAMES is not set
+# CONFIG_HOTPLUG is not set
+# CONFIG_PCMCIA is not set
 CONFIG_SYSVIPC=y
 # CONFIG_BSD_PROCESS_ACCT is not set
 # CONFIG_SYSCTL is not set
Index: arch/mips/defconfig-ddb5476
===================================================================
RCS file: /home/pub/cvs/linux/arch/mips/defconfig-ddb5476,v
retrieving revision 1.20
diff -u -r1.20 defconfig-ddb5476
--- arch/mips/defconfig-ddb5476 2001/03/24 03:10:57     1.20
+++ arch/mips/defconfig-ddb5476 2001/03/29 11:30:54   
@@ -76,6 +76,8 @@
 # CONFIG_BINFMT_MISC is not set
 CONFIG_NET=y
 # CONFIG_PCI_NAMES is not set
+# CONFIG_HOTPLUG is not set
+# CONFIG_PCMCIA is not set
 CONFIG_SYSVIPC=y
 # CONFIG_BSD_PROCESS_ACCT is not set
 CONFIG_SYSCTL=y
Index: arch/mips/defconfig-decstation
===================================================================
RCS file: /home/pub/cvs/linux/arch/mips/defconfig-decstation,v
retrieving revision 1.42
diff -u -r1.42 defconfig-decstation
--- arch/mips/defconfig-decstation      2001/03/24 03:10:57     1.42
+++ arch/mips/defconfig-decstation 2001/03/29 11:30:54   
@@ -74,6 +74,8 @@
 CONFIG_BINFMT_ELF=y
 # CONFIG_BINFMT_MISC is not set
 CONFIG_NET=y
+# CONFIG_HOTPLUG is not set
+# CONFIG_PCMCIA is not set
 CONFIG_SYSVIPC=y
 # CONFIG_BSD_PROCESS_ACCT is not set
 CONFIG_SYSCTL=y
Index: arch/mips/defconfig-ev64120
===================================================================
RCS file: /home/pub/cvs/linux/arch/mips/defconfig-ev64120,v
retrieving revision 1.15
diff -u -r1.15 defconfig-ev64120
--- arch/mips/defconfig-ev64120 2001/03/24 03:10:57     1.15
+++ arch/mips/defconfig-ev64120 2001/03/29 11:30:54   
@@ -83,6 +83,8 @@
 # CONFIG_BINFMT_MISC is not set
 CONFIG_NET=y
 # CONFIG_PCI_NAMES is not set
+# CONFIG_HOTPLUG is not set
+# CONFIG_PCMCIA is not set
 CONFIG_SYSVIPC=y
 # CONFIG_BSD_PROCESS_ACCT is not set
 CONFIG_SYSCTL=y
Index: arch/mips/defconfig-ev96100
===================================================================
RCS file: /home/pub/cvs/linux/arch/mips/defconfig-ev96100,v
retrieving revision 1.20
diff -u -r1.20 defconfig-ev96100
--- arch/mips/defconfig-ev96100 2001/03/24 03:10:57     1.20
+++ arch/mips/defconfig-ev96100 2001/03/29 11:30:54   
@@ -79,6 +79,8 @@
 # CONFIG_BINFMT_MISC is not set
 CONFIG_NET=y
 # CONFIG_PCI_NAMES is not set
+# CONFIG_HOTPLUG is not set
+# CONFIG_PCMCIA is not set
 # CONFIG_SYSVIPC is not set
 # CONFIG_BSD_PROCESS_ACCT is not set
 # CONFIG_SYSCTL is not set
Index: arch/mips/defconfig-ip22
===================================================================
RCS file: /home/pub/cvs/linux/arch/mips/defconfig-ip22,v
retrieving revision 1.53
diff -u -r1.53 defconfig-ip22
--- arch/mips/defconfig-ip22    2001/03/24 03:10:57     1.53
+++ arch/mips/defconfig-ip22 2001/03/29 11:30:54   
@@ -81,6 +81,8 @@
 CONFIG_BINFMT_ELF=y
 # CONFIG_BINFMT_MISC is not set
 CONFIG_NET=y
+# CONFIG_HOTPLUG is not set
+# CONFIG_PCMCIA is not set
 CONFIG_SYSVIPC=y
 # CONFIG_BSD_PROCESS_ACCT is not set
 CONFIG_SYSCTL=y
Index: arch/mips/defconfig-it8172
===================================================================
RCS file: /home/pub/cvs/linux/arch/mips/defconfig-it8172,v
retrieving revision 1.4
diff -u -r1.4 defconfig-it8172
--- arch/mips/defconfig-it8172  2001/03/24 03:10:57     1.4
+++ arch/mips/defconfig-it8172 2001/03/29 11:30:56   
@@ -82,6 +82,8 @@
 # CONFIG_BINFMT_MISC is not set
 CONFIG_NET=y
 CONFIG_PCI_NAMES=y
+# CONFIG_HOTPLUG is not set
+# CONFIG_PCMCIA is not set
 CONFIG_SYSVIPC=y
 CONFIG_BSD_PROCESS_ACCT=y
 CONFIG_SYSCTL=y
Index: arch/mips/defconfig-malta
===================================================================
RCS file: /home/pub/cvs/linux/arch/mips/defconfig-malta,v
retrieving revision 1.22
diff -u -r1.22 defconfig-malta
--- arch/mips/defconfig-malta   2001/03/24 03:10:57     1.22
+++ arch/mips/defconfig-malta 2001/03/29 11:30:56   
@@ -75,6 +75,8 @@
 # CONFIG_BINFMT_MISC is not set
 CONFIG_NET=y
 # CONFIG_PCI_NAMES is not set
+# CONFIG_HOTPLUG is not set
+# CONFIG_PCMCIA is not set
 CONFIG_SYSVIPC=y
 # CONFIG_BSD_PROCESS_ACCT is not set
 # CONFIG_SYSCTL is not set
Index: arch/mips/defconfig-ocelot
===================================================================
RCS file: /home/pub/cvs/linux/arch/mips/defconfig-ocelot,v
retrieving revision 1.6
diff -u -r1.6 defconfig-ocelot
--- arch/mips/defconfig-ocelot  2001/03/24 03:10:57     1.6
+++ arch/mips/defconfig-ocelot 2001/03/29 11:30:56   
@@ -77,6 +77,8 @@
 # CONFIG_BINFMT_MISC is not set
 CONFIG_NET=y
 CONFIG_PCI_NAMES=y
+# CONFIG_HOTPLUG is not set
+# CONFIG_PCMCIA is not set
 CONFIG_SYSVIPC=y
 # CONFIG_BSD_PROCESS_ACCT is not set
 CONFIG_SYSCTL=y
Index: arch/mips/defconfig-rm200
===================================================================
RCS file: /home/pub/cvs/linux/arch/mips/defconfig-rm200,v
retrieving revision 1.36
diff -u -r1.36 defconfig-rm200
--- arch/mips/defconfig-rm200   2001/03/24 03:10:57     1.36
+++ arch/mips/defconfig-rm200 2001/03/29 11:30:56   
@@ -79,6 +79,8 @@
 # CONFIG_BINFMT_MISC is not set
 CONFIG_NET=y
 # CONFIG_PCI_NAMES is not set
+# CONFIG_HOTPLUG is not set
+# CONFIG_PCMCIA is not set
 # CONFIG_SYSVIPC is not set
 # CONFIG_BSD_PROCESS_ACCT is not set
 CONFIG_SYSCTL=y
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to