4 * Copyright: Christoph Hellwig <chhellwig@gmx.net>
7 #define AD_F_CS4231 0x0001 /* Returned if a CS4232 (or compatible) detected */
8 #define AD_F_CS4248 0x0001 /* Returned if a CS4248 (or compatible) detected */
10 #define AD1848_SET_XTAL 1
11 #define AD1848_MIXER_REROUTE 2
13 #define AD1848_REROUTE(oldctl, newctl) \
14 ad1848_control(AD1848_MIXER_REROUTE, ((oldctl)<<8)|(newctl))
17 int ad1848_init(char *name
, int io_base
, int irq
, int dma_playback
,
18 int dma_capture
, int share_dma
, int *osp
);
19 void ad1848_unload (int io_base
, int irq
, int dma_playback
, int dma_capture
, int share_dma
);
21 int ad1848_detect (int io_base
, int *flags
, int *osp
);
22 int ad1848_control(int cmd
, int arg
);
24 void adintr(int irq
, void *dev_id
, struct pt_regs
* dummy
);
25 void attach_ms_sound(struct address_info
* hw_config
);
27 int probe_ms_sound(struct address_info
*hw_config
);
28 void unload_ms_sound(struct address_info
*hw_info
);