summaryrefslogtreecommitdiff
path: root/sys/dev/pci/envyreg.h
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2010-07-21 07:11:56 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2010-07-21 07:11:56 +0000
commit6e705ffd52db3149fd132e8b71aae735b57f4c30 (patch)
treea7dc3af3b527874e6d8a23f8dfb345dcecc30c3a /sys/dev/pci/envyreg.h
parent3d7b833ae7e16e5bf34a6247e61d860057eb9273 (diff)
make ENVY_GPIO_XXX macros card specific, add stub for audiophile 192k
Diffstat (limited to 'sys/dev/pci/envyreg.h')
-rw-r--r--sys/dev/pci/envyreg.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/pci/envyreg.h b/sys/dev/pci/envyreg.h
index 1368a3cef87..8fe99b2aba0 100644
--- a/sys/dev/pci/envyreg.h
+++ b/sys/dev/pci/envyreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: envyreg.h,v 1.14 2010/03/07 18:55:45 ratchov Exp $ */
+/* $OpenBSD: envyreg.h,v 1.15 2010/07/21 07:11:55 ratchov Exp $ */
/*
* Copyright (c) 2007 Alexandre Ratchov <alex@caoua.org>
*
@@ -76,14 +76,6 @@
#define ENVY_CCI_GPIODIR 0x22
/*
- * GPIO pin numbers
- */
-#define ENVY_GPIO_CLK 0x2
-#define ENVY_GPIO_DOUT 0x8
-#define ENVY_GPIO_CSMASK 0x70
-#define ENVY_GPIO_CS(dev) ((dev) << 4)
-
-/*
* EEPROM bytes signification
*/
#define ENVY_EEPROM_CONF 6