Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/sys/arch/amiga/dev Pull up following revision(s) (request...



details:   https://anonhg.NetBSD.org/src/rev/2f90e7b93a43
branches:  netbsd-8
changeset: 745642:2f90e7b93a43
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Mar 08 10:00:24 2020 +0000

description:
Pull up following revision(s) (requested by is in ticket #1517):

        sys/arch/amiga/dev/gayle_pcmcia.c: revision 1.32

The Gayle interface uses swapped (little-endian) word accesses, so we
need to use the amiga_bus_stride_1swap methods for the word accesses.

Analyzed and submitted via port-amiga@ by Martin ?berg.

Tested on formerly working hardware
- by Jukka Andberg      with Dlink DE-660+              (ne)
- by Frank Wille        with D-Link DFE-670TXD          (ne)

Tested on formerly not working hardware:
- by Martin             with 3Com 3c589 Etherling III   (ep)
- by Martin and Frank   with CompactFlash cards         (wdc)

diffstat:

 sys/arch/amiga/dev/gayle_pcmcia.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 18d407d7ba4c -r 2f90e7b93a43 sys/arch/amiga/dev/gayle_pcmcia.c
--- a/sys/arch/amiga/dev/gayle_pcmcia.c Sun Mar 08 09:57:50 2020 +0000
+++ b/sys/arch/amiga/dev/gayle_pcmcia.c Sun Mar 08 10:00:24 2020 +0000
@@ -1,9 +1,9 @@
-/*     $NetBSD: gayle_pcmcia.c,v 1.31 2015/02/08 09:55:25 jandberg Exp $ */
+/*     $NetBSD: gayle_pcmcia.c,v 1.31.10.1 2020/03/08 10:00:24 martin Exp $ */
 
 /* public domain */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gayle_pcmcia.c,v 1.31 2015/02/08 09:55:25 jandberg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gayle_pcmcia.c,v 1.31.10.1 2020/03/08 10:00:24 martin Exp $");
 
 /* PCMCIA front-end driver for A1200's and A600's. */
 
@@ -131,7 +131,7 @@
        pmap_update(vm_map_pmap(kernel_map));
 
        /* override the one-byte access methods for I/O space */
-       pcmio_bs_methods = amiga_bus_stride_1;
+       pcmio_bs_methods = amiga_bus_stride_1swap;
        pcmio_bs_methods.bsr1 = pcmio_bsr1;
        pcmio_bs_methods.bsw1 = pcmio_bsw1;
        pcmio_bs_methods.bsrm1 = pcmio_bsrm1;



Home | Main Index | Thread Index | Old Index