public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re: [ECOS] How to add extra serial ports
@ 2007-11-30 20:02 Eduardo Sabaj
  0 siblings, 0 replies; 3+ messages in thread
From: Eduardo Sabaj @ 2007-11-30 20:02 UTC (permalink / raw)
  To: Andrew Lunn, ecos-discuss


Andrew, thank you for your answer.. I made the changes that you 
suggested, I added two more serial ports, but what happens  with the 
CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS macro? Is it enough to change 
its limit to 5 or should I change any other file?
 
Andrew Lunn escribió:
> On Fri, Nov 30, 2007 at 12:50:26PM -0300, Eduardo Sabaj wrote:
>   
>> I'm working on an i386 architecture that has more than 2 serial ports 
>> available, and what I would like to know is how I can make use of them. The 
>> configtool program shows only the information about serial port 0 and 1 but 
>> doesn't let me add another serial port. Moreoever, I found the 
>> CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS macro (number of communication 
>> channels on board) but it has a limit of 3 channels and I can't change it.
>>     
>
> Take a look at
> packages/devs/serial/i386/pc/current/include/i386_pc_ser.inl. You need
> to add CYGPKG_IO_SERIAL_I386_PC_SERIAL2 and 3 and modify the CDL
> appropriately.
>
>         Andrew
>
>   


-- 

Ing. Eduardo Salvador Sabaj
Analista de Desarrollo

Compañía Hasar | Grupo Hasar*
*Marcos Sastre y José Ingenieros
El Talar. Pacheco
[B1618CSD] Buenos Aires. Argentina
Tel [54 11] 4117 8900 | Fax [54 11] 4117 8998
E-mail: esabaj@hasar.com
Visítenos en: www.hasar.com
<http://www.hasar.com>Información legal y política de confidencialidad: 
www.grupohasar.com/disclaimer <http://www.grupohasar.com/disclaimer>


-- 

Ing. Eduardo Salvador Sabaj
Analista de Desarrollo

Compañía Hasar | Grupo Hasar*
*Marcos Sastre y José Ingenieros
El Talar. Pacheco
[B1618CSD] Buenos Aires. Argentina
Tel [54 11] 4117 8900 | Fax [54 11] 4117 8998
E-mail: esabaj@hasar.com
Visítenos en: www.hasar.com
<http://www.hasar.com>Información legal y política de confidencialidad: 
www.grupohasar.com/disclaimer <http://www.grupohasar.com/disclaimer>


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] How to add extra serial ports
  2007-11-30 16:29 Eduardo Sabaj
@ 2007-11-30 16:58 ` Andrew Lunn
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2007-11-30 16:58 UTC (permalink / raw)
  To: Eduardo Sabaj; +Cc: ecos-discuss

On Fri, Nov 30, 2007 at 12:50:26PM -0300, Eduardo Sabaj wrote:
>
> I'm working on an i386 architecture that has more than 2 serial ports 
> available, and what I would like to know is how I can make use of them. The 
> configtool program shows only the information about serial port 0 and 1 but 
> doesn't let me add another serial port. Moreoever, I found the 
> CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS macro (number of communication 
> channels on board) but it has a limit of 3 channels and I can't change it.

Take a look at
packages/devs/serial/i386/pc/current/include/i386_pc_ser.inl. You need
to add CYGPKG_IO_SERIAL_I386_PC_SERIAL2 and 3 and modify the CDL
appropriately.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ECOS] How to add extra serial ports
@ 2007-11-30 16:29 Eduardo Sabaj
  2007-11-30 16:58 ` Andrew Lunn
  0 siblings, 1 reply; 3+ messages in thread
From: Eduardo Sabaj @ 2007-11-30 16:29 UTC (permalink / raw)
  To: ecos-discuss


I'm working on an i386 architecture that has more than 2 serial ports 
available, and what I would like to know is how I can make use of them. 
The configtool program shows only the information about serial port 0 
and 1 but doesn't let me add another serial port. Moreoever, I found the 
CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS macro (number of communication 
channels on board) but it has a limit of 3 channels and I can't change it.
Any help will be appreciated..
Regards
Eduardo


-- 

Ing. Eduardo Salvador Sabaj
Analista de Desarrollo

Compañía Hasar | Grupo Hasar*
*Marcos Sastre y José Ingenieros
El Talar. Pacheco
[B1618CSD] Buenos Aires. Argentina
Tel [54 11] 4117 8900 | Fax [54 11] 4117 8998
E-mail: esabaj@hasar.com
Visítenos en: www.hasar.com
<http://www.hasar.com>Información legal y política de confidencialidad: 
www.grupohasar.com/disclaimer <http://www.grupohasar.com/disclaimer>


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-30 19:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-30 20:02 [ECOS] How to add extra serial ports Eduardo Sabaj
  -- strict thread matches above, loose matches on Subject: below --
2007-11-30 16:29 Eduardo Sabaj
2007-11-30 16:58 ` Andrew Lunn

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 read-only IMAP folder(s) and NNTP newsgroup(s).