/[gxemul]/trunk/src/devices/dev_ether.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/devices/dev_ether.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 31 by dpavlin, Mon Oct 8 16:19:56 2007 UTC revision 32 by dpavlin, Mon Oct 8 16:20:58 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *     *  
27   *   *
28   *  $Id: dev_ether.c,v 1.14 2006/06/15 17:29:38 debug Exp $   *  $Id: dev_ether.c,v 1.15 2006/10/07 00:36:29 debug Exp $
29   *   *
30   *  Basic "ethernet" network device. This is a simple test device which can   *  Basic "ethernet" network device. This is a simple test device which can
31   *  be used to send and receive packets to/from a simulated ethernet network.   *  be used to send and receive packets to/from a simulated ethernet network.
# Line 59  struct ether_data { Line 59  struct ether_data {
59  };  };
60    
61    
62  /*  DEVICE_TICK(ether)
  *  dev_ether_tick():  
  */  
 void dev_ether_tick(struct cpu *cpu, void *extra)  
63  {    {  
64          struct ether_data *d = (struct ether_data *) extra;          struct ether_data *d = (struct ether_data *) extra;
65          int r = 0;          int r = 0;
# Line 80  void dev_ether_tick(struct cpu *cpu, voi Line 77  void dev_ether_tick(struct cpu *cpu, voi
77  }  }
78    
79    
 /*  
  *  dev_ether_buf_access():  
  */  
80  DEVICE_ACCESS(ether_buf)  DEVICE_ACCESS(ether_buf)
81  {  {
82          struct ether_data *d = (struct ether_data *) extra;          struct ether_data *d = (struct ether_data *) extra;

Legend:
Removed from v.31  
changed lines
  Added in v.32

  ViewVC Help
Powered by ViewVC 1.1.26