From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15691.13428.356187.250910@nanonic.hilbert.space> From: paurea@gsyc.escet.urjc.es To: 9fans@cse.psu.edu Subject: Re: [9fans] questions on sis630 driver... In-Reply-To: <1854fc76e5c50f866c1cccbf01ce82a4@plan9.bell-labs.com>:Russ Cox's message of 20:28:42 Friday,2 August 2002 References: <1854fc76e5c50f866c1cccbf01ce82a4@plan9.bell-labs.com> Date: Sat, 3 Aug 2002 03:40:04 +0200 Topicbox-Message-UUID: d750bbbc-eaca-11e9-9e20-41e7f4b1d025 Russ Cox writes: > Most of the cards get their addresses configured by the > PCI BIOS at boot time, so you just have to read the addresses > out of the card, upamalloc, and addvgaseg. Look at the vgat2r4.c > driver for a good simple example. The linear function takes care > of this. > The addresses should be written on the BAR registers shouldn't they? Shouldn't I be able to read them from the pcidev->mem[i].address without doing anything. They are all zero... -- Saludos, Gorka "Curiosity sKilled the cat"