From patchwork Thu Oct 15 07:38:33 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JosephChan@via.com.tw X-Patchwork-Id: 36076 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id ADEFBB7334 for ; Thu, 15 Oct 2009 18:44:16 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757212AbZJOHjM (ORCPT ); Thu, 15 Oct 2009 03:39:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933062AbZJOHjM (ORCPT ); Thu, 15 Oct 2009 03:39:12 -0400 Received: from exchtp08.via.com.tw ([61.66.243.7]:2254 "EHLO exchtp08.via.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756419AbZJOHjL convert rfc822-to-8bit (ORCPT ); Thu, 15 Oct 2009 03:39:11 -0400 Received: from exchtp03.taipei.via.com.tw ([192.168.254.205]) by exchtp08.via.com.tw with Microsoft SMTPSVC(6.0.3790.3959); Thu, 15 Oct 2009 15:38:33 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: [patch 1/1] pata_via.c : extend the rev_max for VT6430 Date: Thu, 15 Oct 2009 15:38:33 +0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [patch 1/1] pata_via.c : extend the rev_max for VT6430 Thread-Index: AcpNan9gx/Jco3feSYusd1tehAnElA== From: To: Cc: , , , X-OriginalArrivalTime: 15 Oct 2009 07:38:33.0899 (UTC) FILETIME=[7FC54FB0:01CA4D6A] Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org Fix the VT6430 issue, it's because the rev_max of VT6430 exceeds 0x2f. The VT6415 and VT6430 share the same device ID. Signed-off-by: Joseph Chan --- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/ata/pata_via.c 2009-10-15 23:12:49.000000000 +0800 +++ b/drivers/ata/pata_via.c 2009-10-15 23:12:57.000000000 +0800 @@ -111,7 +111,7 @@ { "vt8251", PCI_DEVICE_ID_VIA_8251, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, { "cx700", PCI_DEVICE_ID_VIA_CX700, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST | VIA_SATA_PATA }, { "vt6410", PCI_DEVICE_ID_VIA_6410, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST | VIA_NO_ENABLES }, - { "vt6415", PCI_DEVICE_ID_VIA_6415, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST | VIA_NO_ENABLES }, + { "vt6415", PCI_DEVICE_ID_VIA_6415, 0x00, 0xff, VIA_UDMA_133 | VIA_BAD_AST | VIA_NO_ENABLES }, { "vt8237a", PCI_DEVICE_ID_VIA_8237A, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, { "vt8237", PCI_DEVICE_ID_VIA_8237, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, { "vt8235", PCI_DEVICE_ID_VIA_8235, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },