aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/lx6464es/lx6464es.h
diff options
context:
space:
mode:
authorTim Blechmann <tim@klingt.org>2011-06-24 11:36:20 -0400
committerTakashi Iwai <tiwai@suse.de>2011-06-25 03:15:31 -0400
commit80b52490cdbfec7ea93d1158f13f0e49a1557423 (patch)
treeff40dd069882554e8e2e7b75a58c24af227f5fae /sound/pci/lx6464es/lx6464es.h
parent14705799138005dcb66fa9dfe3e9103e9ae7a897 (diff)
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 aea621eafbb..e2a124ae27e 100644
--- a/sound/pci/lx6464es/lx6464es.h
+++ b/sound/pci/lx6464es/lx6464es.h
@@ -69,6 +69,8 @@ struct lx6464es {
69 struct pci_dev *pci; 69 struct pci_dev *pci;
70 int irq; 70 int irq;
71 71
72 u8 mac_address[6];
73
72 spinlock_t lock; /* interrupt spinlock */ 74 spinlock_t lock; /* interrupt spinlock */
73 struct mutex setup_mutex; /* mutex used in hw_params, open 75 struct mutex setup_mutex; /* mutex used in hw_params, open
74 * and close */ 76 * and close */