summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/devices.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-21 15:40:54 +0000
committerjkh <jkh@FreeBSD.org>1995-05-21 15:40:54 +0000
commit4a787e15cb0d283d322b339da109669d726aca89 (patch)
treee10f963b1e89963fb5b2b5292efe83d3145698d9 /release/sysinstall/devices.c
parent0fff99e87d8ae6d88b00b11970270a81ea9636a1 (diff)
downloadFreeBSD-src-4a787e15cb0d283d322b339da109669d726aca89.zip
FreeBSD-src-4a787e15cb0d283d322b339da109669d726aca89.tar.gz
1. Start syncing up the network strategy code so that folks like Poul and
Justin can see it. 2. Attempt to fix the redisplay problems in label.c some more. Not clearing the screen each time is certainly faster, but it's causing all sorts of problems.
Diffstat (limited to 'release/sysinstall/devices.c')
-rw-r--r--release/sysinstall/devices.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/sysinstall/devices.c b/release/sysinstall/devices.c
index 529eba5..5d103df 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.24 1995/05/20 15:49:53 jkh Exp $
+ * $Id: devices.c,v 1.25 1995/05/20 16:22:41 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -236,7 +236,7 @@ deviceGetAll(void)
close(fd);
/* The only network devices that have fds associated are serial ones */
deviceRegister("ppp0", device_names[i].description, strdup(try),
- DEVICE_TYPE_NETWORK, TRUE, mediaInitNetwork, mediaGetNetwork, mediaCloseNetwork, NULL);
+ DEVICE_TYPE_NETWORK, TRUE, mediaInitNetwork, NULL, mediaCloseNetwork, NULL);
msgDebug("Found a device of type network named: %s\n", device_names[i].name);
}
break;
@@ -270,7 +270,7 @@ deviceGetAll(void)
|| !strncmp(ifptr->ifr_name, "lo0", 3))
continue;
deviceRegister(ifptr->ifr_name, ifptr->ifr_name, ifptr->ifr_name,
- DEVICE_TYPE_NETWORK, TRUE, mediaInitNetwork, mediaGetNetwork, mediaCloseNetwork, NULL);
+ DEVICE_TYPE_NETWORK, TRUE, mediaInitNetwork, NULL, mediaCloseNetwork, NULL);
msgDebug("Found a device of type network named: %s\n", ifptr->ifr_name);
close(s);
if ((s = socket(AF_INET, SOCK_DGRAM, 0)) < 0) {
OpenPOWER on IntegriCloud