Signed-off-by: Imre Vadász <imrevdsz@gmail.com>
if (!(len == 1 || len == 2 || len == 4))
return pci_generic_block_read(d, pos, buf, len);
- if (pos >= 256)
+ if (pos >= 4096)
return 0;
#if __FreeBSD_version >= 700053 || defined(__DragonFly__)
if (!(len == 1 || len == 2 || len == 4))
return pci_generic_block_write(d, pos, buf, len);
- if (pos >= 256)
+ if (pos >= 4096)
return 0;
#if __FreeBSD_version >= 700053 || defined(__DragonFly__)