"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "usr/lib/oss/build/ymf7xx.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	ymf7xx
    5 #define DRIVER_NICK	"ymf7xx"
    6 #define DRIVER_STR_INFO	ymf7xx_str_info
    7 #define DRIVER_ATTACH	ymf7xx_attach
    8 #define DRIVER_DETACH	ymf7xx_detach
    9 #define DRIVER_TYPE	DRV_PCI
   10 
   11 int yamaha_mpu_ioaddr=0;
   12 /*
   13  * Yamaha DSXG MPU I/O Address
   14  * Values: 0x300, 0x330, 0x332, 0x334  Default: 0
   15  */
   16 
   17 int yamaha_mpu_irq=0;
   18 /*
   19  * Yamaha DSXG MPU IRQ
   20  * Values: 5, 7, 9, 10, 11   Default: 0
   21  */
   22 
   23 int yamaha_fm_ioaddr=0;
   24 /*
   25  * Yamaha DSXG FM IO Address
   26  * Values: 0x388, 0x398, 0x3a0, 0x3a8  Default: 0
   27  */
   28 #include <linux/mod_devicetable.h>
   29 
   30 static struct pci_device_id id_table[] = {
   31 	{.vendor=0x1073,	.device=0x10,	.subvendor=PCI_ANY_ID,	.subdevice=PCI_ANY_ID},
   32 	{.vendor=0x1073,	.device=0x12,	.subvendor=PCI_ANY_ID,	.subdevice=PCI_ANY_ID},
   33 	{.vendor=0x1073,	.device=0x4,	.subvendor=PCI_ANY_ID,	.subdevice=PCI_ANY_ID},
   34 	{.vendor=0x1073,	.device=0x5,	.subvendor=PCI_ANY_ID,	.subdevice=PCI_ANY_ID},
   35 	{.vendor=0x1073,	.device=0xa,	.subvendor=PCI_ANY_ID,	.subdevice=PCI_ANY_ID},
   36 	{.vendor=0x1073,	.device=0xc,	.subvendor=PCI_ANY_ID,	.subdevice=PCI_ANY_ID},
   37 	{.vendor=0x1073,	.device=0xd,	.subvendor=PCI_ANY_ID,	.subdevice=PCI_ANY_ID},
   38 	{0}
   39 };
   40 
   41 #include "module.inc"
   42 
   43 module_param(yamaha_mpu_ioaddr, int, S_IRUGO);
   44 MODULE_PARM_DESC(yamaha_mpu_ioaddr,
   45 "\n"
   46 "Yamaha DSXG MPU I/O Address\n"
   47 "Values: 0x300, 0x330, 0x332, 0x334  Default: 0\n"
   48 "\n"
   49 "\n");
   50 module_param(yamaha_mpu_irq, int, S_IRUGO);
   51 MODULE_PARM_DESC(yamaha_mpu_irq,
   52 "\n"
   53 "Yamaha DSXG MPU IRQ \n"
   54 "Values: 5, 7, 9, 10, 11   Default: 0\n"
   55 "\n"
   56 "\n");
   57 module_param(yamaha_fm_ioaddr, int, S_IRUGO);
   58 MODULE_PARM_DESC(yamaha_fm_ioaddr,
   59 "\n"
   60 "Yamaha DSXG FM IO Address\n"
   61 "Values: 0x388, 0x398, 0x3a0, 0x3a8  Default: 0\n"
   62 "\n");
   63 
   64