Module Name:    src
Committed By:   rmind
Date:           Sun Sep  6 21:38:17 UTC 2009

Modified Files:
        src/sys/dev/pci/hdaudio: hdaudioreg.h hdaudiovar.h

Log Message:
Replace GCC attributes with __packed.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/hdaudio/hdaudioreg.h \
    src/sys/dev/pci/hdaudio/hdaudiovar.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/pci/hdaudio/hdaudioreg.h
diff -u src/sys/dev/pci/hdaudio/hdaudioreg.h:1.2 src/sys/dev/pci/hdaudio/hdaudioreg.h:1.3
--- src/sys/dev/pci/hdaudio/hdaudioreg.h:1.2	Sun Sep  6 17:33:53 2009
+++ src/sys/dev/pci/hdaudio/hdaudioreg.h	Sun Sep  6 21:38:17 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: hdaudioreg.h,v 1.2 2009/09/06 17:33:53 sborrill Exp $ */
+/* $NetBSD: hdaudioreg.h,v 1.3 2009/09/06 21:38:17 rmind Exp $ */
 
 /*
  * Copyright (c) 2009 Precedence Technologies Ltd <supp...@precedence.co.uk>
@@ -352,6 +352,6 @@
 	uint32_t	resp_ex;
 #define	RIRB_CODEC_ID(entry)	((entry)->resp_ex & 0xf)
 #define	RIRB_UNSOL(entry)	((entry)->resp_ex & 0x10)
-} __attribute__((__packed__));
+} __packed;
 
 #endif /* !_HDAUDIOREG_H */
Index: src/sys/dev/pci/hdaudio/hdaudiovar.h
diff -u src/sys/dev/pci/hdaudio/hdaudiovar.h:1.2 src/sys/dev/pci/hdaudio/hdaudiovar.h:1.3
--- src/sys/dev/pci/hdaudio/hdaudiovar.h:1.2	Sun Sep  6 17:33:53 2009
+++ src/sys/dev/pci/hdaudio/hdaudiovar.h	Sun Sep  6 21:38:17 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: hdaudiovar.h,v 1.2 2009/09/06 17:33:53 sborrill Exp $ */
+/* $NetBSD: hdaudiovar.h,v 1.3 2009/09/06 21:38:17 rmind Exp $ */
 
 /*
  * Copyright (c) 2009 Precedence Technologies Ltd <supp...@precedence.co.uk>
@@ -102,7 +102,7 @@
 struct hdaudio_dma_position {
 	uint32_t	position;
 	uint32_t	reserved;
-} __attribute__((__packed__));
+} __packed;
 
 struct hdaudio_bdl_entry {
 	uint32_t	address_lo;
@@ -110,7 +110,7 @@
 	uint32_t	length;
 	uint32_t	flags;
 #define	HDAUDIO_BDL_ENTRY_IOC	0x00000001
-} __attribute__((__packed__));
+} __packed;
 
 #define	HDAUDIO_BDL_MAX		256
 

Reply via email to