Module Name:    src
Committed By:   christos
Date:           Sun Aug 19 07:55:54 UTC 2012

Modified Files:
        src/sys/dev/usb: if_otus.c if_otusreg.h if_otusvar.h

Log Message:
add missing rcsid and multiple include protection.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/usb/if_otus.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/usb/if_otusreg.h
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/usb/if_otusvar.h

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/usb/if_otus.c
diff -u src/sys/dev/usb/if_otus.c:1.10 src/sys/dev/usb/if_otus.c:1.11
--- src/sys/dev/usb/if_otus.c:1.10	Sat Mar 10 20:06:06 2012
+++ src/sys/dev/usb/if_otus.c	Sun Aug 19 03:55:54 2012
@@ -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

Index: src/sys/dev/usb/if_otusreg.h
diff -u src/sys/dev/usb/if_otusreg.h:1.2 src/sys/dev/usb/if_otusreg.h:1.3
--- src/sys/dev/usb/if_otusreg.h:1.2	Wed Nov  3 16:03:02 2010
+++ src/sys/dev/usb/if_otusreg.h	Sun Aug 19 03:55:54 2012
@@ -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_ */

Index: src/sys/dev/usb/if_otusvar.h
diff -u src/sys/dev/usb/if_otusvar.h:1.1 src/sys/dev/usb/if_otusvar.h:1.2
--- src/sys/dev/usb/if_otusvar.h:1.1	Wed Nov  3 16:03:02 2010
+++ src/sys/dev/usb/if_otusvar.h	Sun Aug 19 03:55:54 2012
@@ -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_ */

Reply via email to