Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 8 Feb 2001 10:34:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 8 Feb 2001 10:34:49 -0500 Received: from zikova.cvut.cz ([147.32.235.100]:43789 "EHLO zikova.cvut.cz") by vger.kernel.org with ESMTP id convert rfc822-to-8bit; Thu, 8 Feb 2001 10:34:09 -0500 From: "Petr Vandrovec" Organization: CC CTU Prague To: linux-kernel@vger.kernel.org Date: Thu, 8 Feb 2001 16:32:52 MET-1 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-2 Content-transfer-encoding: 8BIT Subject: 2.4.x, drm, g400 and pci_set_master CC: faith@valinux.com, hulinsky@feld.cvut.cz X-mailer: Pegasus Mail v3.40 Message-ID: <14E7BDF32379@vcnet.vc.cvut.cz> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, friend of mine bought g400 on my recommendation, and unfortunately, mga drm driver did not worked for me. I tracked it down to missing pci_enable_device and pci_set_master in mga* driver. But even after looking more than hour into that code I have no idea where I should place this call, as it looks like that mga driver is completely shielded from seeing pcidev structure :-( Does anybody know where I should place pci_enable_device and pci_set_master into mga code? I worked around pci_enable_device by using matroxfb, but pci_set_master is not invoked by matroxfb, and adding this call into matroxfb just to get mga drm driver to work does not look correctly to me - although it is what I had done just now. Thanks, Petr Vandrovec vandrove@vc.cvut.cz 01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 04) (prog-if 00 [VGA]) Subsystem: Matrox Graphics, Inc. Millennium G400 Dual Head Max Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR-