#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/stddef.h>
#include <linux/slab.h>
#include <linux/isapnp.h>
#include <linux/pnp.h>
#include <linux/spinlock.h>
#include "sound_config.h"
#include "ad1848.h"
#include "ad1848_mixer.h"
Go to the source code of this file.
|
int | ad1848_detect (struct resource *ports, int *ad_flags, int *osp) |
|
int | ad1848_init (char *name, struct resource *ports, int irq, int dma_playback, int dma_capture, int share_dma, int *osp, struct module *owner) |
|
int | ad1848_control (int cmd, int arg) |
|
void | ad1848_unload (int io_base, int irq, int dma_playback, int dma_capture, int share_dma) |
|
int | probe_ms_sound (struct address_info *hw_config, struct resource *ports) |
|
void | attach_ms_sound (struct address_info *hw_config, struct resource *ports, struct module *owner) |
|
void | unload_ms_sound (struct address_info *hw_config) |
|
| EXPORT_SYMBOL (ad1848_detect) |
|
| EXPORT_SYMBOL (ad1848_init) |
|
| EXPORT_SYMBOL (ad1848_unload) |
|
| EXPORT_SYMBOL (ad1848_control) |
|
| EXPORT_SYMBOL (probe_ms_sound) |
|
| EXPORT_SYMBOL (attach_ms_sound) |
|
| EXPORT_SYMBOL (unload_ms_sound) |
|
| module_param (io, int, 0) |
|
| module_param (irq, int, 0) |
|
| module_param (dma, int, 0) |
|
| module_param (dma2, int, 0) |
|
| module_param (type, int, 0) |
|
| module_param (deskpro_xl, bool, 0) |
|
| module_param (deskpro_m, bool, 0) |
|
| module_param (soundpro, bool, 0) |
|
| module_init (init_ad1848) |
|
| module_exit (cleanup_ad1848) |
|
| __setup ("ad1848=", setup_ad1848) |
|
| MODULE_LICENSE ("GPL") |
|
#define io_Index_Addr |
( |
|
d | ) |
((d)->base) |
#define io_Indexed_Data |
( |
|
d | ) |
((d)->base+1) |
#define io_Polled_IO |
( |
|
d | ) |
((d)->base+3) |
#define io_Status |
( |
|
d | ) |
((d)->base+2) |
#define MD_1845_SSCAPE 9 /* Ensoniq Soundscape PNP*/ |
#define MD_4235 8 /* Crystal Audio CS4235 */ |
#define MD_4239 12 /* CS4239 */ |
#define MD_42xB 11 /* CS 42xB */ |
module_exit |
( |
cleanup_ad1848 |
| ) |
|
module_init |
( |
init_ad1848 |
| ) |
|
module_param |
( |
io |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
irq |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
dma |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
dma2 |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
deskpro_xl |
, |
|
|
bool |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
deskpro_m |
, |
|
|
bool |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
soundpro |
, |
|
|
bool |
, |
|
|
0 |
|
|
) |
| |