hdparm: removed legacy versions 6.3 and 6.6
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Tue, 26 Oct 2010 12:07:03 +0000 (14:07 +0200)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Tue, 26 Oct 2010 12:08:50 +0000 (14:08 +0200)
we still have 6.9 and 9.35

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
recipes/hdparm/hdparm-6.3/bswap.patch [deleted file]
recipes/hdparm/hdparm-6.6/bswap.patch [deleted file]
recipes/hdparm/hdparm_6.3.bb [deleted file]
recipes/hdparm/hdparm_6.6.bb [deleted file]

diff --git a/recipes/hdparm/hdparm-6.3/bswap.patch b/recipes/hdparm/hdparm-6.3/bswap.patch
deleted file mode 100644 (file)
index 37fbcb7..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- hdparm-5.8/hdparm.c~bswap
-+++ hdparm-5.8/hdparm.c
-@@ -20,7 +20,9 @@
- #include <linux/types.h>
- #include <linux/hdreg.h>
- #include <linux/major.h>
--#include <asm/byteorder.h>
-+#include <byteswap.h>
-+
-+#define le16_to_cpus(x) bswap_16(htons(x))
- #include "hdparm.h"
-@@ -1160,7 +1162,7 @@
-                       }
-               } else {
-                       for(i = 0; i < 0x100; ++i) {
--                              __le16_to_cpus(&id[i]);
-+                              le16_to_cpus(&id[i]);
-                       }
-                       identify((void *)id, NULL);
-               }
-@@ -1380,7 +1382,7 @@
-       }
-       for (i = 0; count >= 4; ++i) {
-               sbuf[i] = (fromhex(b[0]) << 12) | (fromhex(b[1]) << 8) | (fromhex(b[2]) << 4) | fromhex(b[3]);
--              __le16_to_cpus((__u16 *)(&sbuf[i]));
-+              le16_to_cpus((__u16 *)(&sbuf[i]));
-               b += 5;
-               count -= 5;
-       }
diff --git a/recipes/hdparm/hdparm-6.6/bswap.patch b/recipes/hdparm/hdparm-6.6/bswap.patch
deleted file mode 100644 (file)
index 6b0506c..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- hdparm-5.8/hdparm.c~bswap
-+++ hdparm-5.8/hdparm.c
-@@ -20,8 +20,9 @@
- #include <linux/types.h>
- #include <linux/hdreg.h>
- #include <linux/major.h>
--#include <asm/byteorder.h>
--//#include <endian.h>
-+#include <byteswap.h>
-+
-+#define le16_to_cpus(x) bswap_16(htons(x))
- #include "hdparm.h"
-@@ -1160,7 +1162,7 @@
-                       }
-               } else {
-                       for(i = 0; i < 0x100; ++i) {
--                              __le16_to_cpus(&id[i]);
-+                              le16_to_cpus(&id[i]);
-                       }
-                       identify((void *)id, NULL);
-               }
-@@ -1380,7 +1382,7 @@
-       }
-       for (i = 0; count >= 4; ++i) {
-               sbuf[i] = (fromhex(b[0]) << 12) | (fromhex(b[1]) << 8) | (fromhex(b[2]) << 4) | fromhex(b[3]);
--              __le16_to_cpus((__u16 *)(&sbuf[i]));
-+              le16_to_cpus((__u16 *)(&sbuf[i]));
-               b += 5;
-               count -= 5;
-       }
diff --git a/recipes/hdparm/hdparm_6.3.bb b/recipes/hdparm/hdparm_6.3.bb
deleted file mode 100644 (file)
index b6d3de6..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-DESCRIPTION = "hdparm is a Linux shell utility for viewing \
-and manipulating various IDE drive and driver parameters."
-SECTION = "console/utils"
-PRIORITY = "optional"
-LICENSE = "BSD"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/hdparm/hdparm-${PV}.tar.gz \
-          file://bswap.patch \
-          file://uclibc.patch"
-
-do_install () {
-       install -d ${D}/${sbindir} ${D}/${mandir}/man8
-       oe_runmake 'DESTDIR=${D}' install
-}
-
-SRC_URI[md5sum] = "0c12672f3a09c14ad0b0882f15fc9389"
-SRC_URI[sha256sum] = "08688a6a46ba495494bf838f8f26103e797584c1888eca94e43a171e1b37246d"
diff --git a/recipes/hdparm/hdparm_6.6.bb b/recipes/hdparm/hdparm_6.6.bb
deleted file mode 100644 (file)
index 8cc9294..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-DESCRIPTION = "hdparm is a Linux shell utility for viewing \
-and manipulating various IDE drive and driver parameters."
-SECTION = "console/utils"
-PRIORITY = "optional"
-LICENSE = "BSD"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/hdparm/hdparm-${PV}.tar.gz \
-          file://bswap.patch \
-          file://uclibc.patch"
-
-do_install () {
-       install -d ${D}/${sbindir} ${D}/${mandir}/man8
-       oe_runmake 'DESTDIR=${D}' install
-}
-
-SRC_URI[md5sum] = "ecea69f775396e4ab6112dcf9066239f"
-SRC_URI[sha256sum] = "7e2db39a4e1f41bb327a9a8ef9e5e8359aaed0cc78e642a4ca67659629e3048b"