PERFORCE change 109823 for review

Sam Leffler sam at FreeBSD.org
Sun Nov 12 23:51:35 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=109823

Change 109823 by sam at 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) ||


More information about the p4-projects mailing list