Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 1998 02:34:11 +0300
From:      vadik likholetov <vadik@sensi.org>
To:        mobile@FreeBSD.ORG
Subject:   how do I ...
Message-ID:  <19980121023411.08027@sensi.org>

next in thread | raw e-mail | index | archive | help
Good time of the day!

I'm using FreeBSD + PAO patches.
I'm writing a device driver for a card too :-)

I've got a card with such interesting tuples:

Tuple #6, code = 0x1b (Configuration entry), length = 15
    000:  e0 81 79 19 55 5e 16 c5 40 1f 30 ff ff 08 01
        Config index = 0x20(default)
        Interface byte = 0x81 (I/O)  wait signal supported
        Vcc pwr:
                Nominal operating supply voltage: 5 x 1V
                Continuous supply current: 5.5 x 100mA
                Max current average over 1 second: 1.3 x 100mA
        Card decodes 5 address lines, limited 8/16 Bit I/O
                I/O address # 1:  block length = 0x20
                IRQ modes: Level
                IRQs:  4 5 8 9 10 11 12 13 14 15
        Memory descriptor 1
                 blk length = 0x100

Tuple #7, code = 0x1b (Configuration entry), length = 7
    000:  25 08 ca 60 40 02 1f
        Config index = 0x25
        Card decodes 10 address lines, limited 8/16 Bit I/O
        I/O address # 1: block start = 0x240 block length = 0x20

So, the tuple #6 says it is default and it decodes some address lines, io
addresses and irqs. But -- there is _no_ default address.
Certainly, I can select any non-generic config entry (4 xample, tuple #7),
but (I know) dos driver can assign any (from 140 to 340) io address 
and also other stuff.

The question is: how can I make this from my FreeBSD box. Do I need
some driver interaction to do this (what interaction?) or just
correstly written pccard.conf(I do not found any info on this topic there).


-- 
vadik likholetov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980121023411.08027>