亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ltmodem.h,v

?? 話帶數據中傳真解調程序
?? H,V
字號:
head	1.7;access;symbols;locks	root:1.7; strict;comment	@ * @;1.7date	99.12.01.04.11.13;	author ftp;	state Exp;branches;next	1.6;1.6date	99.08.22.03.36.13;	author root;	state Exp;branches;next	1.5;1.5date	99.08.21.04.38.35;	author root;	state Exp;branches;next	1.4;1.4date	99.08.16.03.00.16;	author root;	state Exp;branches;next	1.3;1.3date	99.07.21.03.31.04;	author root;	state Exp;branches;next	1.2;1.2date	99.07.05.03.59.31;	author root;	state Exp;branches;next	1.1;1.1date	99.07.05.03.51.27;	author root;	state Exp;branches;next	;desc@@1.7log@Updated for 0.9.2 catchup build.@text@/*
 *	$Id: ltmodem.h,v 1.6 1999/08/22 03:36:13 root Exp root $
 *
 *	Lucent PCI modem diagnostics tool.
 *
 *	Copyright (c) 1999 Richard J.M. Close
 *
 *	Can be freely distributed and used under the terms of the GNU GPL.
 */

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <unistd.h>
#include <ctype.h>

#include "pci_utils.h"
#include "irq.h"
#include "control.h"
#include "voice.h"

#define LTMODEM_VERSION "0.9.2"


/* Options */
static int verbose = 0;		        // Show detailed information.

/* Modem monitoring functions. */
static void
monitor_modem(void);

static int
set_monitoring_interval(void);

/* Modem writing functions. */
static void
set_modem(void);

/* Main command menu. */
void main_menu(void);

void command_mode(void);

void setup_irq(void);

void io_init(void);

// Default is tone dialling.
bool pulseDial = false;

// Dial the number held in the argument string.
void dial(char *s);

// Mess around with the speaker.
void setSpeaker (bool Enabled, unsigned char Volume);

bool waitForAnswerTone (void);


@1.6log@Revised for 0.0.6, added dialling stuff from Pavel and minor mod to initialisation.@text@d2 1a2 1 *	$Id: ltmodem.h,v 1.5 1999/08/21 04:38:35 root Exp root $
d18 1a18 1#include "portIO.h"
d20 2d23 1a23 1/* Format strings used for IRQ numbers and memory addresses */
a24 53#ifdef ARCH_SPARC64
#define IRQ_FORMAT "%08x"
#else
#define IRQ_FORMAT "%d"
#endif

#ifdef HAVE_64BIT_ADDRESS
#define ADDR_FORMAT "%016Lx"
#else
#define ADDR_FORMAT "%08lx"
#endif

#ifdef ARCH_SPARC64
#define IO_FORMAT "%016Lx"
#elif defined(HAVE_64BIT_ADDRESS)
#define IO_FORMAT "%04Lx"
#else
#define IO_FORMAT "%04lx"
#endif

#define LTMODEM_VERSION "0.0.6"

struct device {
  struct device *next;
  struct pci_dev *dev;
  unsigned int config_cnt;
  byte config[256];
};

/* Communication with libpci */

static struct pci_access *pacc;

/* Our view of the PCI bus */

static struct device *first_dev;
static struct device *modem_dev;

/* Tree output */

struct bridge {
  struct bridge *chain;			/* Single-linked list of bridges */
  struct bridge *next, *child;		/* Tree of bridges */
  struct bus *first_bus;		/* List of busses connected to this bridge */
  unsigned int primary, secondary, subordinate;	/* Bus numbers */
  struct device *br_dev;
};

struct bus {
  unsigned int number;
  struct bus *sibling;
  struct device *first_dev, **last_dev;
};
d27 1a27 90static int modem;			/* Boolean: modem has been found = 1 */
/*static int verbose;		Show detailed information */
static int buscentric_view;		/* Show bus addresses/IRQ's instead of CPU-visible ones */
static struct pci_filter filter;	/* Device filter */

/* general scanning stuff. */
static struct device *
scan_device(struct pci_dev *p);
static void
scan_devices(void);

static int
check_root(void);

static int
config_fetch(struct device *d, unsigned int pos, unsigned int len);


/* Config space accesses */
static inline byte
get_conf_byte(struct device *d, unsigned int pos);

static word
get_conf_word(struct device *d, unsigned int pos);

static u32
get_conf_long(struct device *d, unsigned int pos);

/* Count used to access bases of htype0 devices. */
static int htype0_cnt = 6;
/* Array to hold IO addresses and their width (in bytes). */
unsigned int io_address[6];
unsigned int io_length[6];
/* The number of I/O ports found, = length of io_address. */
static unsigned int io_cnt;

/* Sorting */
static int
compare_them(const void *A, const void *B);

static void
sort_them(void);

/* Normal output */
#define FLAG(x,y) ((x & y) ? '+' : '-')

static void
show_bases(struct device *d, int cnt);

static void
show_htype0(struct device *d);

static struct bus *
find_bus(struct bridge *b, unsigned int n);

static struct bus *
new_bus(struct bridge *b, unsigned int n);

static void
insert_dev(struct device *d, struct bridge *b);

/* Bus mapping mode */

struct bus_bridge {
  struct bus_bridge *next;
  byte this, dev, func, first, last, bug;
};

struct bus_info {
  byte exists;
  byte guestbook;
  struct bus_bridge *bridges, *via;
};

static struct bus_info *bus_info;

static void
do_map_bridges(int bus, int min, int max);

/*  Show hexadecimal dump of first 64 bytes of the PCI configuration space
    (the standard header). */
static void
show_hex_dump(struct device *d);

/* Lucent modem specific stuff. */
static int
find_modem(void);

static void
show_modem(void);
a35 6static void
continous_monitoring(int monitor_type, int monitoring_interval);

static void
redisplay_modem_regs(void);

a38 6/* Interactively set the control register. */
static void
set_modem_cont_reg(void);
/* Interactively write to the IO ports. */
static void
set_modem_io(void);
d43 2d51 10@1.5log@*** empty log message ***@text@d2 1a2 1 *	$Id: ltmodem.h,v 1.4 1999/08/16 03:00:16 root Exp $
d198 3@1.4log@Included Pavel's updates and tidy ups.@text@d1 197a197 197/* *	$Id: ltmodem.h,v 1.3 1999/07/21 03:31:04 root Exp root $ * *	Lucent PCI modem diagnostics tool. * *	Copyright (c) 1999 Richard J.M. Close * *	Can be freely distributed and used under the terms of the GNU GPL. */#include <stdio.h>#include <string.h>#include <stdlib.h>#include <stdarg.h>#include <unistd.h>#include <ctype.h>#include "portIO.h"#include "irq.h"/* Format strings used for IRQ numbers and memory addresses */#ifdef ARCH_SPARC64#define IRQ_FORMAT "%08x"#else#define IRQ_FORMAT "%d"#endif#ifdef HAVE_64BIT_ADDRESS#define ADDR_FORMAT "%016Lx"#else#define ADDR_FORMAT "%08lx"#endif#ifdef ARCH_SPARC64#define IO_FORMAT "%016Lx"#elif defined(HAVE_64BIT_ADDRESS)#define IO_FORMAT "%04Lx"#else#define IO_FORMAT "%04lx"#endif#define LTMODEM_VERSION "0.0.5"struct device {  struct device *next;  struct pci_dev *dev;  unsigned int config_cnt;  byte config[256];};/* Communication with libpci */static struct pci_access *pacc;/* Our view of the PCI bus */static struct device *first_dev;static struct device *modem_dev;/* Tree output */struct bridge {  struct bridge *chain;			/* Single-linked list of bridges */  struct bridge *next, *child;		/* Tree of bridges */  struct bus *first_bus;		/* List of busses connected to this bridge */  unsigned int primary, secondary, subordinate;	/* Bus numbers */  struct device *br_dev;};struct bus {  unsigned int number;  struct bus *sibling;  struct device *first_dev, **last_dev;};/* Options */static int modem;			/* Boolean: modem has been found = 1 *//*static int verbose;		Show detailed information */static int buscentric_view;		/* Show bus addresses/IRQ's instead of CPU-visible ones */static struct pci_filter filter;	/* Device filter *//* general scanning stuff. */static struct device *scan_device(struct pci_dev *p);static voidscan_devices(void);static intcheck_root(void);static intconfig_fetch(struct device *d, unsigned int pos, unsigned int len);/* Config space accesses */static inline byteget_conf_byte(struct device *d, unsigned int pos);static wordget_conf_word(struct device *d, unsigned int pos);static u32get_conf_long(struct device *d, unsigned int pos);/* Count used to access bases of htype0 devices. */static int htype0_cnt = 6;/* Array to hold IO addresses and their width (in bytes). */unsigned int io_address[6];unsigned int io_length[6];/* The number of I/O ports found, = length of io_address. */static unsigned int io_cnt;/* Sorting */static intcompare_them(const void *A, const void *B);static voidsort_them(void);/* Normal output */#define FLAG(x,y) ((x & y) ? '+' : '-')static voidshow_bases(struct device *d, int cnt);static voidshow_htype0(struct device *d);static struct bus *find_bus(struct bridge *b, unsigned int n);static struct bus *new_bus(struct bridge *b, unsigned int n);static voidinsert_dev(struct device *d, struct bridge *b);/* Bus mapping mode */struct bus_bridge {  struct bus_bridge *next;  byte this, dev, func, first, last, bug;};struct bus_info {  byte exists;  byte guestbook;  struct bus_bridge *bridges, *via;};static struct bus_info *bus_info;static voiddo_map_bridges(int bus, int min, int max);/*  Show hexadecimal dump of first 64 bytes of the PCI configuration space    (the standard header). */static voidshow_hex_dump(struct device *d);/* Lucent modem specific stuff. */static intfind_modem(void);static voidshow_modem(void);/* Modem monitoring functions. */static voidmonitor_modem(void);static intset_monitoring_interval(void);static voidcontinous_monitoring(int monitor_type, int monitoring_interval);static voidredisplay_modem_regs(void);/* Modem writing functions. */static voidset_modem(void);/* Interactively set the control register. */static voidset_modem_cont_reg(void);/* Interactively write to the IO ports. */static voidset_modem_io(void);/* Main command menu. */void main_menu(void);void setup_irq(void);void io_init(void);@1.3log@See changes to ltmodem.c@text@d2 1a2 1 *	$Id: ltmodem.h,v 1.2 1999/07/05 03:59:31 root Exp root $a15 1#include <sys/io.h>d18 2a19 1#include "pciutils.h"d43 1a43 1#define LTMODEM_VERSION "0.0.4"d193 1a193 2voidmain_menu(void);d195 1a195 3/* Write functions prototypes from pciutils lib, for reference.intpci_write_byte(struct pci_dev *d, int pos, byte data);d197 1a197 10intpci_write_word(struct pci_dev *d, int pos, word data);intpci_write_long(struct pci_dev *d, int pos, u32 data);intpci_write_block(struct pci_dev *d, int pos, byte *buf, int len);*/@1.2log@Added prototypes for new monitoring functions.@text@d2 1a2 1 *	$Id: ltmodem.h,v 0.3 1999/07/05 03:51:27 root Exp root $d43 1a43 1#define LTMODEM_VERSION "0.0.3"d108 3a110 2/* Array to hold IO addresses. */int io_address[6];d112 1a112 1static int io_cnt;a171 2static intset_monitoring_type(void);@1.1log@Initial revision@text@d2 1a2 1 *	$Id: ltmodem.h,v 0.0.3 1999/07/04 22:45:57 rjmc Exp $d169 1a169 1voidd171 1a171 1intd174 1a174 1intd177 1a177 1voidd180 1a180 1voidd184 1a184 1voidd187 1a187 1voidd190 1a190 1void@

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕av资源一区| 国产女同性恋一区二区| 国产成人精品三级| 亚洲va国产天堂va久久en| 久久精品人人做人人综合| 亚洲va天堂va国产va久| 色综合久久天天| 国产综合色产在线精品| 午夜电影网亚洲视频| 亚洲欧美在线高清| 国产欧美日韩一区二区三区在线观看| 欧美另类变人与禽xxxxx| 99久久免费国产| 青青草97国产精品免费观看无弹窗版 | 国产精品天美传媒沈樵| 日韩欧美国产不卡| 欧美精品乱码久久久久久按摩| 91在线精品一区二区| 成熟亚洲日本毛茸茸凸凹| 狠狠色狠狠色综合系列| 老司机午夜精品| 美女诱惑一区二区| 五月天丁香久久| 亚洲观看高清完整版在线观看 | 国产精品99久久久久久久女警| 色婷婷av一区二区三区gif | 国产麻豆欧美日韩一区| 日韩精品久久久久久| 亚洲国产精品久久久久婷婷884| 亚洲欧美日韩综合aⅴ视频| 中文字幕一区在线观看| 国产日韩欧美不卡在线| 2019国产精品| 久久久久国产精品免费免费搜索| www国产成人免费观看视频 深夜成人网 | 麻豆精品在线视频| 男女男精品网站| 青青草成人在线观看| 蜜臀av一区二区| 久久精品国产一区二区三| 美女高潮久久久| 美洲天堂一区二卡三卡四卡视频 | 欧美国产成人在线| 欧美国产一区二区| 久久久久久久久99精品| 国产色综合久久| 国产精品视频第一区| 亚洲国产精品激情在线观看| 中文字幕在线不卡视频| 有码一区二区三区| 亚洲成a人片在线不卡一二三区 | 国产日韩精品一区二区浪潮av| 久久九九久精品国产免费直播| 国产欧美一区二区精品婷婷| 国产精品国产三级国产aⅴ原创| 国产精品电影一区二区| 亚洲宅男天堂在线观看无病毒| 亚洲一区二区欧美激情| 日本亚洲欧美天堂免费| 国产91色综合久久免费分享| 国产一区二区三区精品视频| 国产成人精品三级麻豆| 91视频一区二区三区| 欧美主播一区二区三区美女| 7777精品伊人久久久大香线蕉经典版下载| 欧美一区二区成人6969| 久久综合精品国产一区二区三区 | 欧美一卡二卡三卡| 久久精品欧美一区二区三区不卡 | 久久久亚洲精品一区二区三区| 国产日韩成人精品| 亚洲精品国产精品乱码不99| 日韩激情中文字幕| 国产成人免费在线| 欧美系列一区二区| 精品va天堂亚洲国产| 亚洲人成7777| 久久99精品国产91久久来源| 精品国产乱码久久久久久老虎 | 国产一区二区三区在线观看免费视频| 国产精品香蕉一区二区三区| 色综合久久88色综合天天6| 欧美日本国产视频| 久久精品一级爱片| 亚洲动漫第一页| 国产传媒一区在线| 欧美顶级少妇做爰| 国产精品欧美综合在线| 天天av天天翘天天综合网 | 久久久久国产一区二区三区四区| 综合久久给合久久狠狠狠97色| 日本麻豆一区二区三区视频| 99久久精品一区| 日韩欧美的一区| 亚洲愉拍自拍另类高清精品| 国产一区二区主播在线| 欧美日韩精品欧美日韩精品一 | 欧美国产一区二区在线观看| 亚洲欧美福利一区二区| 免费成人你懂的| 色菇凉天天综合网| 久久青草国产手机看片福利盒子| 亚洲欧美激情视频在线观看一区二区三区| 激情深爱一区二区| 欧美精品日韩综合在线| 亚洲欧美日韩小说| 国产呦精品一区二区三区网站| 精品美女在线观看| 亚洲精品国产视频| 国产不卡视频一区| 日韩免费观看2025年上映的电影| 亚洲乱码国产乱码精品精小说 | 欧洲一区二区三区在线| 中文av字幕一区| 国产专区欧美精品| 日韩一区二区三区视频在线观看| 亚洲激情成人在线| 97se亚洲国产综合自在线不卡| 久久久久久亚洲综合| 麻豆久久久久久久| 91精品中文字幕一区二区三区| 亚洲一二三四在线| 91成人免费在线| 亚洲女人的天堂| 99精品国产91久久久久久 | 最新国产成人在线观看| 粉嫩嫩av羞羞动漫久久久| 精品粉嫩超白一线天av| 老色鬼精品视频在线观看播放| 717成人午夜免费福利电影| 亚洲小说欧美激情另类| 91高清视频在线| 亚洲一区二区三区四区五区中文 | 日本午夜精品视频在线观看| 欧美日韩国产综合一区二区三区| 亚洲一区在线看| 欧美午夜精品久久久久久孕妇 | 国产福利91精品一区二区三区| 精品久久久久久久久久久久久久久久久| 蜜桃视频一区二区三区在线观看 | 亚洲3atv精品一区二区三区| 亚洲激情网站免费观看| 99精品欧美一区二区蜜桃免费| 国产精品三级视频| 91在线码无精品| 亚洲一区二区影院| 91精品婷婷国产综合久久| 老司机免费视频一区二区三区| 日韩欧美国产一二三区| 国产伦精品一区二区三区免费迷| 久久久久国产精品人| 懂色av一区二区三区蜜臀| 中文字幕电影一区| 色婷婷久久久综合中文字幕| 亚洲国产另类av| 日韩精品一区二区三区视频在线观看| 久久成人久久鬼色| 国产亚洲精品aa| 91黄色免费版| 喷水一区二区三区| 国产精品网站一区| 欧美视频一区二区三区四区| 美洲天堂一区二卡三卡四卡视频| 国产片一区二区三区| 91老师片黄在线观看| 午夜精品123| 国产日韩欧美激情| 在线免费观看日韩欧美| 蜜臀av一区二区在线观看| 国产一区在线不卡| 欧美一区二区三区爱爱| 国产成人av电影免费在线观看| 首页国产欧美久久| 欧美r级电影在线观看| 成人免费不卡视频| 天堂久久一区二区三区| 久久久精品免费观看| 色综合久久九月婷婷色综合| 三级欧美在线一区| 国产欧美视频一区二区| 欧美三级蜜桃2在线观看| 国产一区视频网站| 亚洲最新在线观看| 久久日韩精品一区二区五区| 色综合色综合色综合色综合色综合 | 日韩精品一区二区三区在线| 99久久精品免费精品国产| 日韩综合小视频| 国产精品热久久久久夜色精品三区 | 色妹子一区二区| 国产在线视频精品一区| 亚洲精品中文字幕在线观看| 精品三级av在线| 欧美这里有精品| 国产成a人亚洲| 精品一区二区影视| 亚洲国产精品精华液网站| 国产精品久久久久久久久图文区| 91精品国产色综合久久不卡电影 | av在线播放一区二区三区|