1996-03-12 16:39:26 +01:00
|
|
|
#!/bin/sh -
|
1999-07-07 03:26:55 +02:00
|
|
|
# PC-card startup script
|
1999-08-28 01:37:10 +02:00
|
|
|
# $FreeBSD$
|
1996-03-12 16:39:26 +01:00
|
|
|
|
1999-09-13 17:44:20 +02:00
|
|
|
case ${pccard_enable} in
|
|
|
|
[Yy][Ee][Ss])
|
|
|
|
case ${pccard_mem} in
|
|
|
|
[Dd][Ee][Ff][Aa][Uu][Ll][Tt])
|
1997-04-27 05:59:19 +02:00
|
|
|
pccardc pccardmem 0xd0000
|
1999-09-13 17:44:20 +02:00
|
|
|
;;
|
|
|
|
*)
|
|
|
|
pccardc pccardmem ${pccard_mem}
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
if [ -n "${pccard_conf}" ]; then
|
1999-08-25 18:01:45 +02:00
|
|
|
pccardd_flags="${pccardd_flags} -f ${pccard_conf}"
|
1999-07-07 03:19:15 +02:00
|
|
|
fi
|
1999-09-13 17:44:20 +02:00
|
|
|
|
|
|
|
echo -n "Enable PC-card."
|
1999-08-25 18:01:45 +02:00
|
|
|
pccardd ${pccardd_flags} 2>&1 > /var/log/pccardd.debug
|
1999-09-13 17:44:20 +02:00
|
|
|
;;
|
|
|
|
esac
|