diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-09-05 15:55:25 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-09-23 17:30:03 -0600 |
commit | c0102c00d8c9f4109509d9d68631a1ad47703b5f (patch) | |
tree | ff3e9ce1eff09b5af990e73565949c7b4421d487 /samples | |
parent | f8a26fe637fc740ebb927ce25dcf036363a998df (diff) |
[SCSI] bfa: Use pcie_set()/get_readrq() to simplify code
Use pcie_get_readrq()/pcie_set_readrq() to simplify code.
Jon Mason proposed a similar patch a couple years ago (see below).
[bhelgaas: validate pcie_max_read_reqsz, add pointer to Jon's patch]
Reference: http://lkml.kernel.org/r/1309191190-14670-1-git-send-email-jdmason@kudzu.us
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Jiang Liu <jiang.liu@huawei.com>
Cc: Anil Gurumurthy <agurumur@brocade.com>
Cc: Vijaya Mohan Guvva <vmohan@brocade.com>
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions