PCI question....

Rogier Wolff (R.E.Wolff@BitWizard.nl)
Thu, 23 Dec 1999 11:51:50 +0100 (MET)


Hi,

Question for PCI gurus: Is:

void mybcopy( char *from, char *to, int amount)
{
while ( amount-- )
*to++ = *from++;
}

guaranteed to perform byte transactions on a PCI device? (The device
at hand doesn't support non-byte tranactions)

"to" is probably on the PCI device, while "from" is usually in main
memory, but might be cached closer to the CPU....

Roger.

-- 
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
 "I didn't say it was your fault. I said I was going to blame it on you."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/