public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dag Bakke <dag@bakke.com>
To: unlisted-recipients:; (no To-header on input)
Cc: Russell King <rmk+lkml@arm.linux.org.uk>, linux-kernel@vger.kernel.org
Subject: Re: Enabling PCMCIA serial ports without pcmciautils/pcmcia_cs in 2.6?
Date: Tue, 09 Aug 2005 11:49:01 +0200	[thread overview]
Message-ID: <42F87C0D.2020405@bakke.com> (raw)
In-Reply-To: <42F878D3.80302@bakke.com>

Dag Bakke wrote:

> Russell King wrote:
>
>> On Tue, Aug 09, 2005 at 11:03:24AM +0200, Dag Bakke wrote:
>>  
>>
>>> Is this really necessary? I'd guess that serial cards are some of 
>>> the simpler pcmcia targets to enable? (I could be very wrong..)
>>> Anyone got an idea about alternative solutions, or can state the 
>>> minimum binaries/files I need to enable this card? (Advantech 
>>> COMpad-32/85B-4)
>>>   
>>
>>
>> Have you tried just running up a really recent kernel (eg, 2.6.13-rc6)
>> with PCMCIA and serial (including PCMCIA serial support) built in,
>> plugging the card in, and seeing what happens?
>>
>>  
>>
> Yes. I get no message in dmesg indicating that the ports are detected.

Unless I fire up cardmgr, that is.

> Testing on a laptop (not the actual target):
>
> toolbox-2 ~ # uname -a
> Linux toolbox-2 2.6.13-rc6 #2 Mon Aug 8 16:05:25 CEST 2005 i686 
> Pentium III (Coppermine) GenuineIntel GNU/Linux
>
> toolbox-2 ~ # zcat /proc/config.gz | egrep -i 'serial|pcmcia|yenta' | 
> grep -v ^#
> CONFIG_PCMCIA=y
> CONFIG_PCMCIA_LOAD_CIS=y
> CONFIG_PCMCIA_IOCTL=y
> CONFIG_YENTA=y
> CONFIG_PCMCIA_PROBE=y
> CONFIG_NET_PCMCIA=y
> CONFIG_PCMCIA_3C589=m
> CONFIG_PCMCIA_3C574=m
> CONFIG_SERIAL_8250=y
> CONFIG_SERIAL_8250_CONSOLE=y
> CONFIG_SERIAL_8250_CS=y
> CONFIG_SERIAL_8250_NR_UARTS=8
> CONFIG_SERIAL_8250_EXTENDED=y
> CONFIG_SERIAL_8250_MANY_PORTS=y
> CONFIG_SERIAL_8250_SHARE_IRQ=y
> CONFIG_SERIAL_8250_FOURPORT=y
> CONFIG_SERIAL_CORE=y
> CONFIG_SERIAL_CORE_CONSOLE=y
>
>
> toolbox-2 ~ # /etc/init.d/pcmcia start
> * PCMCIA support detected.
> * Starting pcmcia ...
> cardmgr[7718]: watching 2 
> sockets                                                                                     
> [ ok ]
> toolbox-2 ~ # dmesg | tail
> [ 6992.630199] cs: IO port probe 0x800-0x8ff: clean.
> [ 6992.630671] cs: IO port probe 0x100-0x4ff: excluding 0x4d0-0x4d7
> [ 6992.631927] cs: IO port probe 0x100-0x4ff: excluding 0x4d0-0x4d7
> [ 6992.633248] cs: IO port probe 0xa00-0xaff: clean.
> [ 6992.633656] cs: IO port probe 0xa00-0xaff: clean.
> [ 6992.638071] cs: memory probe 0xa0000000-0xa0ffffff: clean.
> [ 6992.692737] ttyS1 at I/O 0x240 (irq = 5) is a 16550A
> [ 6992.695578] ttyS2 at I/O 0x248 (irq = 5) is a 16550A
> [ 6992.698237] ttyS3 at I/O 0x250 (irq = 5) is a 16550A
> [ 6992.700924] ttyS4 at I/O 0x258 (irq = 5) is a 16550A
>
>


      reply	other threads:[~2005-08-09  9:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-09  9:03 Enabling PCMCIA serial ports without pcmciautils/pcmcia_cs in 2.6? Dag Bakke
2005-08-09  9:18 ` Russell King
2005-08-09  9:35   ` Dag Bakke
2005-08-09  9:49     ` Dag Bakke [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42F87C0D.2020405@bakke.com \
    --to=dag@bakke.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk+lkml@arm.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox