summaryrefslogtreecommitdiff
path: root/sources/target_skeleton/etc/init.d/S30pcmcia
blob: a3906c3f4bdaca30ba92fbad35805e7b78a12670 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Select the module that is correct for your hardware

PCIC=yenta_socket
#PCIC=i82365
#PCIC=tcic
#PCIC=sa1100_cs

# Load up all the pcmcia modules
/sbin/modprobe pcmcia_core
/sbin/modprobe $PCIC
/sbin/modprobe ds

if [ $? != 0 ] ; then 
    echo "pcmcia support not detected";
    exit 0;
fi

/sbin/cardmgr -m /lib/modules

exit 0;