1pcata(7D)                           Devices                          pcata(7D)
2
3
4

NAME

6       pcata - PCMCIA ATA card device driver
7

SYNOPSIS

9       pcata@socket#:a -u
10
11
12       pcata@socket#:a -u,raw
13
14

DESCRIPTION

16       The  PCMCIA  ATA  card device driver supports PCMCIA ATA disk and flash
17       cards that follow the following standards:
18
19           o      PC card 2.01 compliance (MBR+fdisk table  required  for  all
20                  platforms).
21
22           o      PC card ATA 2.01 compliance.
23
24           o      PC card services 2.1 compliance.
25
26
27       The  driver  supports  standard  PCMCIA  ATA  cards that contain a Card
28       Information Structure (CIS). For PCMCIA, nodes are created in  /devices
29       that  include  the  socket  number  as one component of the device name
30       referred to by the node. However, the  names  in  /dev,  /dev/dsk,  and
31       /dev/rdsk  follow the current conventions for ATA devices, which do not
32       encode the socket number in any part of the name. For example, you  may
33       have the following:
34
35
36
37
38       ┌────────────────┬───────────────────────────────────┬─────────────────────┐
39Platform        /devices name                     /dev/dsk name       
40       ├────────────────┼───────────────────────────────────┼─────────────────────┤
41x86             /devices/isa/pcic@1,3e0 /disk@0:a │ /dev/dsk/c1d0s0     │
42       ├────────────────┼───────────────────────────────────┼─────────────────────┤
43       │SPARC           │ /devices/iommu@f,e0000000         │ /dev/dsk/c1d0s0     │
44       │                │ /sbus@f,e0001000   /SUNW,    pcm‐ │                     │
45       │                │ cia@3,0 /disk@0:a                 │                     │
46       └────────────────┴───────────────────────────────────┴─────────────────────┘
47

PRECONFIGURATION

49       If  a  PC  Card ATA device is recognized, the pcata driver is automati‐
50       cally loaded, IRQs allocated, devices nodes created, and special  files
51       created (if they do not already exist).
52
53   Known Problems and Limitations
54           o      You need to umount the file system before removing the disk.
55
56           o      The ufs file systems on removable media (PC Card ATA) should
57                  have one of the onerror={panic, lock, umount} mount  options
58                  set.
59

CONFIGURATION

61       Configuration  topics  include  initial installation and configuration,
62       identifying an unrecognized device, special files and hot-plugging.
63
64   Initial Installation and Configuration
65           1.     Install the Solaris software.
66
67           2.     Boot the system.
68
69           3.     Insert the PC card ATA device.
70
71   Identifying an Unrecognized Device
72       If you insert a PC card ATA device and it is not recognized (no special
73       files created), use the prtconf command to identify the problem.
74
75           1.     Run the prtconf -D command to see if your pcata card is rec‐
76                  ognized. (A recognized device will appear at the end of  the
77                  prtconf output. For example:
78
79                    # prtconf -D
80                    .  .  .
81                    pcic, instance #0 (driver name: pcic)
82                        .  .  .
83                       disk, instance #0
84
85
86           2.     If  pcata  does not appear in the prtconf output, there is a
87                  problem with the PC card adapter configuration or  with  the
88                  hardware.  Check to see whether the problem is with the card
89                  or the adapter by trying to use the card on another  machine
90                  and by seeing if it works on the same machine using DOS.
91
92   Special Files
93       For  PC  card  devices,  nodes are created in /devices that include the
94       socket number as one component of a device name that  the  node  refers
95       to.  However,  the  /prtc/dev  names  and  the  names  in  /dev/dsk and
96       /dev/rdsk do follow the current convention for ATA  devices,  which  do
97       not encode the socket number in any part of the name.
98
99   Hot-Plugging
100           o      If  you  want  to remove the disk, you must unmount the file
101                  system.
102
103           o      Use the mkfs_pcfs(1M) command to create a pcfs file system:
104
105                    # mkfs -F pcfs /dev/rdsk/c#d#p0:d
106
107
108           o      To mount a pcfs file system, type:
109
110                    # mount -F pcfs /dev/dsk/c#d#p0:c /mnt
111
112
113           o      If you want to create a ufs file system, use the newfs  com‐
114                  mand and type:
115
116                    # newfs /dev/rdsk/c#d#s#
117
118
119           o      To mount a ufs file system, type:
120
121                    # mount -F ufs /dev/dsk/c#d#s# /mnt
122
123
124           o      To create a Solaris partition, run the format command and go
125                  to the Partition menu. For more information,  see  the  for‐
126                  mat(1M) man page.
127

FILES

129       /kernel/drv/pcata    pcata driver
130
131

ATTRIBUTES

133       See attributes(5) for descriptions of the following attributes:
134
135
136
137
138       ┌─────────────────────────────┬─────────────────────────────┐
139       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
140       ├─────────────────────────────┼─────────────────────────────┤
141       │Availability                 │SUNWpsdpr                    │
142       └─────────────────────────────┴─────────────────────────────┘
143

SEE ALSO

145       format(1M), mount(1M), newfs(1M), pcmcia(7D), attributes(5), pcfs(7FS)
146
147
148
149SunOS 5.11                        2 Mar 2007                         pcata(7D)
Impressum