diff options
Diffstat (limited to 'sys/arch/macppc/stand/net.c')
-rw-r--r-- | sys/arch/macppc/stand/net.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/macppc/stand/net.c b/sys/arch/macppc/stand/net.c index 22b1618d6bc..555f95a18cf 100644 --- a/sys/arch/macppc/stand/net.c +++ b/sys/arch/macppc/stand/net.c @@ -1,4 +1,4 @@ -/* $OpenBSD: net.c,v 1.1 2001/09/01 15:39:02 drahn Exp $ */ +/* $OpenBSD: net.c,v 1.2 2002/09/15 02:02:44 deraadt Exp $ */ /* $NetBSD: net.c,v 1.1 1997/04/16 20:29:18 thorpej Exp $ */ /* @@ -76,7 +76,7 @@ net_open(op) struct of_dev *op; { int error = 0; - + /* * On first open, do netif open, mount, etc. */ @@ -119,21 +119,21 @@ net_mountroot() #ifdef DEBUG printf("net_mountroot\n"); #endif - + /* * Get info for NFS boot: our IP address, out hostname, * server IP address, and our root path on the server. * We use BOOTP (RFC951, RFC1532) exclusively as mandated * by PowerPC Reference Platform Specification I.4.2 */ - + bootp(netdev_sock); - + if (myip.s_addr == 0) return ETIMEDOUT; - + printf("Using IP address: %s\n", inet_ntoa(myip)); - + #ifdef DEBUG printf("myip: %s (%s)", hostname, inet_ntoa(myip)); if (gateip.s_addr) @@ -143,7 +143,7 @@ net_mountroot() printf("\n"); #endif printf("root addr=%s path=%s\n", inet_ntoa(rootip), rootpath); - + /* * Get the NFS file handle (mount). */ |