diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-10-26 14:07:03 +0200 |
---|---|---|
committer | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-10-26 14:08:50 +0200 |
commit | b678eb611e1e9d6be42c2097d5b61cbb4fb939a1 (patch) | |
tree | 1c562675061ae08bcb3fa97afdbd4c5a0d59d88d /recipes/hdparm | |
parent | 4d2cb79dcecd056742f411a328f9f1f1113bf689 (diff) | |
download | openembedded-b678eb611e1e9d6be42c2097d5b61cbb4fb939a1.tar.gz |
hdparm: removed legacy versions 6.3 and 6.6
we still have 6.9 and 9.35
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/hdparm')
-rw-r--r-- | recipes/hdparm/hdparm-6.3/bswap.patch | 36 | ||||
-rw-r--r-- | recipes/hdparm/hdparm-6.6/bswap.patch | 37 | ||||
-rw-r--r-- | recipes/hdparm/hdparm_6.3.bb | 17 | ||||
-rw-r--r-- | recipes/hdparm/hdparm_6.6.bb | 17 |
4 files changed, 0 insertions, 107 deletions
diff --git a/recipes/hdparm/hdparm-6.3/bswap.patch b/recipes/hdparm/hdparm-6.3/bswap.patch deleted file mode 100644 index 37fbcb7b38..0000000000 --- a/recipes/hdparm/hdparm-6.3/bswap.patch +++ /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 index 6b0506ceb5..0000000000 --- a/recipes/hdparm/hdparm-6.6/bswap.patch +++ /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 index b6d3de662d..0000000000 --- a/recipes/hdparm/hdparm_6.3.bb +++ /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 index 8cc9294e00..0000000000 --- a/recipes/hdparm/hdparm_6.6.bb +++ /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" |