NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rtl8029.cc File Reference

RTL8029 emulation - a ne2k compatible PCI network card. More...

#include "nul/motherboard.h"
#include "model/pci.h"
#include "model/reg.h"

Classes

class  Rtl8029
 RTL8029 device model. More...

Macros

#define REGBASE   "../model/rtl8029.cc"

Functions

 PARAM_HANDLER (rtl8029,"rtl8029:bdf,irq,ioio - attach an rtl8029 (ne2k compatible) network controller to the PCI bus","Example: 'rtl8029:,9,0x300'.","If no bdf is given a free one is used.")

Variables

unsigned char cr
unsigned short clda
unsigned char bnry
unsigned char tsr
unsigned char ncr
unsigned char fifo
unsigned char isr
unsigned short crda
unsigned short id8029
unsigned char rsr
unsigned char cntr [3]
unsigned char _cr1
unsigned char par [6]
unsigned char curr
unsigned char mar [8]
unsigned char _cr2
unsigned char pstart
unsigned char pstop
unsigned char _bnry2
unsigned char tpsr
unsigned short tbcr
unsigned char _isr2
unsigned short rsar
unsigned short rbcr
unsigned char rcr
unsigned char tcr
unsigned char dcr
unsigned char imr

Detailed Description

RTL8029 emulation - a ne2k compatible PCI network card.

Copyright (C) 2010, Bernhard Kauer bk@vm.nosp@m.mon..nosp@m.org Economic rights: Technische Universitaet Dresden (Germany)

This file is part of Vancouver.

Vancouver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Vancouver is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details.

Macro Definition Documentation

#define REGBASE   "../model/rtl8029.cc"

Function Documentation

PARAM_HANDLER ( rtl8029  ,
"rtl8029:bdf  ,
irq  ,
ioio-attach an rtl8029(ne2k compatible) network controller to the PCI bus"  ,
"Example: 'rtl8029:  ,
,
0x300'."  ,
"If no bdf is given a free one is used."   
)

Variable Documentation

unsigned char _bnry2
unsigned char _cr1
unsigned char _cr2
unsigned char _isr2
unsigned char bnry
unsigned short clda
unsigned char cntr[3]
unsigned char cr
unsigned short crda
unsigned char curr
unsigned char dcr
unsigned char fifo
unsigned short id8029
unsigned char imr
unsigned char isr
unsigned char mar[8]
unsigned char ncr
unsigned char par[6]
unsigned char pstart
unsigned char pstop
unsigned short rbcr
unsigned char rcr
unsigned short rsar
unsigned char rsr
unsigned short tbcr
unsigned char tcr
unsigned char tpsr
unsigned char tsr