Commit f889102
committed
Merge branch 'pci/endpoint'
- Simplify pci_epf_test_alloc_space() by using pci_epc_get_next_free_bar()
as other similar iterators do (Niklas Cassel)
- Configure endpoint BARs as 64-bit if that's all the hardware supports, in
addition to doing it if the BAR size is larger than 2GB (Niklas Cassel)
- Remove superfluous pci_epf_configure_bar(), since pci_epf_alloc_space()
now contains that functionality (Niklas Cassel)
- Simplify pci_epf_test_set_bar() (Niklas Cassel)
- Clean up pci_epf_test_unbind() to reduce indentation level (Niklas
Cassel)
* pci/endpoint:
PCI: endpoint: pci-epf-test: Clean up pci_epf_test_unbind()
PCI: endpoint: pci-epf-test: Simplify pci_epf_test_set_bar() loop
PCI: endpoint: pci-epf-test: Remove superfluous code
PCI: endpoint: Allocate a 64-bit BAR if that is the only option
PCI: endpoint: pci-epf-test: Simplify pci_epf_test_alloc_space() loopFile tree
2 files changed
+21
-50
lines changed- drivers/pci/endpoint
- functions
2 files changed
+21
-50
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
690 | 690 | | |
691 | 691 | | |
692 | 692 | | |
693 | | - | |
694 | 693 | | |
695 | 694 | | |
696 | 695 | | |
697 | 696 | | |
698 | 697 | | |
699 | | - | |
| 698 | + | |
| 699 | + | |
700 | 700 | | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
707 | 705 | | |
708 | 706 | | |
709 | 707 | | |
710 | 708 | | |
711 | 709 | | |
712 | | - | |
713 | | - | |
714 | | - | |
| 710 | + | |
715 | 711 | | |
716 | 712 | | |
717 | 713 | | |
718 | 714 | | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
726 | | - | |
727 | | - | |
728 | | - | |
729 | | - | |
730 | | - | |
731 | 715 | | |
732 | | - | |
| 716 | + | |
| 717 | + | |
733 | 718 | | |
734 | 719 | | |
735 | 720 | | |
736 | | - | |
| 721 | + | |
737 | 722 | | |
738 | 723 | | |
739 | 724 | | |
| |||
822 | 807 | | |
823 | 808 | | |
824 | 809 | | |
825 | | - | |
826 | 810 | | |
827 | 811 | | |
828 | 812 | | |
829 | 813 | | |
830 | 814 | | |
831 | | - | |
832 | 815 | | |
| 816 | + | |
833 | 817 | | |
834 | 818 | | |
835 | 819 | | |
| |||
854 | 838 | | |
855 | 839 | | |
856 | 840 | | |
857 | | - | |
858 | | - | |
859 | | - | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
860 | 845 | | |
861 | 846 | | |
862 | 847 | | |
863 | 848 | | |
864 | | - | |
865 | | - | |
866 | | - | |
867 | 849 | | |
868 | 850 | | |
869 | 851 | | |
| |||
875 | 857 | | |
876 | 858 | | |
877 | 859 | | |
878 | | - | |
879 | | - | |
880 | | - | |
881 | | - | |
882 | | - | |
883 | | - | |
884 | | - | |
885 | | - | |
886 | | - | |
887 | | - | |
888 | | - | |
889 | | - | |
890 | | - | |
891 | 860 | | |
892 | 861 | | |
893 | 862 | | |
| |||
908 | 877 | | |
909 | 878 | | |
910 | 879 | | |
911 | | - | |
912 | 880 | | |
913 | 881 | | |
914 | 882 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
| 259 | + | |
258 | 260 | | |
259 | 261 | | |
260 | 262 | | |
| |||
304 | 306 | | |
305 | 307 | | |
306 | 308 | | |
307 | | - | |
308 | | - | |
309 | | - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
310 | 313 | | |
311 | 314 | | |
312 | 315 | | |
| |||
0 commit comments