summaryrefslogtreecommitdiff
path: root/emulators/hercules/patches
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2013-10-24 12:20:46 +0000
committerryoon <ryoon@pkgsrc.org>2013-10-24 12:20:46 +0000
commit53fb973f8548d527d797df8cf7cd171b18339cba (patch)
treef7eba27032844029f5363cca200925b83d820aa1 /emulators/hercules/patches
parentd3579b91f103daab67d987d945305859dabe0479 (diff)
downloadpkgsrc-53fb973f8548d527d797df8cf7cd171b18339cba.tar.gz
Remove obsolete patch and regen distinfo.
checksum for tar ball is fixed.
Diffstat (limited to 'emulators/hercules/patches')
-rw-r--r--emulators/hercules/patches/patch-tapedev.h66
1 files changed, 0 insertions, 66 deletions
diff --git a/emulators/hercules/patches/patch-tapedev.h b/emulators/hercules/patches/patch-tapedev.h
deleted file mode 100644
index 1e61e28287e..00000000000
--- a/emulators/hercules/patches/patch-tapedev.h
+++ /dev/null
@@ -1,66 +0,0 @@
-$NetBSD: patch-tapedev.h,v 1.1 2011/05/01 23:28:59 ryoon Exp $
-
---- tapedev.h.orig 2010-01-08 22:56:27.000000000 +0000
-+++ tapedev.h
-@@ -535,4 +535,61 @@ extern int readhdr_omaheaders (DEVBLK *
- /*-------------------------------------------------------------------*/
- // (see SCSITAPE.H)
-
-+#if defined(BSD) && BSD >= 199306
-+/*-------------------------------------------------------------------*/
-+/* Support for BSD tape */
-+/*-------------------------------------------------------------------*/
-+struct mt_tape_info {
-+ BYTE t_type;
-+ const char *t_name;
-+};
-+
-+#define MT_TAPE_INFO \
-+{ \
-+ {MT_ISUNKNOWN, "Unknown type of tape device"}, \
-+ {MT_ISQIC02, "Generic QIC-02 tape streamer"} \
-+}
-+
-+/* Generic Mag Tape (device independent) status macros for examining
-+ * mt_gstat -- HP-UX compatible.
-+ * There is room for more generic status bits here, but I don't
-+ * know which of them are reserved. At least three or so should
-+ * be added to make this really useful.
-+ */
-+#define GMT_EOF(x) ((x) & 0x80000000)
-+#define GMT_BOT(x) ((x) & 0x40000000)
-+#define GMT_EOT(x) ((x) & 0x20000000)
-+#define GMT_SM(x) ((x) & 0x10000000) /* DDS setmark */
-+#define GMT_EOD(x) ((x) & 0x08000000) /* DDS EOD */
-+#define GMT_WR_PROT(x) ((x) & 0x04000000)
-+/* #define GMT_ ? ((x) & 0x02000000) */
-+#define GMT_ONLINE(x) ((x) & 0x01000000)
-+#define GMT_D_6250(x) ((x) & 0x00800000)
-+#define GMT_D_1600(x) ((x) & 0x00400000)
-+#define GMT_D_800(x) ((x) & 0x00200000)
-+/* #define GMT_ ? ((x) & 0x00100000) */
-+/* #define GMT_ ? ((x) & 0x00080000) */
-+#define GMT_DR_OPEN(x) ((x) & 0x00040000) /* door open (no tape) */
-+/* #define GMT_ ? ((x) & 0x00020000) */
-+#define GMT_IM_REP_EN(x) ((x) & 0x00010000) /* immediate report mode */
-+/* 16 generic status bits unused */
-+/* SCSI-tape specific definitions */
-+
-+/* Bitfield shifts in the status */
-+#define MT_ST_BLKSIZE_SHIFT 0
-+#define MT_ST_BLKSIZE_MASK 0xffffff
-+#define MT_ST_DENSITY_SHIFT 24
-+#define MT_ST_DENSITY_MASK 0xff000000
-+
-+#define MTSETBLK 20 /* set block length (SCSI) */
-+
-+#define MT_ISUNKNOWN 0x01
-+#define MT_ISQIC02 0x02
-+
-+#define MTIOCPOS MTNOP /* do nothing, status only */
-+#define mtpos mtget /* generic status struct, including mt_blkno */
-+#define MTSEEK MTFSR /* forward seek record; probably wrong */
-+
-+#endif /* BSD */
-+
- #endif // __TAPEDEV_H__