1996-03-12 15:39:26 +00:00
|
|
|
#!/bin/sh -
|
|
|
|
#
|
|
|
|
# PC-card startup script
|
|
|
|
# HOSOKAWA, Tatsumi <hosokawa@mt.cs.keio.ac.jp>
|
|
|
|
#
|
1999-02-04 10:06:44 +00:00
|
|
|
# $Id: rc.pccard,v 1.6 1998/08/10 19:54:12 brian Exp $
|
1998-08-10 19:54:12 +00:00
|
|
|
#
|
1996-03-12 15:39:26 +00:00
|
|
|
|
1997-04-27 03:59:19 +00:00
|
|
|
if [ "X$pccard_enable" = X"YES" ] ; then
|
1999-02-04 10:06:44 +00:00
|
|
|
if kldload pcic; then
|
|
|
|
echo "Kernel pcic module loaded."
|
|
|
|
fi
|
1996-03-14 18:24:07 +00:00
|
|
|
if [ "x$pccard_mem" != "xDEFAULT" ] ; then
|
1997-04-27 03:59:19 +00:00
|
|
|
pccardc pccardmem $pccard_mem
|
1996-03-12 15:39:26 +00:00
|
|
|
else
|
1997-04-27 03:59:19 +00:00
|
|
|
pccardc pccardmem 0xd0000
|
1996-03-12 15:39:26 +00:00
|
|
|
fi
|
1997-05-03 11:22:17 +00:00
|
|
|
echo -n "Enable PC-card."
|
|
|
|
pccardd 2>&1 > /var/log/pccardd.debug &
|
1996-03-12 15:39:26 +00:00
|
|
|
fi
|