Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/hdaudio Replace GCC attributes with __packed.
details: https://anonhg.NetBSD.org/src/rev/7882fecef7d1
branches: trunk
changeset: 747239:7882fecef7d1
user: rmind <rmind%NetBSD.org@localhost>
date: Sun Sep 06 21:38:17 2009 +0000
description:
Replace GCC attributes with __packed.
diffstat:
sys/dev/pci/hdaudio/hdaudioreg.h | 4 ++--
sys/dev/pci/hdaudio/hdaudiovar.h | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (44 lines):
diff -r 71be2d5a2e66 -r 7882fecef7d1 sys/dev/pci/hdaudio/hdaudioreg.h
--- a/sys/dev/pci/hdaudio/hdaudioreg.h Sun Sep 06 21:03:27 2009 +0000
+++ b/sys/dev/pci/hdaudio/hdaudioreg.h Sun Sep 06 21:38:17 2009 +0000
@@ -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 <support%precedence.co.uk@localhost>
@@ -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 */
diff -r 71be2d5a2e66 -r 7882fecef7d1 sys/dev/pci/hdaudio/hdaudiovar.h
--- a/sys/dev/pci/hdaudio/hdaudiovar.h Sun Sep 06 21:03:27 2009 +0000
+++ b/sys/dev/pci/hdaudio/hdaudiovar.h Sun Sep 06 21:38:17 2009 +0000
@@ -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 <support%precedence.co.uk@localhost>
@@ -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
Home |
Main Index |
Thread Index |
Old Index