pkgsrc/net/nasd/patches/patch-bq
agc 4b619e493a Initial import of nasd-1.3, a prototype storage implementation, from CMU.
The original tar file has trailing base64 checksums, so I have
repackaged the tar file for just now.

	This is release 1.3 of the Parallel Data Laboratory NASD
	software prototype.  The release includes the NASD drive
	prototype, the NASD-NFS filemanager, simple client APIs, a
	regression-testing suite, sample programs, a snapshot of
	Cheops (which is one implementation of aggregation over
	multiple NASDs), and some basic documentation.
2005-05-04 08:56:49 +00:00

55 lines
1.8 KiB
Text

$NetBSD: patch-bq,v 1.1.1.1 2005/05/04 08:56:50 agc Exp $
Index: include/nasd/netbsd/nasd_netbsd_sys.h
===================================================================
RCS file: include/nasd/netbsd/nasd_netbsd_sys.h
diff -N include/nasd/netbsd/nasd_netbsd_sys.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ include/nasd/netbsd/nasd_netbsd_sys.h 21 Mar 2005 17:07:29 -0000 1.2
@@ -0,0 +1,46 @@
+/*
+ * nasd_netbsd_sys.h
+ *
+ * NetBSD-specific defines for system interface
+ *
+ * Author: Jim Zelenka
+ */
+/*
+ * Copyright (c) of Carnegie Mellon University, 1999.
+ *
+ * Permission to reproduce, use, and prepare derivative works of
+ * this software for internal use is granted provided the copyright
+ * and "No Warranty" statements are included with all reproductions
+ * and derivative works. This software may also be redistributed
+ * without charge provided that the copyright and "No Warranty"
+ * statements are included in all redistributions.
+ *
+ * NO WARRANTY. THIS SOFTWARE IS FURNISHED ON AN "AS IS" BASIS.
+ * CARNEGIE MELLON UNIVERSITY MAKES NO WARRANTIES OF ANY KIND, EITHER
+ * EXPRESSED OR IMPLIED AS TO THE MATTER INCLUDING, BUT NOT LIMITED
+ * TO: WARRANTY OF FITNESS FOR PURPOSE OR MERCHANTABILITY, EXCLUSIVITY
+ * OF RESULTS OR RESULTS OBTAINED FROM USE OF THIS SOFTWARE. CARNEGIE
+ * MELLON UNIVERSITY DOES NOT MAKE ANY WARRANTY OF ANY KIND WITH RESPECT
+ * TO FREEDOM FROM PATENT, TRADEMARK, OR COPYRIGHT INFRINGEMENT.
+ */
+
+
+#ifndef _NASD__NASD_NETBSD_SYS_H_
+#define _NASD__NASD_NETBSD_SYS_H_
+
+#ifndef KERNEL
+#include <sys/errno.h>
+#include <sys/ioctl.h>
+#include <sys/param.h>
+#endif /* !KERNEL */
+
+typedef nasd_uint64 nasd_sys_dev_t;
+
+#define NASD_MAX_IOCTL_SIZE ((1<<_IOC_SIZEBITS)-1)
+
+#endif /* !_NASD__NASD_NETBSD_SYS_H_ */
+
+/* Local Variables: */
+/* indent-tabs-mode: nil */
+/* tab-width: 2 */
+/* End: */