Bora SAHIN wrote:
Eric> outb seem to be Intel specific and writeb need to map I/0 memory with ioremap Eric> Which method is more standard for a pci device (portable)? I think writeb() is more portable because e.g. in a PowerPC system you cant use inb(), outb()! Also PowerPC is big endian, PCI is little endian. Sometimes you may have to use byte/word/double word(Intel terminology) reverse inst. to access it in a PPC system. This functions can do itmagically for you!
-- Sauro Salomoni Ztec - Z Tecnologia em Comunicação www.ztec.com.br
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature