Module Name: src
Committed By: dyoung
Date: Fri Mar 27 16:10:50 UTC 2009
Modified Files:
src/sys/dev/ic: athrate-onoe.c
Log Message:
Make this build on -current.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/ic/athrate-onoe.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/athrate-onoe.c
diff -u src/sys/dev/ic/athrate-onoe.c:1.13 src/sys/dev/ic/athrate-onoe.c:1.14
--- src/sys/dev/ic/athrate-onoe.c:1.13 Thu Dec 11 05:45:29 2008
+++ src/sys/dev/ic/athrate-onoe.c Fri Mar 27 16:10:50 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: athrate-onoe.c,v 1.13 2008/12/11 05:45:29 alc Exp $ */
+/* $NetBSD: athrate-onoe.c,v 1.14 2009/03/27 16:10:50 dyoung Exp $ */
/*-
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@@ -41,7 +41,7 @@
__FBSDID("$FreeBSD: src/sys/dev/ath/ath_rate/onoe/onoe.c,v 1.10 2005/08/09 10:19:43 rwatson Exp $");
#endif
#ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: athrate-onoe.c,v 1.13 2008/12/11 05:45:29 alc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: athrate-onoe.c,v 1.14 2009/03/27 16:10:50 dyoung Exp $");
#endif
/*
@@ -71,13 +71,17 @@
#include <netinet/in.h>
#endif
+#include "ah_desc.h"
#include <dev/ic/ath_netbsd.h>
#include <dev/ic/athvar.h>
#include <dev/ic/athrate-onoe.h>
#include <external/isc/atheros_hal/dist/ah.h>
+#ifndef ONOE_DEBUG
#define ONOE_DEBUG
+#endif
+
#ifdef ONOE_DEBUG
enum {
ATH_DEBUG_RATE = 0x00000010, /* rate control */