patch-2.3.38 linux/drivers/sound/trident.h
Next file: linux/drivers/sound/via82cxxx.c
Previous file: linux/drivers/sound/trident.c
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Thu Jan 6 15:01:56 2000
- Orig file:
v2.3.37/linux/drivers/sound/trident.h
- Orig date:
Tue Jan 4 13:57:17 2000
diff -u --recursive --new-file v2.3.37/linux/drivers/sound/trident.h linux/drivers/sound/trident.h
@@ -151,19 +151,26 @@
#define DX_AC97_BUSY_WRITE 0x8000
#define NX_AC97_BUSY_WRITE 0x0800
#define SI_AC97_BUSY_READ 0x8000
-#define DX_AC97_BUSY_READ 0x8000
-#define NX_AC97_BUSY_READ 0x0800
+#define DX_AC97_BUSY_READ 0x8000
+#define NX_AC97_BUSY_READ 0x0800
#define AC97_REG_ADDR 0x000000ff
-#define DX_AC97_REG_ADDR 0x000000ff
-#define NX_AC97_REG_ADDR 0x000000ff
+
+enum serial_intf_ctrl_bits {
+ WARM_REST = 0x00000001, COLD_RESET = 0x00000002,
+ I2S_CLOCK = 0x00000004, PCM_SEC_AC97= 0x00000008,
+ AC97_DBL_RATE = 0x00000010, SPDIF_EN = 0x00000020,
+ I2S_OUTPUT_EN = 0x00000040, I2S_INPUT_EN = 0x00000080,
+ PCMIN = 0x00000100, LINE1IN = 0x00000200,
+ MICIN = 0x00000400, LINE2IN = 0x00000800,
+};
enum global_control_bits {
- CHANNLE_IDX = 0x0000003f, PB_RESET = 0x00000100,
+ CHANNLE_IDX = 0x0000003f, PB_RESET = 0x00000100,
PAUSE_ENG = 0x00000200,
OVERRUN_IE = 0x00000400, UNDERRUN_IE = 0x00000800,
- ENDLP_IE = 0x00001000, MIDLP_IE = 0x00002000,
+ ENDLP_IE = 0x00001000, MIDLP_IE = 0x00002000,
ETOG_IE = 0x00004000,
- EDROP_IE = 0x00008000, BANK_B_EN = 0x00010000
+ EDROP_IE = 0x00008000, BANK_B_EN = 0x00010000
};
enum miscint_bits {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)