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/dpeth/ne.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 **  File:       ne.h
    3 **   
    4 **  Created:    March 15, 1994 by Philip Homburg <philip@cs.vu.nl>
    5 **  $PchId: ne2000.h,v 1.2 1995/12/22 08:42:31 philip Exp $
    6 **
    7 **  $Log: ne.h,v $
    8 **  Revision 1.1  2005/06/29 10:16:46  beng
    9 **  Import of dpeth 3c501/3c509b/.. ethernet driver by
   10 **  Giovanni Falzoni <fgalzoni@inwind.it>.
   11 **
   12 **  Revision 2.0  2005/06/26 16:16:46  lsodgf0
   13 **  Initial revision for Minix 3.0.6
   14 **
   15 **  $Id: ne.h,v 1.1 2005/06/29 10:16:46 beng Exp $
   16 */
   17 
   18 #ifndef NE2000_H
   19 #define NE2000_H
   20 
   21 #define NE_DP8390       0x00
   22 #define NE_DATA         0x10
   23 #define NE_RESET        0x1F
   24 
   25 #define NE1000_START    0x2000
   26 #define NE1000_SIZE     0x2000
   27 #define NE2000_START    0x4000
   28 #define NE2000_SIZE     0x4000
   29 
   30 #define inb_ne(dep, reg) (inb(dep->de_base_port+reg))
   31 #define outb_ne(dep, reg, data) (outb(dep->de_base_port+reg, data))
   32 #define inw_ne(dep, reg) (inw(dep->de_base_port+reg))
   33 #define outw_ne(dep, reg, data) (outw(dep->de_base_port+reg, data))
   34 
   35 #endif                          /* NE2000_H */
   36 
   37 /** ne.h **/

Cache object: 87525884446d079b826bdaf53594ea88


[ 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.