Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amiga/dev The Gayle interface uses swapped (little-...
details: https://anonhg.NetBSD.org/src/rev/4a7dc7c5ca59
branches: trunk
changeset: 969826:4a7dc7c5ca59
user: is <is%NetBSD.org@localhost>
date: Mon Mar 02 19:48:23 2020 +0000
description:
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 ad80a15ab935 -r 4a7dc7c5ca59 sys/arch/amiga/dev/gayle_pcmcia.c
--- a/sys/arch/amiga/dev/gayle_pcmcia.c Mon Mar 02 19:16:02 2020 +0000
+++ b/sys/arch/amiga/dev/gayle_pcmcia.c Mon Mar 02 19:48:23 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.32 2020/03/02 19:48:23 is 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.32 2020/03/02 19:48:23 is 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