Hi , If u are using a PCI device then what you did is right ... Vinay ----- Original Message ----- From: "Kirill Messel" <kirill.messel@mtu-net.ru> To: "Kernel" <kernelnewbies@nl.linux.org> Sent: Tuesday, August 13, 2002 2:39 PM Subject: Write data to device > Hi all, > > I don't understand, how can i write to device. I do the next steps to > read/write to device > pci_resource_start (dev, BAR) > a = ioremap_nocache (BAR,length) > readb (a) > write (0x10, a) > > Is it right? > Thanks > Kirill > > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/