summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_sisreg.h
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2012-09-07 19:10:40 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2012-09-07 19:10:40 +0000
commita69a4c0f34e4a4821229453ec56e41a3d8171e8d (patch)
tree00cdddaf8d2473d9e60ca4e41ad055795672d7ba /sys/dev/pci/if_sisreg.h
parent25a3896e9292e479b07f1c3286ca6bf610372ae3 (diff)
Fixup a memory access fault on an invalid reply. Quoting the spec:
The host driver must ensure that there is at least one unused entry in the Reply Free Queue. One way to ensure that this requirement is met is to never allocate a number of reply frames that is a multiple of 16. So bring back the old logic of calculating the RFQ depth and add a comment explaining why is it done. Duh!
Diffstat (limited to 'sys/dev/pci/if_sisreg.h')
0 files changed, 0 insertions, 0 deletions