On 07/20/2011 08:10 PM, Joel Sherrill wrote:
From: Till Straumann <strau...@slac.stanford.edu>

Add m68k machine support for Arcturus Networks
Inc. uC5282 board.  Also include

a fix for the FEC ethernet controller.

+static void mcf5208_resetc_init(target_phys_addr_t offset)
+{
+    int iomemtype;
+
+    iomemtype = cpu_register_io_memory(m5208_resetc_readfn,
+                                       m5208_resetc_writefn, NULL,
+                                       DEVICE_NATIVE_ENDIAN);
+    cpu_register_physical_memory(offset, 0x4, iomemtype);
+}

Please use the memory api (memory.h, docs/memory.txt) rather than this.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.


Reply via email to