From: Bartlomiej Zolnierkiewicz Subject: Re: NS87415 on C3K broken Date: Fri, 17 Sep 2004 02:43:06 +0200 Sender: linux-ide-owner@vger.kernel.org Message-ID: <200409170243.06449.bzolnier@elka.pw.edu.pl> References: <20040916161749.GA17660@colo.lackof.org> <200409170050.15042.bzolnier@elka.pw.edu.pl> <20040916232531.GB24048@colo.lackof.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from higgs.elka.pw.edu.pl ([194.29.160.5]:27564 "EHLO higgs.elka.pw.edu.pl") by vger.kernel.org with ESMTP id S268467AbUIQAp2 (ORCPT ); Thu, 16 Sep 2004 20:45:28 -0400 Received: from hadron.elka.pw.edu.pl ([194.29.160.13]:36361 "EHLO localhost") by higgs.elka.pw.edu.pl with ESMTP id S28439AbUIQAp0 (ORCPT ); Fri, 17 Sep 2004 02:45:26 +0200 Received: from chello062179083169.chello.pl ([62.179.83.169]:61719 "EHLO [192.168.123.164]" ident: "NO-IDENT-SERVICE[2]" smtp-auth: "bzolnier" TLS-CIPHER: TLS-PEER-CN1: ) by mion.elka.pw.edu.pl with ESMTP id S52493AbUIQAls (ORCPT + 2 others); Fri, 17 Sep 2004 02:41:48 +0200 In-Reply-To: <20040916232531.GB24048@colo.lackof.org> Content-Disposition: inline List-Id: linux-ide@vger.kernel.org To: Grant Grundler Cc: parisc-linux@lists.parisc-linux.org, linux-ide@vger.kernel.org On Friday 17 September 2004 01:25, Grant Grundler wrote: > > ide_setup_pci_controller() > > -> ide_pci_enable() > > -> pci_enable_device() > > > > and ide_setup_pci_controller() is called at the beginning > > of ide_setup_pci_device() before ->init_chipset() > > Yes - I tracked the pci_enabled_device back to ide_setup_pci_controller(). > But I just realized I had another brainfart: ide_setup_pci_controller() > is not ide_setup_pci_device(). I should stop coding late at night... Heh. > > > Anyway, ns87415 driver has more problems. The patch below adds > > > "init_chipset" entry point and init_chipset_ns87415() calls > > > pci_enable_device() and pci_set_master() before the probe. > > > And my C3k still HPMCs. My guess is more of the code from > > > init_hwif_ns87415() needs to be moved to init_chipset_ns87415(). > > > And possible call some special suckyio init routines. > > > I won't be able to touch this for a few days. > > > Anyone else on parisc-linux ml want to take a whack at this? > ... > > Yep, also if they are to stay please move them to ns87415.c > > because using outside drivers/ide is WRONG. > > they? superio_ide_init_iops() or something else? They. > Willy mentioned that as a TODO item and it's on my list. > But I didn't plan on touching that before the HPMC is resolved > or the PCI resource mgt issues are resolved. OK, thanks.