add missing rcsid and multiple include protection.

This commit is contained in:
christos 2012-08-19 07:55:54 +00:00
parent af6a957f5e
commit e728756ae9
3 changed files with 12 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_otus.c,v 1.10 2012/03/11 01:06:06 mrg Exp $ */
/* $NetBSD: if_otus.c,v 1.11 2012/08/19 07:55:54 christos Exp $ */
/* $OpenBSD: if_otus.c,v 1.18 2010/08/27 17:08:00 jsg Exp $ */
/*-
@ -17,6 +17,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_otus.c,v 1.11 2012/08/19 07:55:54 christos Exp $");
/*-
* Driver for Atheros AR9001U chipset.
* http://www.atheros.com/pt/bulletins/AR9001USBBulletin.pdf

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_otusreg.h,v 1.2 2010/11/03 20:03:02 christos Exp $ */
/* $NetBSD: if_otusreg.h,v 1.3 2012/08/19 07:55:54 christos Exp $ */
/* $OpenBSD: if_otusreg.h,v 1.6 2009/04/06 18:17:01 damien Exp $ */
/*-
@ -17,6 +17,8 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef _IF_OTUSREG_H_
#define _IF_OTUSREG_H_
/* USB Endpoints addresses. */
#define AR_EPT_BULK_TX_NO (UE_DIR_OUT | 1)
@ -416,3 +418,4 @@ typedef struct ar5416eeprom {
CAL_CTL_DATA ctlData[AR5416_NUM_CTLS];
uint8_t padding[3];
} __packed AR5416_EEPROM;
#endif /* _IF_OTUSREG_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_otusvar.h,v 1.1 2010/11/03 20:03:02 christos Exp $ */
/* $NetBSD: if_otusvar.h,v 1.2 2012/08/19 07:55:54 christos Exp $ */
/* $OpenBSD: if_otusreg.h,v 1.6 2009/04/06 18:17:01 damien Exp $ */
/*-
@ -17,6 +17,8 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef _IF_OTUSVAR_H_
#define _IF_OTUSVAR_H_
#ifndef HAVE_EDCA
/************************************************************
@ -277,3 +279,5 @@ struct otus_softc {
#define sc_txtap sc_txtapu.th
int sc_txtap_len;
};
#endif /* _IF_OTUSVAR_H_ */