diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2006-06-06 00:08:22 +0000 |
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2006-06-06 00:08:22 +0000 |
| commit | 53a07765b285df06b6bb35865a95bf641bb52b93 (patch) | |
| tree | 41f02be384436c4c3034c852f52394b9932112c5 /pcmcia/bluetooth | |
| parent | 7e394a314c3eff540f5452620ce6401d0a47e42a (diff) | |
Remove PCMCIA relics
Diffstat (limited to 'pcmcia/bluetooth')
| -rwxr-xr-x | pcmcia/bluetooth | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/pcmcia/bluetooth b/pcmcia/bluetooth deleted file mode 100755 index 1b2e577c..00000000 --- a/pcmcia/bluetooth +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh -# -# bluetooth -# -# PCMCIA Bluetooth device initialization -# Written by Maxim Krasnyanskiy <maxk@qualcomm.com> -# -# This script requires new cardmgr and expects following -# environment variables FUNCTION, VENDORID, CARDNAME -# - -if [ -r ./shared ]; then . ./shared ; else . /etc/pcmcia/shared ; fi - -# Get device attributes -get_info $DEVICE - -# -# Serial devices -# -start_serial() { - IRQ=`setserial /dev/$DEVICE | sed -e 's/.*IRQ: //'` - setserial /dev/$DEVICE irq 0 ; setserial /dev/$DEVICE irq $IRQ - - /usr/sbin/hciattach $DEVICE $MANFID -} -stop_serial() { - do_fuser -k -HUP /dev/$DEVICE > /dev/null -} -suspend_serial() { - stop_serial -} -resume_serial() { - start_serial -} - -start= -stop= -suspend= -resume= -check= -cksum= - -case "$FUNCID" in -2) # Serial - start=start_serial - stop=stop_serial - suspend=suspend_serial - resume=resume_serial - ;; -esac - -eval \$$ACTION - -exit 0 |
