55
4.2.1
Initialization (Access Mode Setting, Etc.)
After powering on in PC-ATA mode, as described in section 4.1.1, the first requirement is to
acquire card attribute data from the CIS section. The CIS section, as the name Card Information
Structure suggests, is a memory area that holds card attribute information. This information
includes the card’s operating voltage, the address of the configuration register section, and so on.
The CIS section is a ROM area in which only read access can be performed.
At first glance, reading the card information may seem unnecessary when always using a card of
the same model and capacity from the same manufacturer. In some cases, there may be no
problem if reading of the card attribute information is ignored. But with the possibility of future
revisions in the standards, sufficient system flexibility should be provided to enable any
manufacturer’s cards to be used. It is therefore probably advisable to enable a CIS section read to
be performed in terms of hardware, even if a card attribute check is not performed by the driver
software.
The CIS section holds a large amount of card attribute information. Actually reading all of this
data would be a considerable task, but the contents of the six registers shown in table 4.2, at least,
should be acquired.
Table 4.2
CIS Section Data Acquisition
No.
Tuple Identifier
Tuple Code
Description and Comments
1
01h
CISTPL_DEVICE
Device information. This tuple information is not
necessary for memory cards, but is essential
for fax, LAN, and other I/O cards.
2
15h
CISTPL_VERS_1
Product information. Includes the product
information string, product name, product
number, and other manufacturer information.
3
1Ah
CISTPL_CONF
Crucial information. Indicates the locations of
the configuration registers and their presence.
Configuration register allocation should be set
on the basis of this information.
4
1Bh
CISTPL_CE
Configuration table entry. Appropriate
configuration items are specified, including I/O
space, interrupts, memory, etc.
5
20h
CISTPL_MANFID
Manufacturer’s identification. Holds the name of
the card manufacturer.
6
21h
CISTPL_FUNCID
Function identifier. Provides function
information concerning the card. Also includes
system initialization information.
If information other than that shown above is needed, refer to the appendices or the data sheet.