"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "usr/lib/oss/build/allegro.c" of archive oss-linux-v4.0-1016-x86_64.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 /*
    2  * Automatically generated file - do not edit.
    3  */
    4 #define DRIVER_NAME	allegro
    5 #define DRIVER_NICK	"allegro"
    6 #define DRIVER_STR_INFO	allegro_str_info
    7 #define DRIVER_ATTACH	allegro_attach
    8 #define DRIVER_DETACH	allegro_detach
    9 #define DRIVER_TYPE	DRV_PCI
   10 
   11 int allegro_amp=0;
   12 /*
   13  * Allegro Amp is needed for ESS 198X AC97 codecs
   14  * Values: 1=Enable 0=Disable    Default: 0
   15  */
   16 
   17 int allegro_mpu_ioaddr=0;
   18 /*
   19  * Allegro MPU 401 UART I/O Base
   20  * Values: 0x300, 0x320, 0x33, 0x340     Default: 0
   21  */
   22 
   23 #include <linux/mod_devicetable.h>
   24 
   25 static struct pci_device_id id_table[] = {
   26 	{.vendor=0x125d,	.device=0x1988,	.subvendor=PCI_ANY_ID,	.subdevice=PCI_ANY_ID},
   27 	{.vendor=0x125d,	.device=0x1990,	.subvendor=PCI_ANY_ID,	.subdevice=PCI_ANY_ID},
   28 	{.vendor=0x125d,	.device=0x1992,	.subvendor=PCI_ANY_ID,	.subdevice=PCI_ANY_ID},
   29 	{.vendor=0x125d,	.device=0x1998,	.subvendor=PCI_ANY_ID,	.subdevice=PCI_ANY_ID},
   30 	{.vendor=0x125d,	.device=0x199a,	.subvendor=PCI_ANY_ID,	.subdevice=PCI_ANY_ID},
   31 	{0}
   32 };
   33 
   34 #include "module.inc"
   35 
   36 module_param(allegro_amp, int, S_IRUGO);
   37 MODULE_PARM_DESC(allegro_amp,
   38 "\n"
   39 "Allegro Amp is needed for ESS 198X AC97 codecs \n"
   40 "Values: 1=Enable 0=Disable    Default: 0\n"
   41 "\n"
   42 "\n");
   43 module_param(allegro_mpu_ioaddr, int, S_IRUGO);
   44 MODULE_PARM_DESC(allegro_mpu_ioaddr,
   45 "\n"
   46 "Allegro MPU 401 UART I/O Base \n"
   47 "Values: 0x300, 0x320, 0x33, 0x340     Default: 0\n"
   48 "\n"
   49 "\n");
   50 
   51