Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/net Pull up revision 1.46 (partial, via patch, requ...
details: https://anonhg.NetBSD.org/src/rev/8b5687a6026f
branches: netbsd-1-4
changeset: 470578:8b5687a6026f
user: he <he%NetBSD.org@localhost>
date: Thu May 11 09:25:45 2000 +0000
description:
Pull up revision 1.46 (partial, via patch, requested by jhawk):
Add a driver for ``wi'', Lucent "Orinoco"/Wavelan.
diffstat:
sys/net/if.h | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r a93713b2cce2 -r 8b5687a6026f sys/net/if.h
--- a/sys/net/if.h Thu May 11 09:25:19 2000 +0000
+++ b/sys/net/if.h Thu May 11 09:25:45 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if.h,v 1.35 1999/03/27 01:24:49 aidan Exp $ */
+/* $NetBSD: if.h,v 1.35.2.1 2000/05/11 09:25:45 he Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -191,6 +191,14 @@
IFF_SIMPLEX|IFF_MULTICAST|IFF_ALLMULTI)
/*
+ * Some convenience macros used for setting ifi_baudrate.
+ * XXX 1000 vs. 1024? --thorpej%netbsd.org@localhost
+ */
+#define IF_Kbps(x) ((x) * 1000) /* kilobits/sec. */
+#define IF_Mbps(x) (IF_Kbps((x) * 1000)) /* megabits/sec. */
+#define IF_Gbps(x) (IF_Mbps((x) * 1000)) /* gigabits/sec. */
+
+/*
* Output queues (ifp->if_snd) and internetwork datagram level (pup level 1)
* input routines have queues of messages stored on ifqueue structures
* (defined above). Entries are added to and deleted from these structures
Home |
Main Index |
Thread Index |
Old Index