diff options
author | hosokawa <hosokawa@FreeBSD.org> | 1999-07-04 15:11:23 +0000 |
---|---|---|
committer | hosokawa <hosokawa@FreeBSD.org> | 1999-07-04 15:11:23 +0000 |
commit | 99d8c42b7225a12d1398ce70011f92d356e17acf (patch) | |
tree | 8c66f4361ef78b45f94fa446b4412a247ac75a5e /usr.sbin | |
parent | 092928b6c5f8ea4292e793cdfdc34b99c0e54cc9 (diff) | |
download | FreeBSD-src-99d8c42b7225a12d1398ce70011f92d356e17acf.zip FreeBSD-src-99d8c42b7225a12d1398ce70011f92d356e17acf.tar.gz |
Modified to configure pccard_mem in /etc/rc.conf by sysinstall.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sysinstall/pccard.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/pccard.c b/usr.sbin/sysinstall/pccard.c index bff1cb7..6347a00 100644 --- a/usr.sbin/sysinstall/pccard.c +++ b/usr.sbin/sysinstall/pccard.c @@ -1,7 +1,7 @@ /* * PC-card support for sysinstall * - * $Id: pccard.c,v 1.1 1999/06/17 19:04:56 markm Exp $ + * $Id: pccard.c,v 1.2 1999/06/30 05:04:37 hosokawa Exp $ * * Copyright (c) 1997-1999 * Tatsumi Hosokawa <hosokawa@jp.FreeBSD.org>. All rights reserved. @@ -89,15 +89,19 @@ pccardInitialize(void) switch (t) { case 0: pcic_mem = 0xd0000; + variable_set2("pccard_mem", "DEFAULT", 1); break; case 1: pcic_mem = 0xd4000; + variable_set2("pccard_mem", "0xd4000", 1); break; case 2: pcic_mem = 0xd8000; + variable_set2("pccard_mem", "0xd8000", 1); break; case 3: pcic_mem = 0xdc000; + variable_set2("pccard_mem", "0xdc000", 1); break; } |