"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "usr/lib/oss/build/als300.c" of archive oss-linux-v4.0-1016-i386.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	als300
    5 #define DRIVER_NICK	"als300"
    6 #define DRIVER_STR_INFO	als300_str_info
    7 #define DRIVER_ATTACH	als300_attach
    8 #define DRIVER_DETACH	als300_detach
    9 #define DRIVER_TYPE	DRV_PCI
   10 
   11 int als300_mpu_base=0;
   12 /*
   13  * Specify ALS300's MPU Base
   14  * Values: 0x300, 0x310, 0x320, 0x330, 0x340, 0x0350, 0x360, 0x370 Default: 0
   15  */
   16 #include <linux/mod_devicetable.h>
   17 
   18 static struct pci_device_id id_table[] = {
   19 	{.vendor=0x4005,	.device=0x300,	.subvendor=PCI_ANY_ID,	.subdevice=PCI_ANY_ID},
   20 	{.vendor=0x4005,	.device=0x308,	.subvendor=PCI_ANY_ID,	.subdevice=PCI_ANY_ID},
   21 	{0}
   22 };
   23 
   24 #include "module.inc"
   25 
   26 module_param(als300_mpu_base, int, S_IRUGO);
   27 MODULE_PARM_DESC(als300_mpu_base,
   28 "\n"
   29 "Specify ALS300's MPU Base\n"
   30 "Values: 0x300, 0x310, 0x320, 0x330, 0x340, 0x0350, 0x360, 0x370 Default: 0\n"
   31 "\n");
   32 
   33