mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 16:20:37 +00:00
c2d0d784c7
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems! svn path=/branches/usb-bringup-trunk/; revision=55018
17 lines
566 B
C
17 lines
566 B
C
#define SB_TRUE 0
|
|
#define SB_FALSE 1
|
|
|
|
#define DSP_MIXER_ADDRESS_PORT 0x04
|
|
#define DSP_MIXER_DATA_PORT 0x05
|
|
#define DSP_RESET_PORT 0x06
|
|
#define DSP_READ_DATA_PORT 0x0A
|
|
#define DSP_WRITE_PORT 0x0C //Same port used for reading status and writing data
|
|
#define DSP_READ_STATUS_PORT 0x0E
|
|
|
|
typedef unsigned char sb_status;
|
|
unsigned short base;
|
|
unsigned char irq,dma8,dma16;
|
|
unsigned char read_dsp(unsigned short base);
|
|
void write_dsp(unsigned short base,unsigned char data);
|
|
sb_status detect_dsp(SB16* sb16);
|
|
sb_status reset_dsp(unsigned short base_address);
|