Merge commit 'upstream/0.16'
Conflicts:
atasmart.c
Michael Biebl
14 years ago
2473 | 2473 | goto finish; |
2474 | 2474 | } |
2475 | 2475 | |
2476 | if ((vid == 0x152d && (pid == 0x2329 || pid == 0x2338 || pid == 0x2339))) { | |
2476 | if ((vid == 0x152d && pid == 0x2329) || | |
2477 | (vid == 0x152d && pid == 0x2338) || | |
2478 | (vid == 0x152d && pid == 0x2339)) | |
2477 | 2479 | /* Some JMicron bridges seem to choke on SMART |
2478 | 2480 | * commands, so let's explicitly black list |
2479 | 2481 | * them here. |
2480 | 2482 | * |
2481 | * https://bugzilla.redhat.com/show_bug.cgi?id=515881 */ | |
2483 | * https://bugzilla.redhat.com/show_bug.cgi?id=515881 | |
2484 | * | |
2485 | * At least some of the JMicron bridges with | |
2486 | * these vids/pids choke on the jmicron access | |
2487 | * mode. To make sure we don't break things | |
2488 | * for people we now disable this by | |
2489 | * default.*/ | |
2482 | 2490 | d->type = SK_DISK_TYPE_NONE; |
2483 | } else if ((vid == 0x0c0b && pid == 0xb159) || | |
2491 | else if ((vid == 0x152d && pid == 0x2336)) | |
2492 | /* This JMicron bridge seems to always work | |
2493 | * with SMART commands send with the jmicron | |
2494 | * access mode. */ | |
2495 | d->type = SK_DISK_TYPE_JMICRON; | |
2496 | else if ((vid == 0x0c0b && pid == 0xb159) || | |
2484 | 2497 | (vid == 0x04fc && pid == 0x0c25) || |
2485 | 2498 | (vid == 0x04fc && pid == 0x0c15)) |
2486 | 2499 | d->type = SK_DISK_TYPE_SUNPLUS; |
2487 | else if ((vid == 0x152d && pid == 0x2336) || | |
2488 | (vid == 0x152d && pid == 0x2338) || | |
2489 | (vid == 0x152d && pid == 0x2339)) | |
2490 | d->type = SK_DISK_TYPE_JMICRON; | |
2491 | 2500 | else |
2492 | 2501 | d->type = SK_DISK_TYPE_ATA_PASSTHROUGH_12; |
2493 | 2502 |
2599 | 2599 | goto finish; |
2600 | 2600 | } |
2601 | 2601 | |
2602 | if ((vid == 0x152d && pid == 0x2329)) { | |
2602 | if ((vid == 0x152d && pid == 0x2329) || | |
2603 | (vid == 0x152d && pid == 0x2338) || | |
2604 | (vid == 0x152d && pid == 0x2339)) | |
2603 | 2605 | /* Some JMicron bridges seem to choke on SMART |
2604 | 2606 | * commands, so let's explicitly black list |
2605 | 2607 | * them here. |
2606 | 2608 | * |
2607 | * https://bugzilla.redhat.com/show_bug.cgi?id=515881 */ | |
2609 | * https://bugzilla.redhat.com/show_bug.cgi?id=515881 | |
2610 | * | |
2611 | * At least some of the JMicron bridges with | |
2612 | * these vids/pids choke on the jmicron access | |
2613 | * mode. To make sure we don't break things | |
2614 | * for people we now disable this by | |
2615 | * default.*/ | |
2608 | 2616 | d->type = SK_DISK_TYPE_NONE; |
2609 | } else if ((vid == 0x0c0b && pid == 0xb159) || | |
2617 | else if ((vid == 0x152d && pid == 0x2336)) | |
2618 | /* This JMicron bridge seems to always work | |
2619 | * with SMART commands send with the jmicron | |
2620 | * access mode. */ | |
2621 | d->type = SK_DISK_TYPE_JMICRON; | |
2622 | else if ((vid == 0x0c0b && pid == 0xb159) || | |
2610 | 2623 | (vid == 0x04fc && pid == 0x0c25) || |
2611 | 2624 | (vid == 0x04fc && pid == 0x0c15)) |
2612 | 2625 | d->type = SK_DISK_TYPE_SUNPLUS; |
2613 | else if ((vid == 0x152d && pid == 0x2336) || | |
2614 | (vid == 0x152d && pid == 0x2338) || | |
2615 | (vid == 0x152d && pid == 0x2339)) | |
2616 | d->type = SK_DISK_TYPE_JMICRON; | |
2617 | 2626 | else |
2618 | 2627 | d->type = SK_DISK_TYPE_ATA_PASSTHROUGH_12; |
2619 | 2628 |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.63 for libatasmart 0.15. | |
2 | # Generated by GNU Autoconf 2.63 for libatasmart 0.16. | |
3 | 3 | # |
4 | 4 | # Report bugs to <mzyvongnfzneg (at) 0pointer (dot) net>. |
5 | 5 | # |
744 | 744 | # Identity of this package. |
745 | 745 | PACKAGE_NAME='libatasmart' |
746 | 746 | PACKAGE_TARNAME='libatasmart' |
747 | PACKAGE_VERSION='0.15' | |
748 | PACKAGE_STRING='libatasmart 0.15' | |
747 | PACKAGE_VERSION='0.16' | |
748 | PACKAGE_STRING='libatasmart 0.16' | |
749 | 749 | PACKAGE_BUGREPORT='mzyvongnfzneg (at) 0pointer (dot) net' |
750 | 750 | |
751 | 751 | ac_unique_file="atasmart.c" |
1488 | 1488 | # Omit some internal or obsolete options to make the list less imposing. |
1489 | 1489 | # This message is too long to be a string in the A/UX 3.1 sh. |
1490 | 1490 | cat <<_ACEOF |
1491 | \`configure' configures libatasmart 0.15 to adapt to many kinds of systems. | |
1491 | \`configure' configures libatasmart 0.16 to adapt to many kinds of systems. | |
1492 | 1492 | |
1493 | 1493 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1494 | 1494 | |
1558 | 1558 | |
1559 | 1559 | if test -n "$ac_init_help"; then |
1560 | 1560 | case $ac_init_help in |
1561 | short | recursive ) echo "Configuration of libatasmart 0.15:";; | |
1561 | short | recursive ) echo "Configuration of libatasmart 0.16:";; | |
1562 | 1562 | esac |
1563 | 1563 | cat <<\_ACEOF |
1564 | 1564 | |
1668 | 1668 | test -n "$ac_init_help" && exit $ac_status |
1669 | 1669 | if $ac_init_version; then |
1670 | 1670 | cat <<\_ACEOF |
1671 | libatasmart configure 0.15 | |
1671 | libatasmart configure 0.16 | |
1672 | 1672 | generated by GNU Autoconf 2.63 |
1673 | 1673 | |
1674 | 1674 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1682 | 1682 | This file contains any messages produced by compilers while |
1683 | 1683 | running configure, to aid debugging if configure makes a mistake. |
1684 | 1684 | |
1685 | It was created by libatasmart $as_me 0.15, which was | |
1685 | It was created by libatasmart $as_me 0.16, which was | |
1686 | 1686 | generated by GNU Autoconf 2.63. Invocation command line was |
1687 | 1687 | |
1688 | 1688 | $ $0 $@ |
2548 | 2548 | |
2549 | 2549 | # Define the identity of the package. |
2550 | 2550 | PACKAGE='libatasmart' |
2551 | VERSION='0.15' | |
2551 | VERSION='0.16' | |
2552 | 2552 | |
2553 | 2553 | |
2554 | 2554 | cat >>confdefs.h <<_ACEOF |
2673 | 2673 | PACKAGE_URL=http://git.0pointer.de/?p=libatasmart.git |
2674 | 2674 | |
2675 | 2675 | |
2676 | LIBATASMART_VERSION_INFO=4:1:0 | |
2676 | LIBATASMART_VERSION_INFO=4:2:0 | |
2677 | 2677 | |
2678 | 2678 | |
2679 | 2679 | # Make sure we can run config.sub. |
18562 | 18562 | # report actual input values of CONFIG_FILES etc. instead of their |
18563 | 18563 | # values after options handling. |
18564 | 18564 | ac_log=" |
18565 | This file was extended by libatasmart $as_me 0.15, which was | |
18565 | This file was extended by libatasmart $as_me 0.16, which was | |
18566 | 18566 | generated by GNU Autoconf 2.63. Invocation command line was |
18567 | 18567 | |
18568 | 18568 | CONFIG_FILES = $CONFIG_FILES |
18625 | 18625 | _ACEOF |
18626 | 18626 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
18627 | 18627 | ac_cs_version="\\ |
18628 | libatasmart config.status 0.15 | |
18628 | libatasmart config.status 0.16 | |
18629 | 18629 | configured by $0, generated by GNU Autoconf 2.63, |
18630 | 18630 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
18631 | 18631 |
20 | 20 | |
21 | 21 | AC_PREREQ(2.63) |
22 | 22 | |
23 | AC_INIT([libatasmart], 0.15, [mzyvongnfzneg (at) 0pointer (dot) net]) | |
23 | AC_INIT([libatasmart], 0.16, [mzyvongnfzneg (at) 0pointer (dot) net]) | |
24 | 24 | AC_CONFIG_SRCDIR([atasmart.c]) |
25 | 25 | AC_CONFIG_HEADERS([config.h]) |
26 | 26 | AC_CONFIG_MACRO_DIR(m4) |
29 | 29 | |
30 | 30 | AC_SUBST(PACKAGE_URL, [http://git.0pointer.de/?p=libatasmart.git]) |
31 | 31 | |
32 | AC_SUBST(LIBATASMART_VERSION_INFO, [4:1:0]) | |
32 | AC_SUBST(LIBATASMART_VERSION_INFO, [4:2:0]) | |
33 | 33 | |
34 | 34 | AC_CANONICAL_HOST |
35 | 35 |