Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Nov 2006 23:51:29 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 109823 for review
Message-ID:  <200611122351.kACNpT2Y032322@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=109823

Change 109823 by sam@sam_ebb on 2006/11/12 23:51:11

	disable IDENTIFY byte swapping until we can resolve how best
	to handle this on big-endian machines where bus_space ops
	return data in host byte order

Affected files ...

.. //depot/projects/arm/src/sys/dev/ata/ata-all.c#13 edit

Differences ...

==== //depot/projects/arm/src/sys/dev/ata/ata-all.c#13 (text+ko) ====

@@ -601,6 +601,8 @@
 		   isprint(atadev->param.model[1]))) {
 	struct ata_params *atacap = &atadev->param;
 	char buffer[64];
+#if 0
+/* XXX not right on xscale; ditch for now */
 #if BYTE_ORDER == BIG_ENDIAN
 	int16_t *ptr;
 
@@ -609,6 +611,7 @@
 	    *ptr = bswap16(*ptr);
 	}
 #endif
+#endif
 	if (!(!strncmp(atacap->model, "FX", 2) ||
 	      !strncmp(atacap->model, "NEC", 3) ||
 	      !strncmp(atacap->model, "Pioneer", 7) ||



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611122351.kACNpT2Y032322>