ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/AmigaOS/ether_amiga.cpp
(Generate patch)

Comparing BasiliskII/src/AmigaOS/ether_amiga.cpp (file contents):
Revision 1.11 by cebix, 2002-01-15T14:58:34Z vs.
Revision 1.13 by gbeauche, 2008-01-01T09:40:31Z

# Line 1 | Line 1
1   /*
2   *  ether_amiga.cpp - Ethernet device driver, AmigaOS specific stuff
3   *
4 < *  Basilisk II (C) 1997-2002 Christian Bauer
4 > *  Basilisk II (C) 1997-2008 Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 25 | Line 25
25   #include <dos/dosextens.h>
26   #include <dos/dostags.h>
27   #include <devices/sana2.h>
28 + #define __USE_SYSBASE
29   #include <proto/exec.h>
30   #include <proto/dos.h>
31 + #include <inline/exec.h>
32 + #include <inline/dos.h>
33 + #include <clib/alib_protos.h>
34  
35   #include "sysdeps.h"
36   #include "cpu_emulation.h"
# Line 420 | Line 424 | static __saveds void net_func(void)
424  
425          // Open device
426          control_io->ios2_BufferManagement = buffer_tags;
427 <        od_error = OpenDevice((UBYTE *)dev_name, dev_unit, (struct IORequest *)control_io, 0);
427 >        od_error = OpenDevice((UBYTE *) dev_name, dev_unit, (struct IORequest *)control_io, 0);
428          if (od_error != 0 || control_io->ios2_Req.io_Device == 0) {
429                  printf("WARNING: OpenDevice(<%s>, unit=%d) returned error %d)\n", (UBYTE *)dev_name, dev_unit, od_error);
430                  goto quit;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines