Module Name: src
Committed By: riastradh
Date: Wed Jul 24 02:12:29 UTC 2013
Modified Files:
src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: types.h
Log Message:
Add __le16, __le32, and __le64 to <linux/types.h>.
As far as I'm aware, these aliases are correct, and the type doesn't
actually have any effect on the byte order of reads and writes.
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 \
src/sys/external/bsd/drm2/include/linux/types.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/include/linux/types.h
diff -u src/sys/external/bsd/drm2/include/linux/types.h:1.1.2.5 src/sys/external/bsd/drm2/include/linux/types.h:1.1.2.6
--- src/sys/external/bsd/drm2/include/linux/types.h:1.1.2.5 Wed Jul 24 01:54:19 2013
+++ src/sys/external/bsd/drm2/include/linux/types.h Wed Jul 24 02:12:29 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.1.2.5 2013/07/24 01:54:19 riastradh Exp $ */
+/* $NetBSD: types.h,v 1.1.2.6 2013/07/24 02:12:29 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -39,11 +39,16 @@ typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;
+
typedef int8_t s8;
typedef int16_t s16;
typedef int32_t s32;
typedef int64_t s64;
+typedef uint16_t __le16;
+typedef uint32_t __le32;
+typedef uint64_t __le64;
+
typedef bus_size_t resource_size_t;
/* XXX Is this the right type? */