Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/nfs Allow nfs root over token ring. Closes PR6629.
details: https://anonhg.NetBSD.org/src/rev/8a6d7ddefb06
branches: trunk
changeset: 486755:8a6d7ddefb06
user: gmcgarry <gmcgarry%NetBSD.org@localhost>
date: Sun May 28 07:01:09 2000 +0000
description:
Allow nfs root over token ring. Closes PR6629.
diffstat:
sys/nfs/nfs_bootdhcp.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r ee70ecedefc9 -r 8a6d7ddefb06 sys/nfs/nfs_bootdhcp.c
--- a/sys/nfs/nfs_bootdhcp.c Sun May 28 06:16:00 2000 +0000
+++ b/sys/nfs/nfs_bootdhcp.c Sun May 28 07:01:09 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs_bootdhcp.c,v 1.14 2000/03/29 03:43:34 simonb Exp $ */
+/* $NetBSD: nfs_bootdhcp.c,v 1.15 2000/05/28 07:01:09 gmcgarry Exp $ */
/*-
* Copyright (c) 1995, 1997 The NetBSD Foundation, Inc.
@@ -144,7 +144,8 @@
* Perhaps (struct arphdr)->ar_hrd = ARPHRD_ETHER?
* The interface has ->if_type but not the ARP fmt.
*/
-#define HTYPE_ETHERNET 1
+#define HTYPE_ETHERNET 1
+#define HTYPE_IEEE802 6
/*
* Vendor magic cookie (v_magic) for RFC1048
@@ -461,6 +462,9 @@
/* Record our H/W (Ethernet) address. */
{ struct sockaddr_dl *sdl = ifp->if_sadl;
switch (sdl->sdl_type) {
+ case IFT_ISO88025:
+ hafmt = HTYPE_IEEE802;
+ break;
case IFT_ETHER:
case IFT_FDDI:
hafmt = HTYPE_ETHERNET;
Home |
Main Index |
Thread Index |
Old Index