The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/drivers/dp8390/ne2000.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*
    2 ne2000.h
    3 
    4 Created:        March 15, 1994 by Philip Homburg <philip@f-mnx.phicoh.com>
    5 */
    6 
    7 #ifndef NE2000_H
    8 #define NE2000_H
    9 
   10 #define NE_DP8390       0x00
   11 #define NE_DATA         0x10
   12 #define NE_RESET        0x1F
   13 
   14 #define NE1000_START    0x2000
   15 #define NE1000_SIZE     0x2000
   16 #define NE2000_START    0x4000
   17 #define NE2000_SIZE     0x4000
   18 
   19 #define inb_ne(dep, reg)        (inb(dep->de_base_port+reg))
   20 #define outb_ne(dep, reg, data) (outb(dep->de_base_port+reg, data))
   21 #define inw_ne(dep, reg)        (inw(dep->de_base_port+reg))
   22 #define outw_ne(dep, reg, data) (outw(dep->de_base_port+reg, data))
   23 
   24 #endif /* NE2000_H */
   25 
   26 /*
   27  * $PchId: ne2000.h,v 1.4 2004/08/03 12:03:20 philip Exp $
   28  */

Cache object: ca4dbcf31f7070d20f1d62d568a2190a


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.