#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/mod_devicetable.h>
#include <linux/usb.h>
#include <linux/slab.h>
#include "../w1_int.h"
#include "../w1.h"
Go to the source code of this file.
#define COMM_1_WIRE_RESET 0x0042 |
#define COMM_BIT_IO 0x0020 |
#define COMM_BLOCK_IO 0x0074 |
#define COMM_BYTE_IO 0x0052 |
#define COMM_DO_RELEASE 0x6092 |
#define COMM_ERROR_ESCAPE 0x0601 |
#define COMM_MATCH_ACCESS 0x0064 |
#define COMM_PULSE 0x0030 |
#define COMM_READ_CRC_PROT_PAGE 0x00D4 |
#define COMM_READ_REDIRECT_PAGE_CRC 0x21E4 |
#define COMM_READ_STRAIGHT 0x0080 |
#define COMM_SEARCH_ACCESS 0x00F4 |
#define COMM_SET_DURATION 0x0012 |
#define COMM_SET_PATH 0x00A2 |
#define COMM_WRITE_EPROM 0x00C4 |
#define COMM_WRITE_SRAM_PAGE 0x00B2 |
#define CTL_FLUSH_COMM_CMDS 0x0007 |
#define CTL_FLUSH_RCV_BUFFER 0x0008 |
#define CTL_FLUSH_XMT_BUFFER 0x0009 |
#define CTL_GET_COMM_CMDS 0x000A |
#define CTL_HALT_EXE_DONE 0x0004 |
#define CTL_HALT_EXE_IDLE 0x0003 |
#define CTL_RESET_DEVICE 0x0000 |
#define CTL_RESUME_EXE 0x0002 |
#define CTL_START_EXE 0x0001 |
#define MOD_1WIRE_SPEED 0x0002 |
#define MOD_DSOW0_TREC 0x0007 |
#define MOD_PROG_PULSE_DURATION 0x0005 |
#define MOD_PULLDOWN_SLEWRATE 0x0004 |
#define MOD_PULSE_EN 0x0000 |
#define MOD_SPEED_CHANGE_EN 0x0001 |
#define MOD_STRONG_PU_DURATION 0x0003 |
#define MOD_WRITE1_LOWTIME 0x0006 |
#define RR_APP 0x04 /* alarming presence on reset */ |
#define RR_CMP 0x10 /* compare error */ |
#define RR_CRC 0x20 /* CRC error detected */ |
#define RR_DETECT 0xA5 /* New device detected */ |
#define RR_EOS 0x80 /* end of search error */ |
#define RR_NRS 0x01 /* Reset no presence or ... */ |
#define RR_RDP 0x40 /* redirected page */ |
#define RR_SH 0x02 /* short on reset or set path */ |
#define RR_VPP 0x08 /* 12V expected not seen */ |
#define SPEED_FLEXIBLE 0x01 |
#define SPEED_NORMAL 0x00 |
#define SPEED_OVERDRIVE 0x02 |
#define ST_12VP 0x04 /* external 12V programming voltage is present */ |
#define ST_HALT 0x10 /* DS2490 is currently halted */ |
#define ST_IDLE 0x20 /* DS2490 is currently idle */ |
#define ST_PMOD 0x08 /* DS2490 powered from USB and external sources */ |
#define ST_PRGA 0x02 /* 12V programming pulse is being generated */ |
#define ST_SPUA 0x01 /* Strong Pull-up is active */ |
MODULE_DESCRIPTION |
( |
"DS2490 USB <-> W1 bus master driver (DS9490*)" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
ds_id_table |
|
|
) |
| |
module_usb_driver |
( |
ds_driver |
| ) |
|