Make this build on -current.

This commit is contained in:
dyoung 2009-03-27 16:10:50 +00:00
parent a6cfb08d9c
commit 7377de8f1d

View File

@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: athrate-onoe.c,v 1.13 2008/12/11 05:45:29 alc Exp $"
#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 */