From 9c17a07343999145708125a5f45c898d2f0025cd Mon Sep 17 00:00:00 2001 From: sanpei Date: Sat, 28 Oct 2000 13:35:34 +0000 Subject: add PC-Card melody beep(PC Card bus, kludge version) Original idea from: PAO3 --- usr.sbin/pccard/pccardc/pccardc.8 | 2 ++ usr.sbin/sysinstall/pccard.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.sbin') 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); -- cgit v1.1