aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/lx6464es/lx6464es.h
diff options
context:
space:
mode:
authorTim Blechmann <tim@klingt.org>2011-06-24 17:36:20 +0200
committerTakashi Iwai <tiwai@suse.de>2011-06-25 09:15:31 +0200
commit80b52490cdbfec7ea93d1158f13f0e49a1557423 (patch)
treeff40dd069882554e8e2e7b75a58c24af227f5fae /sound/pci/lx6464es/lx6464es.h
parentALSA: lola - Fix for Lola280 board (diff)
downloadlinux-dev-80b52490cdbfec7ea93d1158f13f0e49a1557423.tar.xz
linux-dev-80b52490cdbfec7ea93d1158f13f0e49a1557423.zip
ALSA: lx6464es - include mac address in device name
each device has a unique mac address, which can be used to distinguish multiple devices in the same machine. we therefore include the full mac address in the device shortname and the last 6 bytes in the device id. Signed-off-by: Tim Blechmann <tim@klingt.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/lx6464es/lx6464es.h')
-rw-r--r--sound/pci/lx6464es/lx6464es.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/lx6464es/lx6464es.h b/sound/pci/lx6464es/lx6464es.h
index aea621eafbb5..e2a124ae27e8 100644
--- a/sound/pci/lx6464es/lx6464es.h
+++ b/sound/pci/lx6464es/lx6464es.h
@@ -69,6 +69,8 @@ struct lx6464es {
struct pci_dev *pci;
int irq;
+ u8 mac_address[6];
+
spinlock_t lock; /* interrupt spinlock */
struct mutex setup_mutex; /* mutex used in hw_params, open
* and close */