etherdevice.hh (13767:85278a98657c) | etherdevice.hh (13784:1941dc118243) |
---|---|
1/* 2 * Copyright (c) 2007 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 23 unchanged lines hidden (view full) --- 32 * @file 33 * Base Ethernet Device declaration. 34 */ 35 36#ifndef __DEV_NET_ETHERDEVICE_HH__ 37#define __DEV_NET_ETHERDEVICE_HH__ 38 39#include "base/statistics.hh" | 1/* 2 * Copyright (c) 2007 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 23 unchanged lines hidden (view full) --- 32 * @file 33 * Base Ethernet Device declaration. 34 */ 35 36#ifndef __DEV_NET_ETHERDEVICE_HH__ 37#define __DEV_NET_ETHERDEVICE_HH__ 38 39#include "base/statistics.hh" |
40#include "dev/net/etherobject.hh" | |
41#include "dev/pci/device.hh" 42#include "params/EtherDevBase.hh" 43#include "params/EtherDevice.hh" 44#include "sim/sim_object.hh" 45 46class EtherInt; 47 | 40#include "dev/pci/device.hh" 41#include "params/EtherDevBase.hh" 42#include "params/EtherDevice.hh" 43#include "sim/sim_object.hh" 44 45class EtherInt; 46 |
48class EtherDevice : public PciDevice, public EtherObject | 47class EtherDevice : public PciDevice |
49{ 50 public: 51 typedef EtherDeviceParams Params; 52 EtherDevice(const Params *params) 53 : PciDevice(params) 54 {} 55 56 const Params * --- 87 unchanged lines hidden --- | 48{ 49 public: 50 typedef EtherDeviceParams Params; 51 EtherDevice(const Params *params) 52 : PciDevice(params) 53 {} 54 55 const Params * --- 87 unchanged lines hidden --- |