home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / INFO / FAQS / OS2FAX2 / OSMKPA01.FAX < prev    next >
Encoding:
Text File  |  1994-08-13  |  8.2 KB  |  218 lines

  1. file name    
  2.  
  3. OSMKPA01.FAX
  4.  
  5.  
  6.  
  7.     TITLE
  8.  
  9.     PCMCIA Overview for Data Communications for IBM
  10.     Thinkpads and IBM Modems
  11.  
  12.  
  13.  
  14.     PCMCIA SUPPORT UNDER OS/2 2.X
  15.  
  16.     This section will highlight support features for PCMCIA
  17.     support under OS/2 2.x. The base support for PCMCIA is
  18.     enabled in OS/2 2.1 and later releases.
  19.  
  20.  
  21.  
  22.     GENERAL PCMCIA OVERVIEW
  23.  
  24.     OS/2 2.1 supports the level 2.0 Personal Computer
  25.     Memory Card International Association (PCMCIA)
  26.     specification for credit-card sized adapters such as
  27.     memory, I/O devices, modems, and LAN Adapters. OS/2 2.1
  28.     is enabled to support environments which comply with
  29.     the three layers of the PCMCIA architecture. This means
  30.     that OS/2 2.1 contains the Card Services support which
  31.     allows PCMCIA adapter manufacturers to write Client
  32.     Device Drivers and Personal Computer System
  33.     Manufacturers to ship Socket Services.
  34.  
  35.  
  36.  
  37.     PCMCIA HARDWARE DESCRIPTION
  38.  
  39.     There are three major hardware components defined in
  40.     the PCMCIA architecture: Cards, Sockets and Adapters.
  41.     PCMCIA cards are treated in much the same way as
  42.     standard removable media (such as diskettes). The card
  43.     slots (called sockets) are open bays which the cards
  44.     are inserted in without removing system covers or
  45.     powering off the system unit. Adapters are connected to
  46.     the host system's bus. The adapters map the host system
  47.     bus technology to the PCMCIA technology.
  48.  
  49.  
  50.  
  51.     PCMCIA SOFTWARE DESCRIPTION
  52.  
  53.     There are three major software components defined in
  54.     the PCMCIA architecture: Card Services, Clients and
  55.     Socket Services. The following sections will give a
  56.     description of the required software layers for PCMCIA
  57.     support.
  58.  
  59.  
  60.  
  61.     CARD SERVICES
  62.  
  63.     The Card Services component is an operating system
  64.     specificlayer that provides the Card Services functions
  65.     defined in the PCMCIA interface specification. The Card
  66.     Services interface functions are provided according to
  67.     the operating system's details for the client device
  68.     driver model environment. Card Services relies on the
  69.     operating system and Socket Services interfaces in
  70.     order to facilitate requests from PCMCIA clients. The
  71.     functions, features and availability of the Card
  72.     Services component is the responsibility of the
  73.     operating system developer/manufacturer.
  74.  
  75.  
  76.     OS/2 2.1 contains the PCMCIA Card Services layer of
  77.     support. The OS/2 Card Services support provides PCMCIA
  78.     2.00 Card Services conforming interfaces as a 16-bit
  79.     inter-device driver communications interface (IDC). The
  80.     PCMCIA Card Services layer is responsible for
  81.  
  82.     managing system resources on behalf of the Client
  83.     Device Drivers and the Socket Services Layer. Client
  84.     Device Drivers must use the Card Services interfaces to
  85.     obtain access and configuration support for the various
  86.     PC Cards supported by the client.
  87.  
  88.     Card Services are enabled under OS/2 2.1 using the
  89.     PCMCIA.SYS and VPCMCIA.SYS device drivers.
  90.  
  91.  
  92.  
  93.     CLIENT DEVICE DRIVERS
  94.  
  95.     Clients manage the device characteristics in an
  96.     operating system specific environment and can be
  97.     generalized as card-specific device drivers. The Client
  98.     Device Drivers are required to manipulate the PC Card
  99.     and provide the application transparency for the card
  100.     devices. Therefore, for any given card (device) there
  101.     must be specific device driver for each supported
  102.     operating system. In addition, one client device driver
  103.     can simultaneously manipulate several cards of the same
  104.     type.  Clients rely on the Card Services interfaces in
  105.     order to set up and remove accessibility to the PCMCIA
  106.     cards (devices). The functions,features, and
  107.     availability of client device drivers is the
  108.     responsibility of the PCMCIA card developer/manufacturer. 
  109.     Client Device Drivers for OS/2 2.1 use the OS/2 Card 
  110.     Services IDC interface to setuP and release the various 
  111.     resources (IRQ, IO ports,Memory addresses, etc.) for PC Cards. 
  112.     The Client DevicE Drivers are supplied by the adapter 
  113.     manufacturer.
  114.  
  115.  
  116.     SOCKET SERVICES AND RESOURCE MAP UTILITIES
  117.  
  118.     The PCMCIA Socket Services component is a
  119.     hardware-specific layer that isolates the details of
  120.     the adapter and socket logic from the other software
  121.     components. The Socket Services component provides the
  122.     functions defined in the PCMCIA interface
  123.     specification. Ideally, this software layer is built as
  124.     a BIOS extension so that a single implementation can
  125.     service multiple operating systems. However, it is 
  126.     acceptable to have device driver versions, since 
  127.     several situations preclude the availability of ROM 
  128.     solutions(as would be the case when you are adding 
  129.     adapters in existing host systems). The functions, 
  130.     features, and availability of the Socket Services 
  131.     Component is the responsibility of the hardware 
  132.     (adapter option or system unit) developer/manufacturer.
  133.  
  134.  
  135.     The PCMCIA Socket Services layer might be implemented
  136.     in either ROM BIOS or as a device driver. OS/2 Card
  137.     Services uses the PCMCIA Socket Services 2.00
  138.     interfaces implemented in a 16-bit IDC interface. Since
  139.     no ROM BIOS implementations of Socket Services were
  140.     available to test with, OS/2 2.1 only supports
  141.     implementations built as OS/2 Physical Device Drivers.
  142.     
  143.  
  144.     The Resource Utility is a special Client Device Driver
  145.     which should be provided by the PC manufacturer. This
  146.     special client is called the Resource Utility or
  147.     Resource Client. The Resource Client is responsible for
  148.     providing Card Services with a system specific resource
  149.     map for the personal computer. The Resource Client does
  150.     not own any PC Cards or devices and is only active
  151.     during the PCMCIA subsystem initialization. OS/2 Card
  152.     Services initialize with a generic default system
  153.     resource map which might not utilize the current
  154.     system's resources in an optimal manner. Hence, it is
  155.     strongly recommended that a system specific Resource
  156.     Client be provided by each system manufacturer with
  157.     system model resource details.
  158.  
  159.  
  160.  
  161.     PCMCIA SUPPORT LAYERS
  162.  
  163.     The following table identifies the various PCMCIA
  164.     Layers.
  165.  
  166.  
  167.     __________________________________________________|
  168.  
  169.      PCMCIA DEVICE TYPE    | WHO SHOULD SUPPLY        |
  170.     __________________________________________________|
  171.  
  172.      Card Services         | Operating System         |
  173.     __________________________________________________|
  174.  
  175.      Client Device Driver  | PCMCIA Card Manufacturer |
  176.     __________________________________________________|
  177.  
  178.      Socket Services       | PC Manufacturer          |
  179.     __________________________________________________|
  180.  
  181.       Resource Utility     | PC Manufacturer          |
  182.     __________________________________________________|
  183.  
  184.     Table 10-1. PCMCIA SUPPORT LAYERS
  185.  
  186.  
  187.  
  188.     PCMCIA AND OS/2 2.1 SUMMARY  In summary, OS/2 2.1
  189.     provides the PCMCIA Card Services layer. There are
  190.     other PCMCIA layers which are required in order to have
  191.     a fully functioning PCMCIA configuration. The Socket
  192.     Services and Resource Utility should come
  193.     with the system unit/adapter option and should be
  194.     located on the Hardware Options Reference/Setup
  195.     diskette along with installation instructions. The
  196.     Client Device Drivers should be provided by the PC
  197.     Card/Device manufacturer and should be located on the
  198.     PC Card Reference/Setup diskette along with
  199.     installation instructions. It should be noted that some
  200.     PC Cards do not come with any software support or
  201.     hardware reference diskettes. These PC Cards
  202.     require/expect a third party program to manage the PC
  203.     Card. Care should be taken when purchasing PC Cards as
  204.     to what requirements exist. Developers who are
  205.     interested in writing OS/2 2.1 device drivers (Socket 
  206.     Services, Resource Map Utilities or Client Device Drivers) 
  207.     should consult chapter thirteen in the OS/2 2.1 DDK
  208.     Input/Output Device Driver Reference manual(S71G-1898-0)
  209.  
  210.  
  211.  
  212.     IBM is aware of our customer's problems in obtaining
  213.     these pieces and is working with the PCMCIA
  214.     manufacturers to resolve this situation.
  215.  
  216.  
  217.  
  218.