summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/devices.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-18 13:18:35 +0000
committerjkh <jkh@FreeBSD.org>1995-05-18 13:18:35 +0000
commit9e3b536da924db9ef1f56ae84a0a657022c6a3c5 (patch)
tree40b65b594a923aabca05c46059996c652407f4c3 /release/sysinstall/devices.c
parent4e5ffffc8be366aec8f4334e93338b19babcb403 (diff)
downloadFreeBSD-src-9e3b536da924db9ef1f56ae84a0a657022c6a3c5.zip
FreeBSD-src-9e3b536da924db9ef1f56ae84a0a657022c6a3c5.tar.gz
1. Add serial devices to list of possible network device candidates.
2. Rework tcpip.c a bit so that devices which have been configured also have the enabled flag set.
Diffstat (limited to 'release/sysinstall/devices.c')
-rw-r--r--release/sysinstall/devices.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/release/sysinstall/devices.c b/release/sysinstall/devices.c
index 091bac7..b5c682a 100644
--- a/release/sysinstall/devices.c
+++ b/release/sysinstall/devices.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: devices.c,v 1.16 1995/05/16 11:37:08 jkh Exp $
+ * $Id: devices.c,v 1.17 1995/05/17 14:39:36 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -105,6 +105,9 @@ static struct {
{ DEVICE_TYPE_NETWORK, "lnc", "Lance/PCnet cards (Isolan/Novell NE2100/NE32-VL)" },
{ DEVICE_TYPE_NETWORK, "ze", "IBM/National Semiconductor PCMCIA ethernet" },
{ DEVICE_TYPE_NETWORK, "zp", "3Com PCMCIA Etherlink III" },
+ { DEVICE_TYPE_NETWORK, "cuaa0", "Serial port (COM1) - possible PPP device" },
+ { DEVICE_TYPE_NETWORK, "cuaa1", "Serial port (COM2) - possible PPP devic
+e", },
{ NULL },
};
@@ -267,7 +270,7 @@ deviceGetAll(void)
CHECK_DEVS;
Devices[numDevs] = new_device(ifptr->ifr_name);
Devices[numDevs]->type = DEVICE_TYPE_NETWORK;
- Devices[numDevs]->enabled = TRUE;
+ Devices[numDevs]->enabled = FALSE;
Devices[numDevs]->init = mediaInitNetwork;
Devices[numDevs]->get = mediaGetNetwork;
Devices[numDevs]->close = mediaCloseNetwork;
OpenPOWER on IntegriCloud