Terratec Phase 28
PATCH 1/1 Terratec Phase 28
Summary: Provides preliminary support for the Terratec Phase 28 card.
Not extensively tested and probably buggy, but it seems to work.
Index: alsa-kernel/pci/ice1712/ice1712.h
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ice1712/ice1712.h,v retrieving revision 1.30
pci/ice1712/ice1712.h +5 -0
@@ -373,6 +373,11 @@unsigned short master[2 ];unsigned short vol[8 ]; } aureon; +/* AC97 register cache for Phase28 */ +struct phase28_spec { +unsigned short master[2 ]; +unsigned short vol[8 ]; + } phase28;/* Hoontech-specific setting */ struct hoontech_spec {unsigned char boxbits[4 ];
Index: alsa-kernel/pci/ice1712/phase.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ice1712/phase.c,v retrieving revision 1.1
pci/ice1712/phase.c +728 -0
745 lines not on this page · raw message
Index: alsa-kernel/pci/ice1712/phase.h
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ice1712/phase.h,v retrieving revision 1.1
pci/ice1712/phase.h +18 -1
@@ -24,11 +24,28 @@* */ -#define PHASE_DEVICE_DESC "{Terratec,Phase 22}," +#define PHASE_DEVICE_DESC "{Terratec,Phase 22},"\ + "{Terratec,Phase 28},"#define VT1724_SUBDEVICE_PHASE22 0x3b155011 +#define VT1724_SUBDEVICE_PHASE28 0x3b154911/* entry point */ extern struct snd_ice1712_card_info snd_vt1724_phase_cards[]; +/* PHASE28 GPIO bits */ +#define PHASE28_SPI_MISO (1 << 21) +#define PHASE28_WM_RESET (1 << 20) +#define PHASE28_SPI_CLK (1 << 19) +#define PHASE28_SPI_MOSI (1 << 18) +#define PHASE28_WM_RW (1 << 17) +#define PHASE28_AC97_RESET (1 << 16) +#define PHASE28_DIGITAL_SEL1 (1 << 15) +#define PHASE28_HP_SEL (1 << 14) +#define PHASE28_WM_CS (1 << 12) +#define PHASE28_AC97_COMMIT (1 << 11) +#define PHASE28_AC97_ADDR (1 << 10) +#define PHASE28_AC97_DATA_LOW (1 << 9) +#define PHASE28_AC97_DATA_HIGH (1 << 8) +#define PHASE28_AC97_DATA_MASK 0xFF#endif /* __SOUND_PHASE */
Signature · 10 lines
Simone Zinanni - [email protected] Develer S.r.l. - http://www.develer.com/ Software Solutions ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
At Sun, 10 Apr 2005 00:51:48 +0200,
Quoted 7 lines · Simone Zinanni
Summary: Provides preliminary support for the Terratec Phase 28 card.
Not extensively tested and probably buggy, but it seems to work.
Signed-off-by Simone Zinanni <[email protected]>
Thanks. It's on CVS now.
Takashi
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click