From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965135AbWEOShb (ORCPT ); Mon, 15 May 2006 14:37:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965149AbWEOShb (ORCPT ); Mon, 15 May 2006 14:37:31 -0400 Received: from smtpout07-01.prod.mesa1.secureserver.net ([64.202.165.230]:6091 "HELO smtpout07-04.prod.mesa1.secureserver.net") by vger.kernel.org with SMTP id S965135AbWEOSh3 (ORCPT ); Mon, 15 May 2006 14:37:29 -0400 Message-ID: <4468CA67.4060309@seclark.us> Date: Mon, 15 May 2006 14:37:27 -0400 From: Stephen Clark Reply-To: Stephen.Clark@seclark.us User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alan Cox CC: linux-kernel , B.Zolnierkiewicz@elka.pw.edu.pl Subject: Re: how to set this in the future References: <4466437C.1070306@seclark.us> <1147702848.26686.29.camel@localhost.localdomain> <4468B3E5.5090209@seclark.us> <1147713822.26686.83.camel@localhost.localdomain> In-Reply-To: <1147713822.26686.83.camel@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Alan Cox wrote: >On Llu, 2006-05-15 at 13:01 -0400, Stephen Clark wrote: > > >>I have a hp pavilion laptop n5430 with an ali chipset. I have a hitachi >>drive that will do udma100 - the docs on my laptop say it will do udma4 >>but linux by default is setting it to >>udma2. >> >> > >Sounds like the laptop vendor has used short 40 wire cable instead of 80 >wire internally to the laptop. This is valid but requires special >knowledge in the driver of those devices who do it. > > > >>00:0f.0 IDE interface: ALi Corporation M5229 IDE (rev c3) (prog-if 8a >> >> > >Can you give me an lspci -vvxxx of that device (or from the box), and >also the output of "dmidecode". That way I can automate the detection in >the new libata pata_ali driver, and if you cc Bartlomiej he can add it >to the old driver (B.Zolnierkiewicz@elka.pw.edu.pl) > >Alan > > > Here it is: 00:00.0 Host bridge: ALi Corporation M1647 Northbridge [MAGiK 1 / MobileMAGiK 1] (rev 04) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- Capabilities: [a4] Power Management version 1 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00: b9 10 47 16 07 00 10 a2 04 00 00 06 00 00 00 00 10: 08 00 00 f0 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 b0 00 00 00 00 00 00 00 00 00 00 00 40: 11 2f 0f 03 1a 10 04 2f 00 20 04 00 00 20 20 00 50: 01 00 00 00 05 10 04 2f 00 20 00 00 00 20 20 ff 60: c1 54 30 85 00 70 00 00 05 70 72 d9 40 24 19 05 70: 8b 8b 8b 8b 00 00 00 00 40 c0 77 47 04 18 03 03 80: 31 07 53 b7 31 07 10 e1 00 01 00 00 00 00 00 00 90: 15 40 50 81 00 00 00 00 08 00 00 00 f0 ae 00 00 a0: 30 80 01 00 01 00 01 06 00 00 00 00 00 00 00 00 b0: 02 a4 20 00 13 02 00 1b 00 00 00 00 08 00 93 0f c0: 10 00 13 10 00 00 00 f0 80 68 00 c0 00 00 00 00 d0: 07 f0 45 ff 00 b1 6b 15 00 00 00 80 81 81 80 00 e0: 00 2c 23 b9 40 00 00 00 00 00 18 00 00 07 00 00 f0: 00 00 00 46 00 06 80 03 00 01 01 47 00 00 00 00 00:01.0 PCI bridge: ALi Corporation PCI to AGP Controller (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- SERR- TAbort- Reset- FastB2B- 00: b9 10 47 52 1f 00 00 04 00 00 04 06 00 00 01 00 10: 00 00 00 00 00 00 00 00 00 01 01 00 f0 00 20 a2 20: 10 ea f0 ef 00 28 00 28 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0c 00 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if 10 [OHCI]) Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- Reset+ 16bInt+ PostWrite+ 16-bit legacy interface ports at 0001 00: 4c 10 51 ac 07 00 10 02 00 00 07 06 20 a8 82 00 10: 00 00 12 28 a0 00 00 02 00 02 05 b0 00 00 00 20 20: 00 f0 ff 21 00 00 00 22 00 f0 ff 23 00 20 00 00 30: fc 20 00 00 00 24 00 00 fc 24 00 00 0b 01 c0 05 40: 3c 10 18 00 01 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 60 f0 44 20 00 00 00 00 00 00 00 00 22 1b 9c 00 90: c0 82 66 60 00 00 00 00 00 00 00 00 00 00 00 00 a0: 01 00 11 fe 00 00 c0 00 15 08 00 00 1f 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:04.1 CardBus bridge: Texas Instruments PCI1420 Subsystem: Hewlett-Packard Company Unknown device 0018 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- Reset- 16bInt- PostWrite+ 16-bit legacy interface ports at 0001 00: 4c 10 51 ac 07 00 10 02 00 00 07 06 20 a8 82 00 10: 00 10 12 28 a0 00 00 02 00 06 09 b0 00 00 00 24 20: 00 f0 ff 25 00 00 00 26 00 f0 ff 27 00 28 00 00 30: fc 28 00 00 00 2c 00 00 fc 2c 00 00 0b 01 00 05 40: 3c 10 18 00 01 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 60 f0 44 20 00 00 00 00 00 00 00 00 22 1b 9c 00 90: c0 83 66 60 00 00 00 00 00 00 00 00 00 00 00 00 a0: 01 00 11 fe 00 80 c0 00 15 08 00 00 1f 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:06.0 Bridge: ALi Corporation M7101 Power Management Controller [PMU] Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Capabilities: [90] Power Management version 2 Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00: 23 10 10 99 07 00 30 02 63 00 00 03 00 40 00 00 10: 00 00 00 ee 00 00 40 ea 00 00 00 ec 00 00 10 ea 20: 00 00 00 00 00 00 00 00 00 00 00 00 3c 10 18 00 30: 00 00 00 00 80 00 00 00 00 00 00 00 0b 01 00 00 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 02 90 20 00 07 02 00 20 00 00 00 00 00 00 00 00 90: 01 00 22 06 00 00 00 00 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01) Subsystem: Unknown device 0308:3405 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR-