summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/ohci_pci.c
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2015-12-27 20:52:32 +0000
committermarius <marius@FreeBSD.org>2015-12-27 20:52:32 +0000
commit1ef54c4f8cd411d3b1cfefbd24dfb2df8934f6b7 (patch)
treef44f36f1bcd145ef28101574713f0446bcfe6554 /sys/dev/usb/controller/ohci_pci.c
parent69fca9363a5a9c208239e82836465546ea317579 (diff)
downloadFreeBSD-src-1ef54c4f8cd411d3b1cfefbd24dfb2df8934f6b7.zip
FreeBSD-src-1ef54c4f8cd411d3b1cfefbd24dfb2df8934f6b7.tar.gz
MFC: r285840
- In mpt_send_handshake_cmd(), use bus_space_write_stream_4(9) for writing raw data to the doorbell offset in order to clarify the intent and for avoiding unnecessarily converting the endianess back and forth. Unfortunately, the same can't be done in mpt_recv_handshake_reply() as 16-bit data needs to be read using 32-bit bus accessors. - In mpt_recv_handshake_reply(), get rid of a redundant variable.
Diffstat (limited to 'sys/dev/usb/controller/ohci_pci.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud