summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorsanpei <sanpei@FreeBSD.org>2000-10-28 13:35:34 +0000
committersanpei <sanpei@FreeBSD.org>2000-10-28 13:35:34 +0000
commit9c17a07343999145708125a5f45c898d2f0025cd (patch)
tree888288fe2df698bfe9dcbae3e34a40832ad9cba7 /usr.sbin
parentd456c791d350e25ec147ad0da9813c2a9239d275 (diff)
downloadFreeBSD-src-9c17a07343999145708125a5f45c898d2f0025cd.zip
FreeBSD-src-9c17a07343999145708125a5f45c898d2f0025cd.tar.gz
add PC-Card melody beep(PC Card bus, kludge version)
Original idea from: PAO3
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pccard/pccardc/pccardc.82
-rw-r--r--usr.sbin/sysinstall/pccard.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pccard/pccardc/pccardc.8 b/usr.sbin/pccard/pccardc/pccardc.8
index 38bb8ef..3456444c 100644
--- a/usr.sbin/pccard/pccardc/pccardc.8
+++ b/usr.sbin/pccard/pccardc/pccardc.8
@@ -85,6 +85,8 @@ are:
silent mode
.It Li 1
simple beep mode
+.It Li 2
+melody mode
.El
.It
.Ic dumpcis
diff --git a/usr.sbin/sysinstall/pccard.c b/usr.sbin/sysinstall/pccard.c
index ba7a9bd..546b5b7 100644
--- a/usr.sbin/sysinstall/pccard.c
+++ b/usr.sbin/sysinstall/pccard.c
@@ -223,7 +223,7 @@ pccardInitialize(void)
restorescr(w);
return;
}
- beep_newstat = 1;
+ beep_newstat = 2;
if (ioctl(fd, PIOCSBEEP, &beep_newstat) < 0) {
msgNotify("Warning: unable to set pccard insertion beep type for %s",
card_device);
OpenPOWER on IntegriCloud