Enable pccardd when the system is installed with PC-card support.

This commit is contained in:
Tatsumi Hosokawa 2000-01-14 17:18:42 +00:00
parent e4f25e405c
commit 606585d088
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55982
2 changed files with 6 additions and 2 deletions

View File

@ -165,8 +165,10 @@ pccardInitialize(void)
strcat(pccardd_cmd, card_irq);
strcat(pccardd_cmd, " -z");
strcpy(pccardd_flags, card_irq);
variable_set2("pccard_enable", "YES", 1);
variable_set2("pccardd_flags", card_irq, 1);
strcpy(pccardd_flags, card_irq);
vsystem(pccardd_cmd);
restorescr(w);

View File

@ -165,8 +165,10 @@ pccardInitialize(void)
strcat(pccardd_cmd, card_irq);
strcat(pccardd_cmd, " -z");
strcpy(pccardd_flags, card_irq);
variable_set2("pccard_enable", "YES", 1);
variable_set2("pccardd_flags", card_irq, 1);
strcpy(pccardd_flags, card_irq);
vsystem(pccardd_cmd);
restorescr(w);