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

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

?? lp.h

?? LINUX1.0源代碼,代碼條理清晰
?? H
字號:
#ifndef _LINUX_LP_H
#define _LINUX_LP_H

/*
 * usr/include/linux/lp.h c.1991-1992 James Wiegand
 * many modifications copyright (C) 1992 Michael K. Johnson
 * Interrupt support added 1993 Nigel Gamble
 */

/*
 * Per POSIX guidelines, this module reserves the LP and lp prefixes
 * These are the lp_table[minor].flags flags...
 */
#define LP_EXIST 0x0001
#define LP_SELEC 0x0002
#define LP_BUSY	 0x0004
#define LP_OFFL	 0x0008
#define LP_NOPA  0x0010
#define LP_ERR   0x0020
#define LP_ABORT 0x0040

/* timeout for each character.  This is relative to bus cycles -- it
 * is the count in a busy loop.  THIS IS THE VALUE TO CHANGE if you
 * have extremely slow printing, or if the machine seems to slow down
 * a lot when you print.  If you have slow printing, increase this
 * number and recompile, and if your system gets bogged down, decrease
 * this number.  This can be changed with the tunelp(8) command as well.
 */

#define LP_INIT_CHAR 1000

/* The parallel port specs apparently say that there needs to be
 * a .5usec wait before and after the strobe.  Since there are wildly
 * different computers running linux, I can't come up with a perfect
 * value, but since it worked well on most printers before without,
 * I'll initialize it to 0.
 */

#define LP_INIT_WAIT 0

/* This is the amount of time that the driver waits for the printer to
 * catch up when the printer's buffer appears to be filled.  If you
 * want to tune this and have a fast printer (i.e. HPIIIP), decrease
 * this number, and if you have a slow printer, increase this number.
 * This is in hundredths of a second, the default 2 being .05 second.
 * Or use the tunelp(8) command, which is especially nice if you want
 * change back and forth between character and graphics printing, which
 * are wildly different...
 */

#define LP_INIT_TIME 2

/* IOCTL numbers */
#define LPCHAR   0x0001  /* corresponds to LP_INIT_CHAR */
#define LPTIME   0x0002  /* corresponds to LP_INIT_TIME */
#define LPABORT  0x0004  /* call with TRUE arg to abort on error,
			    FALSE to retry.  Default is retry.  */
#define LPSETIRQ 0x0005  /* call with new IRQ number,
			    or 0 for polling (no IRQ) */
#define LPGETIRQ 0x0006  /* get the current IRQ number */
#define LPWAIT   0x0008  /* corresponds to LP_INIT_WAIT */

/* timeout for printk'ing a timeout, in jiffies (100ths of a second).
   This is also used for re-checking error conditions if LP_ABORT is
   not set.  This is the default behavior. */

#define LP_TIMEOUT_INTERRUPT	(60 * HZ)
#define LP_TIMEOUT_POLLED	(10 * HZ)

#define LP_B(minor)	lp_table[(minor)].base		/* IO address */
#define LP_F(minor)	lp_table[(minor)].flags		/* flags for busy, etc. */
#define LP_S(minor)	inb_p(LP_B((minor)) + 1)	/* status port */
#define LP_C(minor)	(lp_table[(minor)].base + 2)	/* control port */
#define LP_CHAR(minor)	lp_table[(minor)].chars		/* busy timeout */
#define LP_TIME(minor)	lp_table[(minor)].time		/* wait time */
#define LP_WAIT(minor)	lp_table[(minor)].wait		/* strobe wait */
#define LP_IRQ(minor)	lp_table[(minor)].irq		/* interrupt # */
							/* 0 means polled */

#define LP_BUFFER_SIZE 256

struct lp_struct {
	int base;
	unsigned int irq;
	int flags;
	unsigned int chars;
	unsigned int time;
	unsigned int wait;
	struct wait_queue *lp_wait_q;
	char *lp_buffer;
};

/* the BIOS manuals say there can be up to 4 lpt devices
 * but I have not seen a board where the 4th address is listed
 * if you have different hardware change the table below 
 * please let me know if you have different equipment
 * if you have more than 3 printers, remember to increase LP_NO
 */
struct lp_struct lp_table[] = {
	{ 0x3bc, 0, 0, LP_INIT_CHAR, LP_INIT_TIME, LP_INIT_WAIT, NULL, NULL, },
	{ 0x378, 0, 0, LP_INIT_CHAR, LP_INIT_TIME, LP_INIT_WAIT, NULL, NULL, },
	{ 0x278, 0, 0, LP_INIT_CHAR, LP_INIT_TIME, LP_INIT_WAIT, NULL, NULL, },
}; 
#define LP_NO 3

/* 
 * bit defines for 8255 status port
 * base + 1
 * accessed with LP_S(minor), which gets the byte...
 */
#define LP_PBUSY	0x80 /* active low */
#define LP_PACK		0x40 /* active low */
#define LP_POUTPA	0x20
#define LP_PSELECD	0x10
#define LP_PERRORP	0x08 /* active low*/

/* 
 * defines for 8255 control port
 * base + 2 
 * accessed with LP_C(minor)
 */
#define LP_PINTEN	0x10
#define LP_PSELECP	0x08
#define LP_PINITP	0x04  /* active low */
#define LP_PAUTOLF	0x02
#define LP_PSTROBE	0x01

/* 
 * the value written to ports to test existence. PC-style ports will 
 * return the value written. AT-style ports will return 0. so why not
 * make them the same ? 
 */
#define LP_DUMMY	0x00

/*
 * This is the port delay time.  Your mileage may vary.
 * It is used only in the lp_init() routine.
 */
#define LP_DELAY 	150000

/*
 * function prototypes
 */

extern long lp_init(long);

#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产123| 欧美videossexotv100| 粉嫩av一区二区三区| 麻豆免费精品视频| 精品亚洲国内自在自线福利| 男人的天堂久久精品| 毛片不卡一区二区| 韩国精品主播一区二区在线观看 | 日本va欧美va瓶| 五月天久久比比资源色| 丝瓜av网站精品一区二区| 五月天一区二区| 久久99国产精品免费| 国模套图日韩精品一区二区| 国产一区二区视频在线| 成人免费精品视频| 91伊人久久大香线蕉| 欧美三级资源在线| 日韩精品中文字幕在线一区| 久久精品一区二区三区四区| 亚洲欧洲99久久| 午夜精品福利一区二区蜜股av| 久久精品二区亚洲w码| 国产成人精品www牛牛影视| 91老司机福利 在线| 欧美精品 国产精品| 欧美激情自拍偷拍| 亚洲福利国产精品| 国内精品视频一区二区三区八戒 | 亚洲综合一区二区三区| 久久国产精品99久久人人澡| 成人sese在线| 日韩欧美一区二区免费| 亚洲色图制服诱惑| 美女爽到高潮91| 色综合激情久久| 欧美不卡一区二区| 夜夜操天天操亚洲| 国产精品99久久久| 欧美日韩免费高清一区色橹橹| 精品粉嫩超白一线天av| 亚洲一区二区三区四区五区中文 | 尤物视频一区二区| 韩国精品久久久| 欧美日韩午夜精品| 国产色综合一区| 免费美女久久99| 一本久久精品一区二区| 精品乱码亚洲一区二区不卡| 亚洲一区二区欧美日韩| 粉嫩久久99精品久久久久久夜 | 日韩av中文在线观看| 99精品视频一区| 国产女人aaa级久久久级| 午夜私人影院久久久久| 91性感美女视频| 国产香蕉久久精品综合网| 日本成人中文字幕在线视频| 欧美日韩国产综合一区二区三区| 国产无人区一区二区三区| 蜜桃免费网站一区二区三区| 欧美乱妇15p| 夜夜夜精品看看| 色94色欧美sute亚洲线路二| 国产精品亲子乱子伦xxxx裸| 国产在线播放一区二区三区| 日韩一区二区三区四区五区六区| 一区二区三区蜜桃网| 97se亚洲国产综合在线| 日本一区二区三区四区| 国产精品自拍一区| 久久精品在这里| 国产精品自拍av| 欧美激情中文不卡| 国产精品自产自拍| 国产亚洲短视频| 99久久婷婷国产精品综合| 亚洲欧洲精品一区二区三区| 国产99久久久久| 国产日韩v精品一区二区| 韩国三级在线一区| 国产亚洲精品7777| 不卡一区二区中文字幕| 1000部国产精品成人观看| 99久久精品免费观看| 夜夜嗨av一区二区三区中文字幕| 91免费观看国产| 午夜一区二区三区视频| 欧美成人一级视频| 风间由美一区二区av101| 亚洲精品视频在线| 欧美三级韩国三级日本一级| 偷拍一区二区三区| 2020国产精品自拍| 成人av在线影院| 夜夜夜精品看看| 欧美成人a视频| aaa欧美日韩| 性做久久久久久免费观看| 精品国产一区二区三区四区四| 国产91精品露脸国语对白| 亚洲天堂精品视频| 欧美日韩国产另类一区| 久久国产精品72免费观看| 中文字幕在线一区二区三区| 欧美色中文字幕| 国产一区视频在线看| 一区二区欧美视频| 久久美女高清视频| 在线一区二区三区做爰视频网站| 久久精品国产第一区二区三区| 国产精品欧美一区二区三区| 在线播放欧美女士性生活| 国产.欧美.日韩| 亚洲h动漫在线| 国产精品成人免费在线| 日韩精品一区二区三区在线播放 | 91影院在线免费观看| 亚洲一区二区三区国产| 久久久久久久综合| 欧美性欧美巨大黑白大战| 国产伦精品一区二区三区在线观看| 中文字幕中文乱码欧美一区二区| 91精品午夜视频| 91精品91久久久中77777| 韩国欧美国产1区| 日韩国产精品久久久久久亚洲| 亚洲欧洲成人自拍| 久久久久国产精品厨房| 欧美一区二区播放| 欧美日韩一区三区四区| 99久久精品免费精品国产| 国产精品中文字幕一区二区三区| 午夜精品久久久久久久| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆 | 久久久久久久久久久久电影| 91碰在线视频| 国产91精品免费| 精品一二三四区| 日韩精品乱码免费| 亚洲国产精品久久人人爱蜜臀| 国产精品乱码一区二三区小蝌蚪| 日韩一区二区精品葵司在线 | 777午夜精品免费视频| 欧美日韩一区二区在线观看| 在线观看日韩毛片| 91麻豆自制传媒国产之光| 91网址在线看| 99九九99九九九视频精品| 成人av片在线观看| 丁香一区二区三区| 国产精品一卡二| 国产成人av一区二区三区在线| 狠狠色丁香九九婷婷综合五月| 韩国一区二区视频| 狠狠色2019综合网| 国产成人免费av在线| 成人免费的视频| av成人老司机| 欧洲人成人精品| 欧美喷潮久久久xxxxx| 欧美夫妻性生活| 日韩欧美综合在线| 国产欧美精品区一区二区三区| 中国色在线观看另类| 亚洲激情校园春色| 亚洲第一在线综合网站| 美日韩黄色大片| 丰满放荡岳乱妇91ww| 欧洲国内综合视频| 日韩一区二区三区在线观看| 久久久蜜桃精品| 中文字幕亚洲欧美在线不卡| 亚洲线精品一区二区三区| 秋霞午夜鲁丝一区二区老狼| 国产精品综合一区二区三区| 成人av电影免费观看| 欧美视频一区二区| 精品国产一区二区亚洲人成毛片 | 免费观看30秒视频久久| 国产一区二区精品在线观看| av一区二区三区四区| 7777精品伊人久久久大香线蕉超级流畅| 日韩一区二区视频在线观看| 中文字幕va一区二区三区| 午夜视频在线观看一区二区三区| 久久精品久久精品| 91啦中文在线观看| 欧美成人精品二区三区99精品| 亚洲国产精华液网站w| 亚洲成av人片一区二区三区| 国产一区二区免费看| 91麻豆成人久久精品二区三区| 色婷婷国产精品综合在线观看| 欧美成人三级在线| 亚洲天堂成人网| 国产精品一级二级三级| 欧美视频第二页| 一色桃子久久精品亚洲| 精品制服美女丁香|