diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sysinstall/pccard.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/pccard.c b/usr.sbin/sysinstall/pccard.c index bce9231e..dbb69ce 100644 --- a/usr.sbin/sysinstall/pccard.c +++ b/usr.sbin/sysinstall/pccard.c @@ -134,6 +134,7 @@ pccardInitialize(void) int t; int i; int pcic_mem = 0xd0000; + int beep_newstat; char card_device[16]; char *card_irq = ""; char temp[256]; @@ -222,6 +223,14 @@ pccardInitialize(void) restorescr(w); return; } + beep_newstat = 1; + if (ioctl(fd, PIOCSBEEP, &beep_newstat) < 0) { + msgNotify("Warning: unable to set pccard insertion beep type for %s", + card_device); + restorescr(w); + return; + } + } strcpy(pccardd_cmd, "/stand/pccardd "); |