You're not checking the return value from any of your calls. Add an ... or die "open /dev/pcimax failed: $!\n"; (adjusted approriately) and see if that's enlightening.
In reply to Re: Help using ioctl to write a PCI device
by Fletch
in thread Help using ioctl to write a PCI device
by p-rex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |