Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/sys/arch/amiga/dev Pull up following revision(s) (request...
details: https://anonhg.NetBSD.org/src/rev/31566529ef65
branches: netbsd-7
changeset: 745634:31566529ef65
user: martin <martin%NetBSD.org@localhost>
date: Sun Mar 08 09:18:34 2020 +0000
description:
Pull up following revision(s) (requested by is in ticket #1724):
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 f0b9fcad1539 -r 31566529ef65 sys/arch/amiga/dev/gayle_pcmcia.c
--- a/sys/arch/amiga/dev/gayle_pcmcia.c Sun Mar 08 09:15:34 2020 +0000
+++ b/sys/arch/amiga/dev/gayle_pcmcia.c Sun Mar 08 09:18:34 2020 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: gayle_pcmcia.c,v 1.29.4.2 2015/02/16 12:48:32 martin Exp $ */
+/* $NetBSD: gayle_pcmcia.c,v 1.29.4.3 2020/03/08 09:18:34 martin Exp $ */
/* public domain */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gayle_pcmcia.c,v 1.29.4.2 2015/02/16 12:48:32 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gayle_pcmcia.c,v 1.29.4.3 2020/03/08 09:18:34 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