Page MenuHomeFreeBSD

Enhance attachment of ehci_mv driver
ClosedPublic

Authored by bsz_semihalf.com on Dec 4 2015, 12:34 PM.
Tags
Referenced Files
Unknown Object (File)
Sat, Dec 21, 1:51 AM
Unknown Object (File)
Fri, Dec 20, 10:20 PM
Unknown Object (File)
Fri, Dec 20, 9:36 PM
Unknown Object (File)
Fri, Dec 20, 5:41 PM
Unknown Object (File)
Fri, Dec 13, 7:14 AM
Unknown Object (File)
Thu, Dec 12, 10:43 AM
Unknown Object (File)
Fri, Dec 6, 10:25 AM
Unknown Object (File)
Nov 28 2024, 4:24 PM
Subscribers

Details

Summary

Driver was modified to ensure it attaches properly to "marvell,orion-ehci"
node, which doesn't have error interrupt line defined. Neccessary
ofw_compat_data struct was added and probe procedure was altered.

Obtained from: Semihalf
Sponsored by: Stormshield
Submitted by: Bartosz Szczepanek <bsz@semihalf.com>

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

bsz_semihalf.com retitled this revision from to Add "marvell,orion-ehci" compatible to ehci_mv driver.
bsz_semihalf.com updated this object.
bsz_semihalf.com edited the test plan for this revision. (Show Details)
bsz_semihalf.com added reviewers: ian, imp.
bsz_semihalf.com set the repository for this revision to rS FreeBSD src repository - subversion.
bsz_semihalf.com added a subscriber: zbb.

Based on discussions in D4370 this is not compatible with the marvell,orion-ehci bindings. Can you either fix this, or mark the device in the device tree in such a way we could later fix the driver to use the upstream bindings. My preference is for the former as it makes it easier to use the same dts as Linux.

andrew requested changes to this revision.Dec 8 2015, 12:35 AM
andrew added a reviewer: andrew.
This revision now requires changes to proceed.Dec 8 2015, 12:35 AM
bsz_semihalf.com retitled this revision from Add "marvell,orion-ehci" compatible to ehci_mv driver to Enhance attachment of ehci_mv driver.
bsz_semihalf.com updated this object.
bsz_semihalf.com edited edge metadata.

Added conditions for "marvell,orion-ehci" case, in which driver shouldn't attach interrupt line for errors.

andrew, I updated the diff. Please let me know if this is solution you expected.

No. I just don't know how to mark it outdated on Phabricator.

No. I just don't know how to mark it outdated on Phabricator.

There is an option to abandon a change in the Action drop down menu.

andrew edited edge metadata.
This revision is now accepted and ready to land.Dec 10 2015, 9:48 AM

@ian, @imp, would you mind to review this and following commits? Or can we commit with approval of only one of reviewers?

ian edited edge metadata.

@ian, @imp, would you mind to review this and following commits? Or can we commit with approval of only one of reviewers?

I've always considered any one reviewer approval good enough (although I try to wait long enough to let other reviews add comments if they want).

This revision was automatically updated to reflect the committed changes.