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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? space.c

?? LINUX1.0源代碼,代碼條理清晰
?? C
字號(hào):
/*
 * INET		An implementation of the TCP/IP protocol suite for the LINUX
 *		operating system.  INET is implemented using the  BSD Socket
 *		interface as the means of communication with the user level.
 *
 *		Holds initial configuration information for devices.
 *
 * NOTE:	This file is a nice idea, but its current format does not work
 *		well for drivers that support multiple units, like the SLIP
 *		driver.  We should actually have only one pointer to a driver
 *		here, with the driver knowing how many units it supports.
 *		Currently, the SLIP driver abuses the "base_addr" integer
 *		field of the 'device' structure to store the unit number...
 *		-FvK
 *
 * Version:	@(#)Space.c	1.0.7	08/12/93
 *
 * Authors:	Ross Biro, <bir7@leland.Stanford.Edu>
 *		Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
 *		Donald J. Becker, <becker@super.org>
 *
 *		This program is free software; you can redistribute it and/or
 *		modify it under the terms of the GNU General Public License
 *		as published by the Free Software Foundation; either version
 *		2 of the License, or (at your option) any later version.
 */
#include <linux/config.h>
#include <linux/ddi.h>
#include "dev.h"

#define LOOPBACK			/* always present, right?	*/

#define	NEXT_DEV	NULL


/* A unifed ethernet device probe.  This is the easiest way to have every
   ethernet adaptor have the name "eth[0123...]".
   */

extern int ultra_probe(struct device *dev);
extern int wd_probe(struct device *dev);
extern int el2_probe(struct device *dev);
extern int ne_probe(struct device *dev);
extern int hp_probe(struct device *dev);
extern int znet_probe(struct device *);
extern int express_probe(struct device *);
extern int el3_probe(struct device *);
extern int at1500_probe(struct device *);
extern int at1700_probe(struct device *);
extern int depca_probe(struct device *);
extern int el1_probe(struct device *);
extern int el16_probe(struct device *);
extern int elplus_probe(struct device *);
extern int ac3200_probe(struct device *);
extern int e2100_probe(struct device *);

/* Detachable devices ("pocket adaptors" and special PCMCIA drivers). */
extern int atp_init(struct device *);
extern int d_link_init(struct device *);

static int
ethif_probe(struct device *dev)
{
    short base_addr = dev->base_addr;

    if (base_addr < 0  ||  base_addr == 1)
	return 1;		/* ENXIO */

    if (1
#if defined(CONFIG_ULTRA)
	&& ultra_probe(dev)
#endif
#if defined(CONFIG_WD80x3) || defined(WD80x3)
	&& wd_probe(dev)
#endif
#if defined(CONFIG_EL2) || defined(EL2)	/* 3c503 */
	&& el2_probe(dev)
#endif
#if defined(CONFIG_NE2000) || defined(NE2000)
	&& ne_probe(dev)
#endif
#if defined(CONFIG_HPLAN) || defined(HPLAN)
	&& hp_probe(dev)
#endif
#ifdef CONFIG_AT1500
	&& at1500_probe(dev)
#endif
#ifdef CONFIG_AT1700
	&& at1700_probe(dev)
#endif
#ifdef CONFIG_EL3		/* 3c509 */
	&& el3_probe(dev)
#endif
#ifdef CONFIG_ZNET		/* Zenith Z-Note and some IBM Thinkpads. */
	&& znet_probe(dev)
#endif
#ifdef CONFIG_EEXPRESS		/* Intel EtherExpress */
	&& express_probe(dev)
#endif
#ifdef CONFIG_DEPCA		/* DEC DEPCA */
	&& depca_probe(dev)
#endif
#ifdef CONFIG_EL1		/* 3c501 */
	&& el1_probe(dev)
#endif
#ifdef CONFIG_EL16		/* 3c507 */
	&& el16_probe(dev)
#endif
#ifdef CONFIG_ELPLUS		/* 3c505 */
	&& elplus_probe(dev)
#endif
#ifdef CONFIG_AC3200		/* Ansel Communications EISA 3200. */
	&& ac3200_probe(dev)
#endif
#ifdef CONFIG_E2100		/* Cabletron E21xx series. */
	&& e2100_probe(dev)
#endif
	&& 1 ) {
	return 1;	/* -ENODEV or -EAGAIN would be more accurate. */
    }
    return 0;
}


/* This remains seperate because it requires the addr and IRQ to be set. */
#if defined(D_LINK) || defined(CONFIG_DE600)
static struct device d_link_dev = {
    "dl0", 0, 0, 0, 0, D_LINK_IO, D_LINK_IRQ, 0, 0, 0, NEXT_DEV, d_link_init };
#   undef NEXT_DEV
#   define NEXT_DEV	(&d_link_dev)
#endif

/* Run-time ATtachable (Pocket) devices have a different (not "eth#") name. */
#ifdef CONFIG_ATP		/* AT-LAN-TEC (RealTek) pocket adaptor. */
static struct device atp_dev = {
    "atp0", 0, 0, 0, 0, 0, 0, 0, 0, 0, NEXT_DEV, atp_init, /* ... */ };
#   undef NEXT_DEV
#   define NEXT_DEV	(&atp_dev)
#endif

/* The first device defaults to I/O base '0', which means autoprobe. */
#ifndef ETH0_ADDR
# define ETH0_ADDR 0
#endif
#ifndef ETH0_IRQ
# define ETH0_IRQ 0
#endif
/* "eth0" defaults to autoprobe (== 0), other use a base of 0xffe0 (== -0x20),
   which means "don't probe".  These entries exist to only to provide empty
   slots which may be enabled at boot-time. */

static struct device eth3_dev = {
    "eth3", 0,0,0,0,0xffe0 /* I/O base*/, 0,0,0,0, NEXT_DEV, ethif_probe };
static struct device eth2_dev = {
    "eth2", 0,0,0,0,0xffe0 /* I/O base*/, 0,0,0,0, &eth3_dev, ethif_probe };
static struct device eth1_dev = {
    "eth1", 0,0,0,0,0xffe0 /* I/O base*/, 0,0,0,0, &eth2_dev, ethif_probe };

static struct device eth0_dev = {
    "eth0", 0, 0, 0, 0, ETH0_ADDR, ETH0_IRQ, 0, 0, 0, &eth1_dev, ethif_probe };

#   undef NEXT_DEV
#   define NEXT_DEV	(&eth0_dev)

#if defined(PLIP) || defined(CONFIG_PLIP)
    extern int plip_init(struct device *);
    static struct device plip2_dev = {
	"plip2", 0, 0, 0, 0, 0x278, 2, 0, 0, 0, NEXT_DEV, plip_init, };
    static struct device plip1_dev = {
	"plip1", 0, 0, 0, 0, 0x378, 7, 0, 0, 0, &plip2_dev, plip_init, };
    static struct device plip0_dev = {
	"plip0", 0, 0, 0, 0, 0x3BC, 5, 0, 0, 0, &plip1_dev, plip_init, };
#   undef NEXT_DEV
#   define NEXT_DEV	(&plip0_dev)
#endif  /* PLIP */

#if defined(SLIP) || defined(CONFIG_SLIP)
    extern int slip_init(struct device *);
    static struct device slip3_dev = {
	"sl3",			/* Internal SLIP driver, channel 3	*/
	0x0,			/* recv memory end			*/
	0x0,			/* recv memory start			*/
	0x0,			/* memory end				*/
	0x0,			/* memory start				*/
	0x3,			/* base I/O address			*/
	0,			/* IRQ					*/
	0, 0, 0,		/* flags				*/
	NEXT_DEV,		/* next device				*/
	slip_init		/* slip_init should set up the rest	*/
    };
    static struct device slip2_dev = {
	"sl2",			/* Internal SLIP driver, channel 2	*/
	0x0,			/* recv memory end			*/
	0x0,			/* recv memory start			*/
	0x0,			/* memory end				*/
	0x0,			/* memory start				*/
	0x2,			/* base I/O address			*/
	0,			/* IRQ					*/
	0, 0, 0,		/* flags				*/
	&slip3_dev,		/* next device				*/
	slip_init		/* slip_init should set up the rest	*/
    };
    static struct device slip1_dev = {
	"sl1",			/* Internal SLIP driver, channel 1	*/
	0x0,			/* recv memory end			*/
	0x0,			/* recv memory start			*/
	0x0,			/* memory end				*/
	0x0,			/* memory start				*/
	0x1,			/* base I/O address			*/
	0,			/* IRQ					*/
	0, 0, 0,		/* flags				*/
	&slip2_dev,		/* next device				*/
	slip_init		/* slip_init should set up the rest	*/
    };
    static struct device slip0_dev = {
	"sl0",			/* Internal SLIP driver, channel 0	*/
	0x0,			/* recv memory end			*/
	0x0,			/* recv memory start			*/
	0x0,			/* memory end				*/
	0x0,			/* memory start				*/
	0x0,			/* base I/O address			*/
	0,			/* IRQ					*/
	0, 0, 0,		/* flags				*/
	&slip1_dev,		/* next device				*/
	slip_init		/* slip_init should set up the rest	*/
    };
#   undef	NEXT_DEV
#   define	NEXT_DEV	(&slip0_dev)
#endif	/* SLIP */
  
#if defined(CONFIG_PPP)
extern int ppp_init(struct device *);
static struct device ppp3_dev = {
    "ppp3", 0x0, 0x0, 0x0, 0x0, 3, 0, 0, 0, 0, NEXT_DEV,  ppp_init, };
static struct device ppp2_dev = {
    "ppp2", 0x0, 0x0, 0x0, 0x0, 2, 0, 0, 0, 0, &ppp3_dev, ppp_init, };
static struct device ppp1_dev = {
    "ppp1", 0x0, 0x0, 0x0, 0x0, 1, 0, 0, 0, 0, &ppp2_dev, ppp_init, };
static struct device ppp0_dev = {
    "ppp0", 0x0, 0x0, 0x0, 0x0, 0, 0, 0, 0, 0, &ppp1_dev, ppp_init, };
#undef NEXT_DEV
#define NEXT_DEV (&ppp0_dev)
#endif   /* PPP */

#ifdef LOOPBACK
    extern int loopback_init(struct device *dev);
    static struct device loopback_dev = {
	"lo",			/* Software Loopback interface		*/
	0x0,			/* recv memory end			*/
	0x0,			/* recv memory start			*/
	0x0,			/* memory end				*/
	0x0,			/* memory start				*/
	0,			/* base I/O address			*/
	0,			/* IRQ					*/
	0, 0, 0,		/* flags				*/
	NEXT_DEV,		/* next device				*/
	loopback_init		/* loopback_init should set up the rest	*/
    };
#   undef	NEXT_DEV
#   define	NEXT_DEV	(&loopback_dev)
#endif


struct device *dev_base = NEXT_DEV;

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美男同性恋视频网站| 丰满亚洲少妇av| 国产麻豆欧美日韩一区| 成人午夜又粗又硬又大| 欧洲一区二区av| 日韩欧美电影在线| 国产精品二三区| 男男gaygay亚洲| 成人app网站| 欧美人与性动xxxx| 中文字幕av一区二区三区免费看| 亚洲免费在线视频| 久久99国产精品久久99| 99麻豆久久久国产精品免费优播| 欧美老肥妇做.爰bbww视频| 国产欧美日产一区| 亚洲国产精品久久一线不卡| 国产一区福利在线| 欧美色图免费看| 久久九九久精品国产免费直播| 一区二区三区四区视频精品免费| 国产在线看一区| 欧美日韩视频在线一区二区| 国产清纯白嫩初高生在线观看91| 亚洲高清在线视频| 成人黄色免费短视频| 欧美一个色资源| 亚洲欧美日韩人成在线播放| 激情偷乱视频一区二区三区| 欧美日韩一区不卡| 中文字幕一区二区5566日韩| 九色|91porny| 欧美麻豆精品久久久久久| 国产精品久久久久久久第一福利| 看国产成人h片视频| 色哟哟亚洲精品| 国产女人18毛片水真多成人如厕| 免费在线观看精品| 欧美日韩亚洲不卡| 亚洲精品老司机| 成人的网站免费观看| 精品国产乱码久久久久久浪潮 | 美女视频免费一区| 欧美性一二三区| 日韩美女精品在线| 国产成人av电影在线播放| 精品久久久影院| 日本不卡一区二区三区高清视频| 色偷偷一区二区三区| 欧美国产一区二区在线观看| 狠狠色狠狠色合久久伊人| 欧美一区午夜精品| 午夜精品影院在线观看| 91成人网在线| 亚洲人成伊人成综合网小说| 不卡一区在线观看| 国产目拍亚洲精品99久久精品| 久久丁香综合五月国产三级网站| 欧美老女人第四色| 视频一区国产视频| 欧美日本韩国一区| 日韩精品五月天| 欧美性xxxxxxxx| 亚洲一区免费观看| 欧美图片一区二区三区| 夜夜精品浪潮av一区二区三区| 99re这里只有精品视频首页| 日韩毛片精品高清免费| 不卡的av网站| 亚洲欧美一区二区三区国产精品| 99精品欧美一区| 亚洲免费观看高清完整版在线| 91婷婷韩国欧美一区二区| 亚洲少妇30p| 欧美自拍偷拍午夜视频| 一区二区理论电影在线观看| 91精品福利视频| 亚洲一卡二卡三卡四卡无卡久久| 在线观看av一区| 日韩专区中文字幕一区二区| 91精品久久久久久久久99蜜臂| 亚瑟在线精品视频| 日韩一区二区精品| 精品一区二区三区免费播放| 久久亚洲欧美国产精品乐播| 国产电影精品久久禁18| 中文字幕第一区综合| 99在线精品一区二区三区| 亚洲日本在线视频观看| 欧美最猛黑人xxxxx猛交| 五月婷婷综合激情| 精品国产一区二区三区忘忧草| 韩国成人在线视频| 国产精品国产三级国产| 欧美综合色免费| 免费成人深夜小野草| 久久久久久电影| 99re在线视频这里只有精品| 亚洲一区二区五区| 日韩精品一区二区三区中文不卡 | 精品伦理精品一区| 国产成人在线视频网站| 亚洲精品综合在线| 欧美一区二区三区四区高清| 国产一二三精品| 综合久久久久久| 欧美精品一二三| 国产一区不卡精品| 国产精品私人影院| 欧美色精品在线视频| 精品一区二区av| 中文字幕一区二区三区av| 欧美日韩一区二区三区视频| 国产在线播放一区| 亚洲激情五月婷婷| 久久一区二区三区国产精品| 一本色道久久加勒比精品| 久久精品理论片| 亚洲欧美偷拍另类a∨色屁股| 日韩一区二区免费在线电影| 97se亚洲国产综合自在线不卡| 婷婷综合另类小说色区| 国产视频不卡一区| 欧美日本在线一区| 成人丝袜高跟foot| 日韩成人一区二区| 亚洲欧美另类图片小说| 欧美人狂配大交3d怪物一区| 国产资源精品在线观看| 亚洲夂夂婷婷色拍ww47| 国产欧美日韩在线| 欧美日韩在线观看一区二区| 成人午夜视频在线| 久久精品久久综合| 亚洲第一在线综合网站| 中文字幕乱码亚洲精品一区| 欧美精品日日鲁夜夜添| 99视频热这里只有精品免费| 久久99精品国产.久久久久| 亚洲国产综合人成综合网站| 国产欧美日韩久久| 精品欧美一区二区在线观看| 日本黄色一区二区| 成人开心网精品视频| 久久99精品国产麻豆不卡| 亚洲成人1区2区| 亚洲欧美激情在线| 亚洲国产精品二十页| 日韩美女在线视频| 欧美老肥妇做.爰bbww视频| 色香蕉成人二区免费| 成人性生交大片免费看中文| 激情六月婷婷久久| 日本午夜一区二区| 亚洲第一会所有码转帖| 亚洲精品免费看| 综合激情成人伊人| 国产精品久久久久久亚洲伦| 精品国产乱码久久久久久久| 6080国产精品一区二区| 欧美视频一区二区| 色综合天天性综合| www.欧美.com| 粉嫩一区二区三区性色av| 国产老妇另类xxxxx| 精品一区二区三区视频在线观看| 日韩国产一二三区| 亚洲第一久久影院| 亚洲一卡二卡三卡四卡| 亚洲自拍偷拍图区| 亚洲综合在线视频| 亚洲女性喷水在线观看一区| 国产精品成人网| 亚洲欧美中日韩| 亚洲欧美日韩国产另类专区| 国产欧美一区二区三区鸳鸯浴 | 国产mv日韩mv欧美| 国产成人在线视频网站| 国产福利精品一区| 大白屁股一区二区视频| 国产高清不卡二三区| 粉嫩13p一区二区三区| 粉嫩欧美一区二区三区高清影视| 国产99精品国产| 成人97人人超碰人人99| 99国产精品国产精品毛片| 91麻豆精品视频| 色天使久久综合网天天| 欧美视频在线观看一区二区| 欧美欧美午夜aⅴ在线观看| 欧美老肥妇做.爰bbww视频| 欧美一级理论片| 久久综合久久鬼色中文字| 国产欧美一区二区精品忘忧草| 久久久不卡网国产精品一区| 国产亚洲精品bt天堂精选| 日本一二三不卡| 亚洲男人电影天堂| 日韩精品一级中文字幕精品视频免费观看 | 日本欧美一区二区三区|