From mboxrd@z Thu Jan 1 00:00:00 1970 From: j.neuschaefer@gmx.net (Jonathan =?utf-8?Q?Neusch=C3=A4fer?=) Date: Wed, 18 May 2011 19:59:22 +0200 Subject: simple question about accessing pci io registers In-Reply-To: References: Message-ID: <20110518175922.GB32227@debian.debian> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Tue, May 17, 2011 at 12:16:30PM +0530, Prashant Shah wrote: > Hi, > data16 = 0x0000; > outw(iobase2 + 2, data16); > mb(); udelay(100); You should probably be using outw_p here, it'll wait until the io completes (see outb(2)). But I don't think this will solve your problem. Greetings, Jonathan Neusch?fer