* Re: AW: Does anyone port m8xx_pcmcia driver to Linux Kernel successfully?
[not found] ` <3CBEF7A7.1090900@mvista.com>
@ 2002-04-25 9:33 ` Sven Boehringer
2002-04-25 16:13 ` Matthew Locke
0 siblings, 1 reply; 7+ messages in thread
From: Sven Boehringer @ 2002-04-25 9:33 UTC (permalink / raw)
To: Matthew Locke, Fend Matthias, jimmlin, linuxppc
Hi all,
i tried your patch, but it seems to me that there are some #defines
missing?
I try to use the source/kernel on a FADS board, an in that section there
is
"BCSR1_PCCVPP1". But i can't find this value. I tried to copy some
values from ppcboot,
but these particular are not there. Are there some special includes?
I have the actual linuxppc_2_4_devel source-tree, but i can't find these
values.
regards
Sven
Matthew Locke wrote:
>
> here is the patch to add the 8xx pcmcia socket driver to the kernel.
>
> Fend, Matthias wrote:
>
> >hello Matthew,
> >
> >i also tried to do this work - without the desired success
> >
> >i don't know exactly if my hardware is faulty or my m8xx port ... :-(
> >
> >so if i could have your version of the pcmcia stuff i would be very glad.
> >
> >thanks matthias
> >
> >>-----Ursprüngliche Nachricht-----
> >>Von: Matthew Locke [SMTP:mlocke@mvista.com]
> >>Gesendet am: Dienstag, 16. April 2002 18:50
> >>An: Jacky Wang
> >>Cc: linuxppc-embedded@lists.linuxppc.org
> >>Betreff: Re: Does anyone port m8xx_pcmcia driver to Linux Kernel
> >>successfully?
> >>
> >>
> >>Jacky Wang wrote:
> >>
> >>>Hi everyone,
> >>>
> >>>I am interesting about how to port m8xx_pcmcia driver to linux kernel w/
> >>>
> >>MPC850.
> >>
> >>>Would you mind to share your successful experience with me?
> >>>
> >>I did (w/ the help of others). It is on its way upstream now. If you
> >>need it soon, let me know and I can make it available.
> >>
> >>>
> >>>Best Regards
> >>>Jacky Wang
> >>>
> >>>
> >>
> >>** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org
> >>
> >/
> >
>
> +/* ------------------------------------------------------------------------- */
> +/* FADS Boards from Motorola */
> +
> +#if defined(CONFIG_FADS)
> +
> +#define PCMCIA_BOARD_MSG "FADS"
> +
> +static int voltage_set(int slot, int vcc, int vpp)
> +{
> + uint reg = 0;
> +
> + switch(vcc) {
> + case 0: break;
> + case 33: reg |= BCSR1_PCCVCC0; break;
> + case 50: reg |= BCSR1_PCCVCC1; break;
> + default: return 1;
> + }
> +
> + switch(vpp) {
> + case 0: break;
> + case 33:
> + case 50:
> + if(vcc == vpp)
> + reg |= \x03BCSR1_PCCVPP1;
> + else
> + return 1;
> + break;
> + case 120:
> + if ((vcc == 33) || (vcc == 50))
> + reg |= BCSR1_PCCVPP0;
> + else
> + return 1;
> + default: return 1;
> + }
> +
> + /* first, turn off all power */
> + *((uint *)BCSR1) &= ~(BCSR1_PCCVCC_MASK | BCSR1_PCCVPP_MASK);
> +
> + /* enable new powersettings */
> + *((uint *)BCSR1) |= reg;
> +
> + return 0;
> +}
> +
> +#define socket_get(_slot_) PCMCIA_SOCKET_KEY_5V
> +
> +static void hardware_enable(int slot)
> +{
> + *((uint *)BCSR1) &= ~BCSR1_PCCEN;
> +}
> +
> +static void hardware_disable(int slot)
> +{
> + *((uint *)BCSR1) |= BCSR1_PCCEN;
> +}
> +
> +#endif
> +
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: AW: Does anyone port m8xx_pcmcia driver to Linux Kernel successfully?
2002-04-25 9:33 ` Sven Boehringer
@ 2002-04-25 16:13 ` Matthew Locke
2002-04-25 16:27 ` Sven Boehringer
2002-04-26 9:19 ` Sven Boehringer
0 siblings, 2 replies; 7+ messages in thread
From: Matthew Locke @ 2002-04-25 16:13 UTC (permalink / raw)
To: boehringer; +Cc: Fend Matthias, jimmlin, linuxppc
Sven Boehringer wrote:
>Hi all,
>
>i tried your patch, but it seems to me that there are some #defines
>missing?
>I try to use the source/kernel on a FADS board, an in that section there
>is
>"BCSR1_PCCVPP1". But i can't find this value. I tried to copy some
>values from ppcboot,
>but these particular are not there. Are there some special includes?
>
>I have the actual linuxppc_2_4_devel source-tree, but i can't find these
>values.
>
The BCSR1_* in the CONFIG_FADS areas are register addresses specific to
the FADS board.
It seems some FADS stuff still hasn't made it into _devel. Here are the
defines I have:
/* Bits of interest in the BCSRs.
*/
#define BCSR1_ETHEN ((uint)0x20000000)
#define BCSR1_RS232EN_1 ((uint)0x01000000)
#define BCSR1_PCCEN ((uint)0x00800000)
#define BCSR1_PCCVCC0 ((uint)0x00400000)
#define BCSR1_PCCVPP_MASK ((uint)0x00300000)
#define BCSR1_PCCVPP0 ((uint)0x00200000)
#define BCSR1_PCCVPP1 ((uint)0x00100000)
#define BCSR1_RS232EN_2 ((uint)0x00040000)
#define BCSR1_PCCVCC1 ((uint)0x00010000)
#define BCSR1_PCCVCC_MASK (BCSR1_PCCVCC0 | BCSR1_PCCVCC1)
#define BCSR4_ETHLOOP ((uint)0x80000000) /* EEST Loopback */
#define BCSR4_EEFDX ((uint)0x40000000) /* EEST FDX
enable */
#define BCSR4_FETH_EN ((uint)0x08000000) /* PHY enable */
#define BCSR4_FETHCFG0 ((uint)0x04000000) /* PHY autoneg
mode */
#define BCSR4_FETHCFG1 ((uint)0x00400000) /* PHY autoneg
mode */
#define BCSR4_FETHFDE ((uint)0x02000000) /* PHY FDX
advertise */
#define BCSR4_FETHRST ((uint)0x00200000) /* PHY Reset */
>
>
>regards
> Sven
>
>Matthew Locke wrote:
>
>>here is the patch to add the 8xx pcmcia socket driver to the kernel.
>>
>>Fend, Matthias wrote:
>>
>>>hello Matthew,
>>>
>>>i also tried to do this work - without the desired success
>>>
>>>i don't know exactly if my hardware is faulty or my m8xx port ... :-(
>>>
>>>so if i could have your version of the pcmcia stuff i would be very glad.
>>>
>>>thanks matthias
>>>
>>>>-----Ursprüngliche Nachricht-----
>>>>Von: Matthew Locke [SMTP:mlocke@mvista.com]
>>>>Gesendet am: Dienstag, 16. April 2002 18:50
>>>>An: Jacky Wang
>>>>Cc: linuxppc-embedded@lists.linuxppc.org
>>>>Betreff: Re: Does anyone port m8xx_pcmcia driver to Linux Kernel
>>>>successfully?
>>>>
>>>>
>>>>Jacky Wang wrote:
>>>>
>>>>>Hi everyone,
>>>>>
>>>>>I am interesting about how to port m8xx_pcmcia driver to linux kernel w/
>>>>>
>>>>MPC850.
>>>>
>>>>>Would you mind to share your successful experience with me?
>>>>>
>>>>I did (w/ the help of others). It is on its way upstream now. If you
>>>>need it soon, let me know and I can make it available.
>>>>
>>>>>Best Regards
>>>>>Jacky Wang
>>>>>
>>>>>
>>>>** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org
>>>>
>>>/
>>>
>
>>+/* ------------------------------------------------------------------------- */
>>+/* FADS Boards from Motorola */
>>+
>>+#if defined(CONFIG_FADS)
>>+
>>+#define PCMCIA_BOARD_MSG "FADS"
>>+
>>+static int voltage_set(int slot, int vcc, int vpp)
>>+{
>>+ uint reg = 0;
>>+
>>+ switch(vcc) {
>>+ case 0: break;
>>+ case 33: reg |= BCSR1_PCCVCC0; break;
>>+ case 50: reg |= BCSR1_PCCVCC1; break;
>>+ default: return 1;
>>+ }
>>+
>>+ switch(vpp) {
>>+ case 0: break;
>>+ case 33:
>>+ case 50:
>>+ if(vcc == vpp)
>>+ reg |= \x03BCSR1_PCCVPP1;
>>+ else
>>+ return 1;
>>+ break;
>>+ case 120:
>>+ if ((vcc == 33) || (vcc == 50))
>>+ reg |= BCSR1_PCCVPP0;
>>+ else
>>+ return 1;
>>+ default: return 1;
>>+ }
>>+
>>+ /* first, turn off all power */
>>+ *((uint *)BCSR1) &= ~(BCSR1_PCCVCC_MASK | BCSR1_PCCVPP_MASK);
>>+
>>+ /* enable new powersettings */
>>+ *((uint *)BCSR1) |= reg;
>>+
>>+ return 0;
>>+}
>>+
>>+#define socket_get(_slot_) PCMCIA_SOCKET_KEY_5V
>>+
>>+static void hardware_enable(int slot)
>>+{
>>+ *((uint *)BCSR1) &= ~BCSR1_PCCEN;
>>+}
>>+
>>+static void hardware_disable(int slot)
>>+{
>>+ *((uint *)BCSR1) |= BCSR1_PCCEN;
>>+}
>>+
>>+#endif
>>
>+
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: AW: Does anyone port m8xx_pcmcia driver to Linux Kernel successfully?
[not found] <NFBBLKLHNAGPKBMPDMALAEMJKAAA.jacky@premierme.com.tw>
@ 2002-04-25 16:16 ` Matthew Locke
2002-04-26 1:52 ` Jacky Wang
0 siblings, 1 reply; 7+ messages in thread
From: Matthew Locke @ 2002-04-25 16:16 UTC (permalink / raw)
To: Jacky Wang; +Cc: boehringer, Fend Matthias, jimmlin, linuxppc
The m8xx socket driver did not get loaded. Turn on some debug in the
pcmcia code. What is your h/w?
Jacky Wang wrote:
>Hi all,
>
>I tried the patch with standard linux kernel 2.4.18 with hand-patching.
>
>I can re-compile with the patch (link into the kernel image, not load as a module).
>But, while I attach a ne2000 compatible pcmcia card, it looks can't load the ethernet card driver or can't detect the card.
>
>here is the pcmcia card I used: Zonet 10Base Ethernet Card.
>
>the attachment is the image I load into by ppcboot 1.1.4 and the log file.
>
>Jacky
>
>>-----Original Message-----
>>From: owner-linuxppc-embedded@lists.linuxppc.org
>>[mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of
>>Sven Boehringer
>>Sent: Thursday, April 25, 2002 5:34 PM
>>To: Matthew Locke; Fend Matthias; jimmlin@solomon.com.tw; linuxppc
>>Subject: Re: AW: Does anyone port m8xx_pcmcia driver to Linux
>>Kernel successfully?
>>
>>
>>
>>Hi all,
>>
>>i tried your patch, but it seems to me that there are some #defines
>>missing?
>>I try to use the source/kernel on a FADS board, an in that section there
>>is
>>"BCSR1_PCCVPP1". But i can't find this value. I tried to copy some
>>values from ppcboot,
>>but these particular are not there. Are there some special includes?
>>
>>I have the actual linuxppc_2_4_devel source-tree, but i can't find these
>>values.
>>
>>regards
>> Sven
>>
>>Matthew Locke wrote:
>>
>>>here is the patch to add the 8xx pcmcia socket driver to the kernel.
>>>
>>>Fend, Matthias wrote:
>>>
>>>>hello Matthew,
>>>>
>>>>i also tried to do this work - without the desired success
>>>>
>>>>i don't know exactly if my hardware is faulty or my m8xx port ... :-(
>>>>
>>>>so if i could have your version of the pcmcia stuff i would be
>>>>
>>very glad.
>>
>>>>thanks matthias
>>>>
>>>>>-----Ursprüngliche Nachricht-----
>>>>>Von: Matthew Locke [SMTP:mlocke@mvista.com]
>>>>>Gesendet am: Dienstag, 16. April 2002 18:50
>>>>>An: Jacky Wang
>>>>>Cc: linuxppc-embedded@lists.linuxppc.org
>>>>>Betreff: Re: Does anyone port m8xx_pcmcia driver to Linux Kernel
>>>>>successfully?
>>>>>
>>>>>
>>>>>Jacky Wang wrote:
>>>>>
>>>>>>Hi everyone,
>>>>>>
>>>>>>I am interesting about how to port m8xx_pcmcia driver to
>>>>>>
>>linux kernel w/
>>
>>>>>MPC850.
>>>>>
>>>>>>Would you mind to share your successful experience with me?
>>>>>>
>>>>>I did (w/ the help of others). It is on its way upstream now. If you
>>>>>need it soon, let me know and I can make it available.
>>>>>
>>>>>>Best Regards
>>>>>>Jacky Wang
>>>>>>
>>>>>>
>>>>>** Sent via the linuxppc-embedded mail list. See
>>>>>
>>http://lists.linuxppc.org
>>
>>>>/
>>>>
>>>+/*
>>>
>>------------------------------------------------------------------
>>------- */
>>
>>>+/* FADS Boards from Motorola
>>>
>> */
>>
>>>+
>>>+#if defined(CONFIG_FADS)
>>>+
>>>+#define PCMCIA_BOARD_MSG "FADS"
>>>+
>>>+static int voltage_set(int slot, int vcc, int vpp)
>>>+{
>>>+ uint reg = 0;
>>>+
>>>+ switch(vcc) {
>>>+ case 0: break;
>>>+ case 33: reg |= BCSR1_PCCVCC0; break;
>>>+ case 50: reg |= BCSR1_PCCVCC1; break;
>>>+ default: return 1;
>>>+ }
>>>+
>>>+ switch(vpp) {
>>>+ case 0: break;
>>>+ case 33:
>>>+ case 50:
>>>+ if(vcc == vpp)
>>>+ reg |= \x03BCSR1_PCCVPP1;
>>>+ else
>>>+ return 1;
>>>+ break;
>>>+ case 120:
>>>+ if ((vcc == 33) || (vcc == 50))
>>>+ reg |= BCSR1_PCCVPP0;
>>>+ else
>>>+ return 1;
>>>+ default: return 1;
>>>+ }
>>>+
>>>+ /* first, turn off all power */
>>>+ *((uint *)BCSR1) &= ~(BCSR1_PCCVCC_MASK | BCSR1_PCCVPP_MASK);
>>>+
>>>+ /* enable new powersettings */
>>>+ *((uint *)BCSR1) |= reg;
>>>+
>>>+ return 0;
>>>+}
>>>+
>>>+#define socket_get(_slot_) PCMCIA_SOCKET_KEY_5V
>>>+
>>>+static void hardware_enable(int slot)
>>>+{
>>>+ *((uint *)BCSR1) &= ~BCSR1_PCCEN;
>>>+}
>>>+
>>>+static void hardware_disable(int slot)
>>>+{
>>>+ *((uint *)BCSR1) |= BCSR1_PCCEN;
>>>+}
>>>+
>>>+#endif
>>>+
>>>
>>** Sent via the linuxppc-embedded mail list. See
>>
>http://lists.linuxppc.org/
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: AW: Does anyone port m8xx_pcmcia driver to Linux Kernel successfully?
2002-04-25 16:13 ` Matthew Locke
@ 2002-04-25 16:27 ` Sven Boehringer
2002-04-26 9:19 ` Sven Boehringer
1 sibling, 0 replies; 7+ messages in thread
From: Sven Boehringer @ 2002-04-25 16:27 UTC (permalink / raw)
To: Matthew Locke, linuxppc
Hi Matthew,
thanks! I thought you have some special includes :-)
I could compare your defines with them in the Manual. Again thanks for
that.
regards,
Sven
Matthew Locke wrote:
>
> Sven Boehringer wrote:
>
> >Hi all,
> >
> >i tried your patch, but it seems to me that there are some #defines
> >missing?
> >I try to use the source/kernel on a FADS board, an in that section there
> >is
> >"BCSR1_PCCVPP1". But i can't find this value. I tried to copy some
> >values from ppcboot,
> >but these particular are not there. Are there some special includes?
> >
> >I have the actual linuxppc_2_4_devel source-tree, but i can't find these
> >values.
> >
> The BCSR1_* in the CONFIG_FADS areas are register addresses specific to
> the FADS board.
> It seems some FADS stuff still hasn't made it into _devel. Here are the
> defines I have:
> /* Bits of interest in the BCSRs.
> */
> #define BCSR1_ETHEN ((uint)0x20000000)
> #define BCSR1_RS232EN_1 ((uint)0x01000000)
> #define BCSR1_PCCEN ((uint)0x00800000)
> #define BCSR1_PCCVCC0 ((uint)0x00400000)
> #define BCSR1_PCCVPP_MASK ((uint)0x00300000)
> #define BCSR1_PCCVPP0 ((uint)0x00200000)
> #define BCSR1_PCCVPP1 ((uint)0x00100000)
> #define BCSR1_RS232EN_2 ((uint)0x00040000)
> #define BCSR1_PCCVCC1 ((uint)0x00010000)
> #define BCSR1_PCCVCC_MASK (BCSR1_PCCVCC0 | BCSR1_PCCVCC1)
> #define BCSR4_ETHLOOP ((uint)0x80000000) /* EEST Loopback */
> #define BCSR4_EEFDX ((uint)0x40000000) /* EEST FDX
> enable */
> #define BCSR4_FETH_EN ((uint)0x08000000) /* PHY enable */
> #define BCSR4_FETHCFG0 ((uint)0x04000000) /* PHY autoneg
> mode */
> #define BCSR4_FETHCFG1 ((uint)0x00400000) /* PHY autoneg
> mode */
> #define BCSR4_FETHFDE ((uint)0x02000000) /* PHY FDX
> advertise */
> #define BCSR4_FETHRST ((uint)0x00200000) /* PHY Reset */
>
> >
> >
> >regards
> > Sven
> >
> >Matthew Locke wrote:
> >
> >>here is the patch to add the 8xx pcmcia socket driver to the kernel.
> >>
> >>Fend, Matthias wrote:
> >>
> >>>hello Matthew,
> >>>
> >>>i also tried to do this work - without the desired success
> >>>
> >>>i don't know exactly if my hardware is faulty or my m8xx port ... :-(
> >>>
> >>>so if i could have your version of the pcmcia stuff i would be very glad.
> >>>
> >>>thanks matthias
> >>>
> >>>>-----Ursprüngliche Nachricht-----
> >>>>Von: Matthew Locke [SMTP:mlocke@mvista.com]
> >>>>Gesendet am: Dienstag, 16. April 2002 18:50
> >>>>An: Jacky Wang
> >>>>Cc: linuxppc-embedded@lists.linuxppc.org
> >>>>Betreff: Re: Does anyone port m8xx_pcmcia driver to Linux Kernel
> >>>>successfully?
> >>>>
> >>>>
> >>>>Jacky Wang wrote:
> >>>>
> >>>>>Hi everyone,
> >>>>>
> >>>>>I am interesting about how to port m8xx_pcmcia driver to linux kernel w/
> >>>>>
> >>>>MPC850.
> >>>>
> >>>>>Would you mind to share your successful experience with me?
> >>>>>
> >>>>I did (w/ the help of others). It is on its way upstream now. If you
> >>>>need it soon, let me know and I can make it available.
> >>>>
> >>>>>Best Regards
> >>>>>Jacky Wang
> >>>>>
> >>>>>
> >>>>** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org
> >>>>
> >>>/
> >>>
> >
> >>+/* ------------------------------------------------------------------------- */
> >>+/* FADS Boards from Motorola */
> >>+
> >>+#if defined(CONFIG_FADS)
> >>+
> >>+#define PCMCIA_BOARD_MSG "FADS"
> >>+
> >>+static int voltage_set(int slot, int vcc, int vpp)
> >>+{
> >>+ uint reg = 0;
> >>+
> >>+ switch(vcc) {
> >>+ case 0: break;
> >>+ case 33: reg |= BCSR1_PCCVCC0; break;
> >>+ case 50: reg |= BCSR1_PCCVCC1; break;
> >>+ default: return 1;
> >>+ }
> >>+
> >>+ switch(vpp) {
> >>+ case 0: break;
> >>+ case 33:
> >>+ case 50:
> >>+ if(vcc == vpp)
> >>+ reg |= \x03BCSR1_PCCVPP1;
> >>+ else
> >>+ return 1;
> >>+ break;
> >>+ case 120:
> >>+ if ((vcc == 33) || (vcc == 50))
> >>+ reg |= BCSR1_PCCVPP0;
> >>+ else
> >>+ return 1;
> >>+ default: return 1;
> >>+ }
> >>+
> >>+ /* first, turn off all power */
> >>+ *((uint *)BCSR1) &= ~(BCSR1_PCCVCC_MASK | BCSR1_PCCVPP_MASK);
> >>+
> >>+ /* enable new powersettings */
> >>+ *((uint *)BCSR1) |= reg;
> >>+
> >>+ return 0;
> >>+}
> >>+
> >>+#define socket_get(_slot_) PCMCIA_SOCKET_KEY_5V
> >>+
> >>+static void hardware_enable(int slot)
> >>+{
> >>+ *((uint *)BCSR1) &= ~BCSR1_PCCEN;
> >>+}
> >>+
> >>+static void hardware_disable(int slot)
> >>+{
> >>+ *((uint *)BCSR1) |= BCSR1_PCCEN;
> >>+}
> >>+
> >>+#endif
> >>
> >+
> >
>
--
`------------------------`
snom technology AG
Sven Böhringer
Pascalstraße 10
D-10587 Berlin
phone: +49 30 39833-425
`-----------------------`
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: AW: Does anyone port m8xx_pcmcia driver to Linux Kernel successfully?
2002-04-25 16:16 ` AW: Does anyone port m8xx_pcmcia driver to Linux Kernel successfully? Matthew Locke
@ 2002-04-26 1:52 ` Jacky Wang
0 siblings, 0 replies; 7+ messages in thread
From: Jacky Wang @ 2002-04-26 1:52 UTC (permalink / raw)
To: Matthew Locke; +Cc: boehringer, Fend Matthias, jimmlin, linuxppc
H/W are FADS+MPC850+ne2000 compatible pcmcia card.
> -----Original Message-----
> From: Matthew Locke [mailto:mlocke@mvista.com]
> Sent: Friday, April 26, 2002 12:16 AM
> To: Jacky Wang
> Cc: boehringer@snom.de; Fend Matthias; jimmlin@solomon.com.tw; linuxppc
> Subject: Re: AW: Does anyone port m8xx_pcmcia driver to Linux
> Kernel successfully?
>
>
> The m8xx socket driver did not get loaded. Turn on some debug in the
> pcmcia code. What is your h/w?
>
> Jacky Wang wrote:
>
> >Hi all,
> >
> >I tried the patch with standard linux kernel 2.4.18 with hand-patching.
> >
> >I can re-compile with the patch (link into the kernel image, not
> load as a module).
> >But, while I attach a ne2000 compatible pcmcia card, it looks
> can't load the ethernet card driver or can't detect the card.
> >
> >here is the pcmcia card I used: Zonet 10Base Ethernet Card.
> >
> >the attachment is the image I load into by ppcboot 1.1.4 and the
> log file.
> >
> >Jacky
> >
> >>-----Original Message-----
> >>From: owner-linuxppc-embedded@lists.linuxppc.org
> >>[mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of
> >>Sven Boehringer
> >>Sent: Thursday, April 25, 2002 5:34 PM
> >>To: Matthew Locke; Fend Matthias; jimmlin@solomon.com.tw; linuxppc
> >>Subject: Re: AW: Does anyone port m8xx_pcmcia driver to Linux
> >>Kernel successfully?
> >>
> >>
> >>
> >>Hi all,
> >>
> >>i tried your patch, but it seems to me that there are some #defines
> >>missing?
> >>I try to use the source/kernel on a FADS board, an in that section there
> >>is
> >>"BCSR1_PCCVPP1". But i can't find this value. I tried to copy some
> >>values from ppcboot,
> >>but these particular are not there. Are there some special includes?
> >>
> >>I have the actual linuxppc_2_4_devel source-tree, but i can't find these
> >>values.
> >>
> >>regards
> >> Sven
> >>
> >>Matthew Locke wrote:
> >>
> >>>here is the patch to add the 8xx pcmcia socket driver to the kernel.
> >>>
> >>>Fend, Matthias wrote:
> >>>
> >>>>hello Matthew,
> >>>>
> >>>>i also tried to do this work - without the desired success
> >>>>
> >>>>i don't know exactly if my hardware is faulty or my m8xx port ... :-(
> >>>>
> >>>>so if i could have your version of the pcmcia stuff i would be
> >>>>
> >>very glad.
> >>
> >>>>thanks matthias
> >>>>
> >>>>>-----Ursprüngliche Nachricht-----
> >>>>>Von: Matthew Locke [SMTP:mlocke@mvista.com]
> >>>>>Gesendet am: Dienstag, 16. April 2002 18:50
> >>>>>An: Jacky Wang
> >>>>>Cc: linuxppc-embedded@lists.linuxppc.org
> >>>>>Betreff: Re: Does anyone port m8xx_pcmcia driver to Linux Kernel
> >>>>>successfully?
> >>>>>
> >>>>>
> >>>>>Jacky Wang wrote:
> >>>>>
> >>>>>>Hi everyone,
> >>>>>>
> >>>>>>I am interesting about how to port m8xx_pcmcia driver to
> >>>>>>
> >>linux kernel w/
> >>
> >>>>>MPC850.
> >>>>>
> >>>>>>Would you mind to share your successful experience with me?
> >>>>>>
> >>>>>I did (w/ the help of others). It is on its way upstream now. If you
> >>>>>need it soon, let me know and I can make it available.
> >>>>>
> >>>>>>Best Regards
> >>>>>>Jacky Wang
> >>>>>>
> >>>>>>
> >>>>>** Sent via the linuxppc-embedded mail list. See
> >>>>>
> >>http://lists.linuxppc.org
> >>
> >>>>/
> >>>>
> >>>+/*
> >>>
> >>------------------------------------------------------------------
> >>------- */
> >>
> >>>+/* FADS Boards from Motorola
> >>>
> >> */
> >>
> >>>+
> >>>+#if defined(CONFIG_FADS)
> >>>+
> >>>+#define PCMCIA_BOARD_MSG "FADS"
> >>>+
> >>>+static int voltage_set(int slot, int vcc, int vpp)
> >>>+{
> >>>+ uint reg = 0;
> >>>+
> >>>+ switch(vcc) {
> >>>+ case 0: break;
> >>>+ case 33: reg |= BCSR1_PCCVCC0; break;
> >>>+ case 50: reg |= BCSR1_PCCVCC1; break;
> >>>+ default: return 1;
> >>>+ }
> >>>+
> >>>+ switch(vpp) {
> >>>+ case 0: break;
> >>>+ case 33:
> >>>+ case 50:
> >>>+ if(vcc == vpp)
> >>>+ reg |= \x03BCSR1_PCCVPP1;
> >>>+ else
> >>>+ return 1;
> >>>+ break;
> >>>+ case 120:
> >>>+ if ((vcc == 33) || (vcc == 50))
> >>>+ reg |= BCSR1_PCCVPP0;
> >>>+ else
> >>>+ return 1;
> >>>+ default: return 1;
> >>>+ }
> >>>+
> >>>+ /* first, turn off all power */
> >>>+ *((uint *)BCSR1) &= ~(BCSR1_PCCVCC_MASK | BCSR1_PCCVPP_MASK);
> >>>+
> >>>+ /* enable new powersettings */
> >>>+ *((uint *)BCSR1) |= reg;
> >>>+
> >>>+ return 0;
> >>>+}
> >>>+
> >>>+#define socket_get(_slot_) PCMCIA_SOCKET_KEY_5V
> >>>+
> >>>+static void hardware_enable(int slot)
> >>>+{
> >>>+ *((uint *)BCSR1) &= ~BCSR1_PCCEN;
> >>>+}
> >>>+
> >>>+static void hardware_disable(int slot)
> >>>+{
> >>>+ *((uint *)BCSR1) |= BCSR1_PCCEN;
> >>>+}
> >>>+
> >>>+#endif
> >>>+
> >>>
> >>** Sent via the linuxppc-embedded mail list. See
> >>
> >http://lists.linuxppc.org/
> >
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: AW: Does anyone port m8xx_pcmcia driver to Linux Kernel successfully?
2002-04-25 16:13 ` Matthew Locke
2002-04-25 16:27 ` Sven Boehringer
@ 2002-04-26 9:19 ` Sven Boehringer
2002-04-26 9:55 ` Jacky Wang
1 sibling, 1 reply; 7+ messages in thread
From: Sven Boehringer @ 2002-04-26 9:19 UTC (permalink / raw)
To: Matthew Locke; +Cc: Fend Matthias, jimmlin, linuxppc
[-- Attachment #1: Type: text/plain, Size: 2128 bytes --]
Hi all,
thanks to matthew i can no compile the pcmcia-support.
But i still have a problem with my pcmcia card, cause i can't bring the
interface up.
It seems, that the kernel doesn't assign an interface name like eth1.
But i really stuck at this point.
My Hardware is FADS/MPC855T/FEC.I attached the kernel config file to
this mail.
And here ist the dmesg output:
<snip>
eth0: FEC ENET Version 0.2, FEC irq 3, MII irq 4, addr 00:04:13:00:00:01
Linux Kernel Card Services 3.1.22
options: none
m8xx_pcmcia: Version 0.05, 14-Apr-2002
m8xx_pcmcia: FADS using SLOT_A with IRQ 13.
m8xx_pcmcia: Socket 0: MemWin 0: Base 0xe0000000.
m8xx_pcmcia: Socket 0: MemWin 1: Base 0xe4000000.
m8xx_pcmcia: Socket 0: MemWin 2: Base 0xe8000000.
m8xx_pcmcia: Socket 0: MemWin 3: Base 0xec000000.
m8xx_pcmcia: Socket 0: MemWin 4: Base 0xf0000000.
m8xx_pcmcia: sock_init(0)
m8xx_pcmcia: SetSocket(0, flags 0x000, Vcc 0, Vpp 0, io_irq 0, csc_mask
0x80)
m8xx_pcmcia: SetIOMap(0, 0, 0x00, 0 ns, 0x0000-0x0001)
m8xx_pcmcia: SetIOMap(0, 1, 0x00, 0 ns, 0x0000-0x0001)
m8xx_pcmcia: SetMemMap(0, 0, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
m8xx_pcmcia: Socket 0: Mapped memory window 0 at 0xe0000000, OR =
0xb8000000.
m8xx_pcmcia: SetMemMap(0, 0, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
m8xx_pcmcia: SetMemMap(0, 1, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
m8xx_pcmcia: Socket 0: Mapped memory window 1 at 0xe4000000, OR =
0xb8000000.
m8xx_pcmcia: SetMemMap(0, 1, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
m8xx_pcmcia: SetMemMap(0, 2, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
m8xx_pcmcia: Socket 0: Mapped memory window 2 at 0xe8000000, OR =
0xb8000000.
m8xx_pcmcia: SetMemMap(0, 2, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
m8xx_pcmcia: SetMemMap(0, 3, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
m8xx_pcmcia: Socket 0: Mapped memory window 3 at 0xec000000, OR =
0xb8000000.
m8xx_pcmcia: SetMemMap(0, 3, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
m8xx_pcmcia: SetMemMap(0, 4, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
m8xx_pcmcia: Socket 0: Mapped memory window 4 at 0xf0000000, OR =
0xb8000000.
m8xx_pcmcia: SetMemMap(0, 4, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
<snip>
regards,
Sven
[-- Attachment #2: kernel_configuration --]
[-- Type: text/plain, Size: 12722 bytes --]
#
# Automatically generated by make menuconfig: don't edit
#
# CONFIG_UID16 is not set
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_HAVE_DEC_LOCK=y
#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
#
# Loadable module support
#
CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not set
CONFIG_KMOD=y
#
# Platform support
#
CONFIG_PPC=y
CONFIG_PPC32=y
# CONFIG_6xx is not set
# CONFIG_4xx is not set
# CONFIG_POWER3 is not set
# CONFIG_POWER4 is not set
CONFIG_8xx=y
# CONFIG_PPC_STD_MMU is not set
CONFIG_SERIAL_CONSOLE=y
# CONFIG_RPXLITE is not set
# CONFIG_RPXCLASSIC is not set
# CONFIG_BSEIP is not set
CONFIG_FADS=y
# CONFIG_TQM823L is not set
# CONFIG_TQM850L is not set
# CONFIG_TQM855L is not set
# CONFIG_TQM860L is not set
# CONFIG_FPS850L is not set
# CONFIG_TQM860 is not set
# CONFIG_SPD823TS is not set
# CONFIG_IVMS8 is not set
# CONFIG_IVML24 is not set
# CONFIG_SM850 is not set
# CONFIG_MBX is not set
# CONFIG_WINCEPT is not set
# CONFIG_ALL_PPC is not set
# CONFIG_SMP is not set
CONFIG_MATH_EMULATION=y
CONFIG_EMBEDDEDBOOT=y
#
# General setup
#
# CONFIG_HIGHMEM is not set
# CONFIG_ISA is not set
# CONFIG_EISA is not set
# CONFIG_SBUS is not set
# CONFIG_MCA is not set
# CONFIG_PCI_QSPAN is not set
# CONFIG_PCI is not set
CONFIG_NET=y
CONFIG_SYSCTL=y
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_KCORE_ELF=y
CONFIG_BINFMT_ELF=y
CONFIG_KERNEL_ELF=y
# CONFIG_BINFMT_MISC is not set
CONFIG_HOTPLUG=y
#
# PCMCIA/CardBus support
#
CONFIG_PCMCIA=y
# CONFIG_I82092 is not set
# CONFIG_I82365 is not set
# CONFIG_TCIC is not set
CONFIG_PCMCIA_M8XX=y
#
# Parallel port support
#
# CONFIG_PARPORT is not set
# CONFIG_PPC_RTC is not set
# CONFIG_CMDLINE_BOOL is not set
#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set
#
# Plug and Play configuration
#
# CONFIG_PNP is not set
# CONFIG_ISAPNP is not set
#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_INITRD is not set
#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
# CONFIG_BLK_DEV_MD is not set
# CONFIG_MD_LINEAR is not set
# CONFIG_MD_RAID0 is not set
# CONFIG_MD_RAID1 is not set
# CONFIG_MD_RAID5 is not set
# CONFIG_MD_MULTIPATH is not set
# CONFIG_BLK_DEV_LVM is not set
#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK_DEV is not set
# CONFIG_NETFILTER is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=y
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_PNP=y
# CONFIG_IP_PNP_DHCP is not set
CONFIG_IP_PNP_BOOTP=y
CONFIG_IP_PNP_RARP=y
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_IPV6 is not set
# CONFIG_KHTTPD is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
#
# Appletalk devices
#
# CONFIG_DEV_APPLETALK is not set
# CONFIG_LTPC is not set
# CONFIG_COPS is not set
# CONFIG_COPS_DAYNA is not set
# CONFIG_COPS_TANGENT is not set
# CONFIG_IPDDP is not set
# CONFIG_IPDDP_ENCAP is not set
# CONFIG_IPDDP_DECAP is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_LLC is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set
#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set
#
# ATA/IDE/MFM/RLL support
#
# CONFIG_IDE is not set
# CONFIG_BLK_DEV_IDE_MODES is not set
# CONFIG_BLK_DEV_HD is not set
#
# SCSI support
#
# CONFIG_SCSI is not set
#
# Network device support
#
CONFIG_NETDEVICES=y
#
# ARCnet devices
#
# CONFIG_ARCNET is not set
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_ETHERTAP is not set
#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_MACE is not set
# CONFIG_BMAC is not set
# CONFIG_GMAC is not set
# CONFIG_SUNLANCE is not set
# CONFIG_SUNBMAC is not set
# CONFIG_SUNQE is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
# CONFIG_NET_ISA is not set
# CONFIG_NET_PCI is not set
# CONFIG_NET_POCKET is not set
#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_MYRI_SBUS is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_SK98LIN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set
#
# Token Ring devices
#
# CONFIG_TR is not set
# CONFIG_NET_FC is not set
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set
#
# Wan interfaces
#
# CONFIG_WAN is not set
#
# PCMCIA network device support
#
CONFIG_NET_PCMCIA=y
# CONFIG_PCMCIA_3C589 is not set
# CONFIG_PCMCIA_3C574 is not set
# CONFIG_PCMCIA_FMVJ18X is not set
CONFIG_PCMCIA_PCNET=y
# CONFIG_PCMCIA_AXNET is not set
# CONFIG_PCMCIA_NMCLAN is not set
# CONFIG_PCMCIA_SMC91C92 is not set
# CONFIG_PCMCIA_XIRC2PS is not set
# CONFIG_ARCNET_COM20020_CS is not set
# CONFIG_PCMCIA_IBMTR is not set
# CONFIG_NET_PCMCIA_RADIO is not set
#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set
#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set
#
# ISDN subsystem
#
# CONFIG_ISDN is not set
#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set
#
# Console drivers
#
#
# Frame-buffer support
#
# CONFIG_FB is not set
#
# Input core support
#
# CONFIG_INPUT is not set
# CONFIG_INPUT_KEYBDEV is not set
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_EVDEV is not set
#
# Macintosh device drivers
#
#
# Character devices
#
# CONFIG_VT is not set
# CONFIG_SERIAL is not set
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=32
#
# I2C support
#
# CONFIG_I2C is not set
#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_MOUSE is not set
#
# Joysticks
#
# CONFIG_INPUT_GAMEPORT is not set
# CONFIG_QIC02_TAPE is not set
#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_INTEL_RNG is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_AGP is not set
# CONFIG_DRM is not set
#
# PCMCIA character devices
#
# CONFIG_PCMCIA_SERIAL_CS is not set
#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
#
# File systems
#
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_ADFS_FS is not set
# CONFIG_ADFS_FS_RW is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EXT3_FS is not set
# CONFIG_JBD is not set
# CONFIG_JBD_DEBUG is not set
# CONFIG_FAT_FS is not set
# CONFIG_MSDOS_FS is not set
# CONFIG_UMSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_JFFS_FS is not set
# CONFIG_JFFS2_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_TMPFS is not set
# CONFIG_RAMFS is not set
# CONFIG_ISO9660_FS is not set
# CONFIG_JOLIET is not set
# CONFIG_ZISOFS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_NTFS_RW is not set
# CONFIG_HPFS_FS is not set
CONFIG_PROC_FS=y
# CONFIG_DEVFS_FS is not set
# CONFIG_DEVFS_MOUNT is not set
# CONFIG_DEVFS_DEBUG is not set
CONFIG_DEVPTS_FS=y
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX4FS_RW is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_EXT2_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UDF_FS is not set
# CONFIG_UDF_RW is not set
# CONFIG_UFS_FS is not set
# CONFIG_UFS_FS_WRITE is not set
#
# Network File Systems
#
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
CONFIG_NFS_FS=y
# CONFIG_NFS_V3 is not set
CONFIG_ROOT_NFS=y
# CONFIG_NFSD is not set
# CONFIG_NFSD_V3 is not set
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
# CONFIG_SMB_FS is not set
# CONFIG_NCP_FS is not set
# CONFIG_NCPFS_PACKET_SIGNING is not set
# CONFIG_NCPFS_IOCTL_LOCKING is not set
# CONFIG_NCPFS_STRONG is not set
# CONFIG_NCPFS_NFS_NS is not set
# CONFIG_NCPFS_OS2_NS is not set
# CONFIG_NCPFS_SMALLDOS is not set
# CONFIG_NCPFS_NLS is not set
# CONFIG_NCPFS_EXTRAS is not set
# CONFIG_ZISOFS_FS is not set
# CONFIG_ZLIB_FS_INFLATE is not set
#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
# CONFIG_MSDOS_PARTITION is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_SMB_NLS is not set
# CONFIG_NLS is not set
#
# Sound
#
# CONFIG_SOUND is not set
#
# MPC8xx CPM Options
#
# CONFIG_SCC_ENET is not set
# CONFIG_SCC1_ENET is not set
# CONFIG_SCC2_ENET is not set
# CONFIG_SCC3_ENET is not set
CONFIG_FEC_ENET=y
# CONFIG_USE_MDIO is not set
# CONFIG_FEC_AM79C874 is not set
# CONFIG_FEC_LXT970 is not set
# CONFIG_FEC_LXT971 is not set
# CONFIG_FEC_QS6612 is not set
# CONFIG_ENET_BIG_BUFFERS is not set
CONFIG_SMC1_UART=y
CONFIG_CONS_SMC1=y
CONFIG_UART_MAXIDL_SMC1=1
CONFIG_SMC1_UART_RX_BDNUM=4
CONFIG_SMC1_UART_RX_BDSIZE=32
CONFIG_SMC1_UART_TX_BDNUM=4
CONFIG_SMC1_UART_TX_BDSIZE=32
CONFIG_SMC2_UART=y
CONFIG_ALTSMC2=y
# CONFIG_CONS_SMC2 is not set
CONFIG_UART_MAXIDL_SMC2=1
CONFIG_SMC2_UART_RX_BDNUM=4
CONFIG_SMC2_UART_RX_BDSIZE=32
CONFIG_SMC2_UART_TX_BDNUM=4
CONFIG_SMC2_UART_TX_BDSIZE=32
# CONFIG_USE_SCC_IO is not set
CONFIG_8xx_COPYBACK=y
# CONFIG_8xx_CPU6 is not set
# CONFIG_UCODE_PATCH is not set
# CONFIG_8XX_USE_RISC_TIMERS is not set
# CONFIG_8xx_LCD is not set
# CONFIG_8xx_PWM is not set
#
# USB support
#
# CONFIG_USB is not set
# CONFIG_USB_UHCI is not set
# CONFIG_USB_UHCI_ALT is not set
# CONFIG_USB_OHCI is not set
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH is not set
# CONFIG_USB_STORAGE is not set
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set
# CONFIG_USB_DC2XX is not set
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_SCANNER is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_CATC is not set
# CONFIG_USB_CDCETHER is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_USS720 is not set
#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set
# CONFIG_USB_SERIAL_GENERIC is not set
# CONFIG_USB_SERIAL_BELKIN is not set
# CONFIG_USB_SERIAL_WHITEHEAT is not set
# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
# CONFIG_USB_SERIAL_EMPEG is not set
# CONFIG_USB_SERIAL_FTDI_SIO is not set
# CONFIG_USB_SERIAL_VISOR is not set
# CONFIG_USB_SERIAL_IPAQ is not set
# CONFIG_USB_SERIAL_IR is not set
# CONFIG_USB_SERIAL_EDGEPORT is not set
# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
# CONFIG_USB_SERIAL_KEYSPAN is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA28 is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA28X is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA28XA is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA28XB is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA19 is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA18X is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA19W is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA49W is not set
# CONFIG_USB_SERIAL_MCT_U232 is not set
# CONFIG_USB_SERIAL_KLSI is not set
# CONFIG_USB_SERIAL_PL2303 is not set
# CONFIG_USB_SERIAL_CYBERJACK is not set
# CONFIG_USB_SERIAL_XIRCOM is not set
# CONFIG_USB_SERIAL_OMNINET is not set
# CONFIG_USB_RIO500 is not set
#
# Bluetooth support
#
# CONFIG_BLUEZ is not set
#
# Kernel hacking
#
# CONFIG_MAGIC_SYSRQ is not set
# CONFIG_KGDB is not set
# CONFIG_XMON is not set
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: AW: Does anyone port m8xx_pcmcia driver to Linux Kernel successfully?
2002-04-26 9:19 ` Sven Boehringer
@ 2002-04-26 9:55 ` Jacky Wang
0 siblings, 0 replies; 7+ messages in thread
From: Jacky Wang @ 2002-04-26 9:55 UTC (permalink / raw)
To: boehringer, Matthew Locke; +Cc: Fend Matthias, jimmlin, linuxppc
Sven,
Sounds great!!
Would you mind to standardize the proceddures for us?
Jacky
> -----Original Message-----
> From: owner-linuxppc-embedded@lists.linuxppc.org
> [mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of
> Sven Boehringer
> Sent: Friday, April 26, 2002 5:20 PM
> To: Matthew Locke
> Cc: Fend Matthias; jimmlin@solomon.com.tw; linuxppc
> Subject: Re: AW: Does anyone port m8xx_pcmcia driver to Linux
> Kernel successfully?
>
>
> Hi all,
>
> thanks to matthew i can no compile the pcmcia-support.
> But i still have a problem with my pcmcia card, cause i can't bring the
> interface up.
> It seems, that the kernel doesn't assign an interface name like eth1.
> But i really stuck at this point.
> My Hardware is FADS/MPC855T/FEC.I attached the kernel config file to
> this mail.
>
>
> And here ist the dmesg output:
> <snip>
> eth0: FEC ENET Version 0.2, FEC irq 3, MII irq 4, addr 00:04:13:00:00:01
> Linux Kernel Card Services 3.1.22
> options: none
> m8xx_pcmcia: Version 0.05, 14-Apr-2002
> m8xx_pcmcia: FADS using SLOT_A with IRQ 13.
> m8xx_pcmcia: Socket 0: MemWin 0: Base 0xe0000000.
> m8xx_pcmcia: Socket 0: MemWin 1: Base 0xe4000000.
> m8xx_pcmcia: Socket 0: MemWin 2: Base 0xe8000000.
> m8xx_pcmcia: Socket 0: MemWin 3: Base 0xec000000.
> m8xx_pcmcia: Socket 0: MemWin 4: Base 0xf0000000.
> m8xx_pcmcia: sock_init(0)
> m8xx_pcmcia: SetSocket(0, flags 0x000, Vcc 0, Vpp 0, io_irq 0, csc_mask
> 0x80)
> m8xx_pcmcia: SetIOMap(0, 0, 0x00, 0 ns, 0x0000-0x0001)
> m8xx_pcmcia: SetIOMap(0, 1, 0x00, 0 ns, 0x0000-0x0001)
> m8xx_pcmcia: SetMemMap(0, 0, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
> m8xx_pcmcia: Socket 0: Mapped memory window 0 at 0xe0000000, OR =
> 0xb8000000.
> m8xx_pcmcia: SetMemMap(0, 0, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
> m8xx_pcmcia: SetMemMap(0, 1, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
> m8xx_pcmcia: Socket 0: Mapped memory window 1 at 0xe4000000, OR =
> 0xb8000000.
> m8xx_pcmcia: SetMemMap(0, 1, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
> m8xx_pcmcia: SetMemMap(0, 2, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
> m8xx_pcmcia: Socket 0: Mapped memory window 2 at 0xe8000000, OR =
> 0xb8000000.
> m8xx_pcmcia: SetMemMap(0, 2, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
> m8xx_pcmcia: SetMemMap(0, 3, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
> m8xx_pcmcia: Socket 0: Mapped memory window 3 at 0xec000000, OR =
> 0xb8000000.
> m8xx_pcmcia: SetMemMap(0, 3, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
> m8xx_pcmcia: SetMemMap(0, 4, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
> m8xx_pcmcia: Socket 0: Mapped memory window 4 at 0xf0000000, OR =
> 0xb8000000.
> m8xx_pcmcia: SetMemMap(0, 4, 0x00, 0 ns, 0x00000-0x01000, 0x00000)
> <snip>
>
> regards,
>
> Sven
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-04-26 9:55 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <NFBBLKLHNAGPKBMPDMALAEMJKAAA.jacky@premierme.com.tw>
2002-04-25 16:16 ` AW: Does anyone port m8xx_pcmcia driver to Linux Kernel successfully? Matthew Locke
2002-04-26 1:52 ` Jacky Wang
[not found] <8D4C69676E66D511A1CB00508BBBB192157983@ranmx1.ran.harris.com>
[not found] ` <3CBEF7A7.1090900@mvista.com>
2002-04-25 9:33 ` Sven Boehringer
2002-04-25 16:13 ` Matthew Locke
2002-04-25 16:27 ` Sven Boehringer
2002-04-26 9:19 ` Sven Boehringer
2002-04-26 9:55 ` Jacky Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).