2 devc-ser8250 drivers

Dear all

I have a pc with a pc104 bus that I have installed a pc104 modem on which is
set up as COM3 (3e8,5). The mother board supports 4 comms ports and I have
disabled both 3 and 4 in CMOS.

When I boot up I end up with one version of devc-ser8250 assigned to 3e8,5
and another assigned to 3f8,4 2f8,3. This does not cause me any grief, but
seems to be a waste of memory, how do I configure the enumerator to stop
this happening.

Rod

Rodney Stevens
CSIRO Minerals

Phone 61 2 97106701
Fax 61 2 97106789
Email rod.stevens@csiro.au

Personal Homepage
http://sites.netscape.net/rodjohnstevens/homepage

Rodney Stevens wrote:

Dear all

I have a pc with a pc104 bus that I have installed a pc104 modem on which is
set up as COM3 (3e8,5). The mother board supports 4 comms ports and I have
disabled both 3 and 4 in CMOS.

When I boot up I end up with one version of devc-ser8250 assigned to 3e8,5
and another assigned to 3f8,4 2f8,3. This does not cause me any grief, but
seems to be a waste of memory, how do I configure the enumerator to stop
this happening.

This may not actually be much of a waste of memory. With code sharing,
and the fact that most of the data allocated will be for the buffers for
each port (which will be the same whether 1 driver allocates 2 I/O
buffers, or 2 drivers allocate 1 I/O buffer each).

I would be surprised if more than 8K of memory is wasted as a result of
loading 2 drivers vs. 1. In any case, the wastage is too small to worry
about on a desktop (where the enumerator is used). On an embedded
system simply start dev-ser8250 in a script, and have it take over both
ports.

Rennie

Thanks Rennie

I was doing this, but thought I would try and get things going via the
sysinit route for my own edification. I will probably go back to hard coded
boot in the long run.

Rod

“Rennie Allen” <rallen@csical.com> wrote in message
news:3CADF182.4010106@csical.com

This may not actually be much of a waste of memory. With code sharing,
and the fact that most of the data allocated will be for the buffers for
each port (which will be the same whether 1 driver allocates 2 I/O
buffers, or 2 drivers allocate 1 I/O buffer each).

I would be surprised if more than 8K of memory is wasted as a result of
loading 2 drivers vs. 1. In any case, the wastage is too small to worry
about on a desktop (where the enumerator is used). On an embedded
system simply start dev-ser8250 in a script, and have it take over both
ports.

Rennie