#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/usb.h>
Go to the source code of this file.
#define BRIGHTNESS 0x2c /* RAM location for brightness value */ |
#define BRIGHTNESS_SEM 0x2b /* RAM location for brightness semaphore */ |
#define DRIVER_AUTHOR "Erik Rigtorp" |
#define DRIVER_DESC "Cypress USB Thermometer driver" |
#define DRIVER_VERSION "v1.0" |
#define READ_PORT 0x04 /* Reads from port, value = address */ |
#define READ_RAM 0x02 /* Reads form RAM, value = address */ |
#define READ_ROM 0x01 /* Reads form ROM, value = address */ |
#define SIGN 0x34 /* RAM location for temperature sign */ |
#define TEMP 0x33 /* RAM location for temperature */ |
#define USB_SKEL_PRODUCT_ID 0x0002 |
#define USB_SKEL_VENDOR_ID 0x04b4 |
#define WRITE_PORT 0x05 /* Write to port, value = address, index = data */ |
#define WRITE_RAM 0x03 /* Write to RAM, value = address, index = data */ |
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
id_table |
|
|
) |
| |
module_usb_driver |
( |
cytherm_driver |
| ) |
|