Changeset 434
- Timestamp:
- Apr 20, 2009 2:38:17 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/board_enable.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/board_enable.c
r430 r434 619 619 * subsystem/card IDs in a sane manner. 620 620 * 621 * Keep the second set NULLed if it should be ignored. 622 * 623 * Keep the subsystem IDs NULLed if they don't identify the board fully. 621 * Keep the second set NULLed if it should be ignored. Keep the subsystem IDs 622 * NULLed if they don't identify the board fully. But please take care to 623 * provide an as complete set of pci ids as possible; autodetection is the 624 * preferred behaviour and we would like to make sure that matches are unique. 625 * 626 * The coreboot ids are used two fold. When running with a coreboot firmware, 627 * the ids uniquely matches the coreboot board identification string. When a 628 * legacy bios is installed and when autodetection is not possible, these ids 629 * can be used to identify the board through the -m command line argument. 630 * 631 * When a board is identified through its coreboot ids (in both cases), the 632 * main pci ids are still required to match, as a safeguard. 624 633 */ 625 634 struct board_pciid_enable { … … 630 639 uint16_t first_card_device; 631 640 632 /* Any device, but make it sensible, like 641 /* Any device, but make it sensible, like 633 642 * the host bridge. May be NULL. 634 643 */ … … 647 656 648 657 struct board_pciid_enable board_pciid_enables[] = { 649 { 650 .first_vendor = 0x1106, 651 .first_device = 0x0571, 652 .first_card_vendor = 0x1462, 653 .first_card_device = 0x7120, 654 .second_vendor = 0x0000, 655 .second_device = 0x0000, 656 .second_card_vendor = 0x0000, 657 .second_card_device = 0x0000, 658 .lb_vendor = "msi", 659 .lb_part = "kt4v", 660 .name = "MSI KT4V", 661 .enable = board_msi_kt4v, 662 }, 663 { 664 .first_vendor = 0x8086, 665 .first_device = 0x1a30, 666 .first_card_vendor = 0x1043, 667 .first_card_device = 0x8070, 668 .second_vendor = 0x8086, 669 .second_device = 0x244b, 670 .second_card_vendor = 0x1043, 671 .second_card_device = 0x8028, 672 .lb_vendor = NULL, 673 .lb_part = NULL, 674 .name = "ASUS P4B266", 675 .enable = ich2_gpio22_raise, 676 }, 677 { 678 .first_vendor = 0x10de, 679 .first_device = 0x0360, 680 .first_card_vendor = 0x0000, 681 .first_card_device = 0x0000, 682 .second_vendor = 0x0000, 683 .second_device = 0x0000, 684 .second_card_vendor = 0x0000, 685 .second_card_device = 0x0000, 686 .lb_vendor = "gigabyte", 687 .lb_part = "m57sli", 688 .name = "GIGABYTE GA-M57SLI-S4", 689 .enable = it87xx_probe_spi_flash, 690 }, 691 { 692 .first_vendor = 0x10de, 693 .first_device = 0x03e0, 694 .first_card_vendor = 0x0000, 695 .first_card_device = 0x0000, 696 .second_vendor = 0x0000, 697 .second_device = 0x0000, 698 .second_card_vendor = 0x0000, 699 .second_card_device = 0x0000, 700 .lb_vendor = "gigabyte", 701 .lb_part = "m61p", 702 .name = "GIGABYTE GA-M61P-S3", 703 .enable = it87xx_probe_spi_flash, 704 }, 705 { 706 .first_vendor = 0x1002, 707 .first_device = 0x4398, 708 .first_card_vendor = 0x1458, 709 .first_card_device = 0x5004, 710 .second_vendor = 0x1002, 711 .second_device = 0x4385, 712 .second_card_vendor = 0x1458, 713 .second_card_device = 0x4385, 714 .lb_vendor = NULL, 715 .lb_part = NULL, 716 .name = "GIGABYTE GA-MA78G-DS3H", 717 .enable = it87xx_probe_spi_flash, 718 }, 719 { 720 .first_vendor = 0x1039, 721 .first_device = 0x0761, 722 .first_card_vendor = 0x0000, 723 .first_card_device = 0x0000, 724 .second_vendor = 0x0000, 725 .second_device = 0x0000, 726 .second_card_vendor = 0x0000, 727 .second_card_device = 0x0000, 728 .lb_vendor = "gigabyte", 729 .lb_part = "2761gxdk", 730 .name = "GIGABYTE GA-2761GXDK", 731 .enable = it87xx_probe_spi_flash, 732 }, 733 { 734 .first_vendor = 0x1022, 735 .first_device = 0x7468, 736 .first_card_vendor = 0x0000, 737 .first_card_device = 0x0000, 738 .second_vendor = 0x0000, 739 .second_device = 0x0000, 740 .second_card_vendor = 0x0000, 741 .second_card_device = 0x0000, 742 .lb_vendor = "iwill", 743 .lb_part = "dk8_htx", 744 .name = "IWILL DK8-HTX", 745 .enable = w83627hf_gpio24_raise_2e, 746 }, 747 { 748 .first_vendor = 0x10de, 749 .first_device = 0x005e, 750 .first_card_vendor = 0x0000, 751 .first_card_device = 0x0000, 752 .second_vendor = 0x0000, 753 .second_device = 0x0000, 754 .second_card_vendor = 0x0000, 755 .second_card_device = 0x0000, 756 .lb_vendor = "msi", 757 .lb_part = "k8n-neo3", 758 .name = "MSI K8N Neo3", 759 .enable = w83627thf_gpio4_4_raise_4e, 760 }, 761 { 762 .first_vendor = 0x1022, 763 .first_device = 0x746B, 764 .first_card_vendor = 0x1022, 765 .first_card_device = 0x36C0, 766 .second_vendor = 0x0000, 767 .second_device = 0x0000, 768 .second_card_vendor = 0x0000, 769 .second_card_device = 0x0000, 770 .lb_vendor = "AGAMI", 771 .lb_part = "ARUMA", 772 .name = "agami Aruma", 773 .enable = w83627hf_gpio24_raise_2e, 774 }, 775 { 776 .first_vendor = 0x1106, 777 .first_device = 0x3177, 778 .first_card_vendor = 0x1106, 779 .first_card_device = 0xAA01, 780 .second_vendor = 0x1106, 781 .second_device = 0x3123, 782 .second_card_vendor = 0x1106, 783 .second_card_device = 0xAA01, 784 .lb_vendor = NULL, 785 .lb_part = NULL, 786 .name = "VIA EPIA M/MII/...", 787 .enable = board_via_epia_m, 788 }, 789 { 790 .first_vendor = 0x1106, 791 .first_device = 0x3177, 792 .first_card_vendor = 0x1043, 793 .first_card_device = 0x80A1, 794 .second_vendor = 0x1106, 795 .second_device = 0x3205, 796 .second_card_vendor = 0x1043, 797 .second_card_device = 0x8118, 798 .lb_vendor = NULL, 799 .lb_part = NULL, 800 .name = "ASUS A7V8-MX SE", 801 .enable = board_asus_a7v8x_mx, 802 }, 803 { 804 .first_vendor = 0x1106, 805 .first_device = 0x3227, 806 .first_card_vendor = 0x1106, 807 .first_card_device = 0xAA01, 808 .second_vendor = 0x1106, 809 .second_device = 0x0259, 810 .second_card_vendor = 0x1106, 811 .second_card_device = 0xAA01, 812 .lb_vendor = NULL, 813 .lb_part = NULL, 814 .name = "VIA EPIA SP", 815 .enable = board_via_epia_sp, 816 }, 817 { 818 .first_vendor = 0x1106, 819 .first_device = 0x0314, 820 .first_card_vendor = 0x1106, 821 .first_card_device = 0xaa08, 822 .second_vendor = 0x1106, 823 .second_device = 0x3227, 824 .second_card_vendor = 0x1106, 825 .second_card_device = 0xAA08, 826 .lb_vendor = NULL, 827 .lb_part = NULL, 828 .name = "VIA EPIA-CN", 829 .enable = board_via_epia_sp, 830 }, 831 { 832 .first_vendor = 0x8086, 833 .first_device = 0x1076, 834 .first_card_vendor = 0x8086, 835 .first_card_device = 0x1176, 836 .second_vendor = 0x1106, 837 .second_device = 0x3059, 838 .second_card_vendor = 0x10f1, 839 .second_card_device = 0x2498, 840 .lb_vendor = NULL, 841 .lb_part = NULL, 842 .name = "Tyan Tomcat K7M", 843 .enable = board_asus_a7v8x_mx, 844 }, 845 { 846 .first_vendor = 0x10B9, 847 .first_device = 0x1541, 848 .first_card_vendor = 0x0000, 849 .first_card_device = 0x0000, 850 .second_vendor = 0x10B9, 851 .second_device = 0x1533, 852 .second_card_vendor = 0x0000, 853 .second_card_device = 0x0000, 854 .lb_vendor = "asus", 855 .lb_part = "p5a", 856 .name = "ASUS P5A", 857 .enable = board_asus_p5a, 858 }, 859 { 860 .first_vendor = 0x1166, 861 .first_device = 0x0205, 862 .first_card_vendor = 0x1014, 863 .first_card_device = 0x0347, 864 .second_vendor = 0x0000, 865 .second_device = 0x0000, 866 .second_card_vendor = 0x0000, 867 .second_card_device = 0x0000, 868 .lb_vendor = "ibm", 869 .lb_part = "x3455", 870 .name = "IBM x3455", 871 .enable = board_ibm_x3455, 872 }, 873 { 874 .first_vendor = 0x8086, 875 .first_device = 0x7110, 876 .first_card_vendor = 0x0000, 877 .first_card_device = 0x0000, 878 .second_vendor = 0x8086, 879 .second_device = 0x7190, 880 .second_card_vendor = 0x0000, 881 .second_card_device = 0x0000, 882 .lb_vendor = "epox", 883 .lb_part = "ep-bx3", 884 .name = "EPoX EP-BX3", 885 .enable = board_epox_ep_bx3, 886 }, 887 { 888 .first_vendor = 0x8086, 889 .first_device = 0x1130, 890 .first_card_vendor = 0x0000, 891 .first_card_device = 0x0000, 892 .second_vendor = 0x105a, 893 .second_device = 0x0d30, 894 .second_card_vendor = 0x105a, 895 .second_card_device = 0x4d33, 896 .lb_vendor = "acorp", 897 .lb_part = "6a815epd", 898 .name = "Acorp 6A815EPD", 899 .enable = board_acorp_6a815epd, 900 }, 901 { 902 .first_vendor = 0x1022, 903 .first_device = 0x2090, 904 .first_card_vendor = 0x0000, 905 .first_card_device = 0x0000, 906 .second_vendor = 0x1022, 907 .second_device = 0x2080, 908 .second_card_vendor = 0x0000, 909 .second_card_device = 0x0000, 910 .lb_vendor = "artecgroup", 911 .lb_part = "dbe61", 912 .name = "Artec Group DBE61", 913 .enable = board_artecgroup_dbe6x, 914 }, 915 { 916 .first_vendor = 0x1022, 917 .first_device = 0x2090, 918 .first_card_vendor = 0x0000, 919 .first_card_device = 0x0000, 920 .second_vendor = 0x1022, 921 .second_device = 0x2080, 922 .second_card_vendor = 0x0000, 923 .second_card_device = 0x0000, 924 .lb_vendor = "artecgroup", 925 .lb_part = "dbe62", 926 .name = "Artec Group DBE62", 927 .enable = board_artecgroup_dbe6x, 928 }, 658 /* first pci-id set [4], second pci-id set [4], coreboot id [2], boardname, flash enable */ 659 {0x1106, 0x0571, 0x1462, 0x7120, 0, 0, 0, 0, "msi", "kt4v", "MSI KT4V", board_msi_kt4v}, 660 {0x8086, 0x1a30, 0x1043, 0x8070, 0x8086, 0x244b, 0x1043, 0x8028, NULL, NULL, "ASUS P4B266", ich2_gpio22_raise}, 661 {0x10de, 0x0360, 0, 0, 0, 0, 0, 0, "gigabyte", "m57sli", "GIGABYTE GA-M57SLI-S4", it87xx_probe_spi_flash}, 662 {0x10de, 0x03e0, 0, 0, 0, 0, 0, 0, "gigabyte", "m61p", "GIGABYTE GA-M61P-S3", it87xx_probe_spi_flash}, 663 {0x1002, 0x4398, 0x1458, 0x5004, 0x1002, 0x4385, 0x1458, 0x4385, NULL, NULL, "GIGABYTE GA-MA78G-DS3H", it87xx_probe_spi_flash}, 664 {0x1039, 0x0761, 0, 0, 0, 0, 0, 0, "gigabyte", "2761gxdk", "GIGABYTE GA-2761GXDK", it87xx_probe_spi_flash}, 665 {0x1022, 0x7468, 0, 0, 0, 0, 0, 0, "iwill", "dk8_htx", "IWILL DK8-HTX", w83627hf_gpio24_raise_2e}, 666 {0x10de, 0x005e, 0, 0, 0, 0, 0, 0, "msi", "k8n-neo3", "MSI K8N Neo3", w83627thf_gpio4_4_raise_4e}, 667 {0x1022, 0x746B, 0x1022, 0x36C0, 0, 0, 0, 0, "AGAMI", "ARUMA", "agami Aruma", w83627hf_gpio24_raise_2e}, 668 {0x1106, 0x3177, 0x1106, 0xAA01, 0x1106, 0x3123, 0x1106, 0xAA01, NULL, NULL, "VIA EPIA M/MII/...", board_via_epia_m}, 669 {0x1106, 0x3177, 0x1043, 0x80A1, 0x1106, 0x3205, 0x1043, 0x8118, NULL, NULL, "ASUS A7V8-MX SE", board_asus_a7v8x_mx}, 670 {0x1106, 0x3227, 0x1106, 0xAA01, 0x1106, 0x0259, 0x1106, 0xAA01, NULL, NULL, "VIA EPIA SP", board_via_epia_sp}, 671 {0x1106, 0x0314, 0x1106, 0xaa08, 0x1106, 0x3227, 0x1106, 0xAA08, NULL, NULL, "VIA EPIA-CN", board_via_epia_sp}, 672 {0x8086, 0x1076, 0x8086, 0x1176, 0x1106, 0x3059, 0x10f1, 0x2498, NULL, NULL, "Tyan Tomcat K7M", board_asus_a7v8x_mx}, 673 {0x10B9, 0x1541, 0, 0, 0x10B9, 0x1533, 0, 0, "asus", "p5a", "ASUS P5A", board_asus_p5a}, 674 {0x1166, 0x0205, 0x1014, 0x0347, 0, 0, 0, 0, "ibm", "x3455", "IBM x3455", board_ibm_x3455}, 675 {0x8086, 0x7110, 0, 0, 0x8086, 0x7190, 0, 0, "epox", "ep-bx3", "EPoX EP-BX3", board_epox_ep_bx3}, 676 {0x8086, 0x1130, 0, 0, 0x105a, 0x0d30, 0x105a, 0x4d33, "acorp", "6a815epd", "Acorp 6A815EPD", board_acorp_6a815epd}, 677 {0x1022, 0x2090, 0, 0, 0x1022, 0x2080, 0, 0, "artecgroup", "dbe61", "Artec Group DBE61", board_artecgroup_dbe6x}, 678 {0x1022, 0x2090, 0, 0, 0x1022, 0x2080, 0, 0, "artecgroup", "dbe62", "Artec Group DBE62", board_artecgroup_dbe6x}, 929 679 /* Note: There are >= 2 version of the Kontron 986LCD-M/mITX! */ 930 { 931 .first_vendor = 0x8086, 932 .first_device = 0x27b8, 933 .first_card_vendor = 0x0000, 934 .first_card_device = 0x0000, 935 .second_vendor = 0x0000, 936 .second_device = 0x0000, 937 .second_card_vendor = 0x0000, 938 .second_card_device = 0x0000, 939 .lb_vendor = "kontron", 940 .lb_part = "986lcd-m", 941 .name = "Kontron 986LCD-M", 942 .enable = board_kontron_986lcd_m, 943 }, 944 { 945 .first_vendor = 0x10ec, 946 .first_device = 0x8168, 947 .first_card_vendor = 0x10ec, 948 .first_card_device = 0x8168, 949 .second_vendor = 0x104c, 950 .second_device = 0x8023, 951 .second_card_vendor = 0x104c, 952 .second_card_device = 0x8019, 953 .lb_vendor = "kontron", 954 .lb_part = "986lcd-m", 955 .name = "Kontron 986LCD-M", 956 .enable = board_kontron_986lcd_m, 957 }, 958 { 959 .first_vendor = 0x1106, 960 .first_device = 0x3149, 961 .first_card_vendor = 0x1565, 962 .first_card_device = 0x3206, 963 .second_vendor = 0x1106, 964 .second_device = 0x3344, 965 .second_card_vendor = 0x1565, 966 .second_card_device = 0x1202, 967 .lb_vendor = NULL, 968 .lb_part = NULL, 969 .name = "BioStar P4M80-M4", 970 .enable = board_biostar_p4m80_m4, 971 }, 972 { 973 .first_vendor = 0x1106, 974 .first_device = 0x3227, 975 .first_card_vendor = 0x1458, 976 .first_card_device = 0x5001, 977 .second_vendor = 0x10ec, 978 .second_device = 0x8139, 979 .second_card_vendor = 0x1458, 980 .second_card_device = 0xe000, 981 .lb_vendor = NULL, 982 .lb_part = NULL, 983 .name = "GIGABYTE GA-7VT600", 984 .enable = board_biostar_p4m80_m4, 985 }, 986 { 987 .first_vendor = 0x1106, 988 .first_device = 0x3149, 989 .first_card_vendor = 0x1462, 990 .first_card_device = 0x7094, 991 .second_vendor = 0x10ec, 992 .second_device = 0x8167, 993 .second_card_vendor = 0x1462, 994 .second_card_device = 0x094c, 995 .lb_vendor = NULL, 996 .lb_part = NULL, 997 .name = "MSI K8T Neo2", 998 .enable = w83627thf_gpio4_4_raise_2e, 999 }, 1000 { 1001 .first_vendor = 0x1039, 1002 .first_device = 0x5513, 1003 .first_card_vendor = 0x8086, 1004 .first_card_device = 0xd61f, 1005 .second_vendor = 0x1039, 1006 .second_device = 0x6330, 1007 .second_card_vendor = 0x8086, 1008 .second_card_device = 0xd61f, 1009 .lb_vendor = NULL, 1010 .lb_part = NULL, 1011 .name = "Intel Desktop Board D201GLY", 1012 .enable = wbsio_check_for_spi, 1013 }, 1014 { 1015 .first_vendor = 0x8086, 1016 .first_device = 0x2658, 1017 .first_card_vendor = 0x1462, 1018 .first_card_device = 0x7046, 1019 .second_vendor = 0x1106, 1020 .second_device = 0x3044, 1021 .second_card_vendor = 0x1462, 1022 .second_card_device = 0x046d, 1023 .lb_vendor = NULL, 1024 .lb_part = NULL, 1025 .name = "MSI MS-7046", 1026 .enable = ich6_gpio19_raise, 1027 }, 1028 { 1029 .first_vendor = 0x1166, 1030 .first_device = 0x0223, 1031 .first_card_vendor = 0x103c, 1032 .first_card_device = 0x320d, 1033 .second_vendor = 0x102b, 1034 .second_device = 0x0522, 1035 .second_card_vendor = 0x103c, 1036 .second_card_device = 0x31fa, 1037 .lb_vendor = "hp", 1038 .lb_part = "dl145_g3", 1039 .name = "HP DL145 G3", 1040 .enable = board_hp_dl145_g3_enable, 1041 }, 1042 { 1043 .first_vendor = 0x1106, 1044 .first_device = 0x5337, 1045 .first_card_vendor = 0x1458, 1046 .first_card_device = 0xb003, 1047 .second_vendor = 0x1106, 1048 .second_device = 0x287e, 1049 .second_card_vendor = 0x1106, 1050 .second_card_device = 0x337e, 1051 .lb_vendor = "via", 1052 .lb_part = "pc3500g", 1053 .name = "VIA PC3500G", 1054 .enable = it87xx_probe_spi_flash, 1055 }, 1056 { 1057 .first_vendor = 0, 1058 .first_device = 0, 1059 .first_card_vendor = 0, 1060 .first_card_device = 0, 1061 .second_vendor = 0, 1062 .second_device = 0, 1063 .second_card_vendor = 0, 1064 .second_card_device = 0, 1065 .lb_vendor = NULL, 1066 .lb_part = NULL, 1067 } /* Keep this */ 680 {0x8086, 0x27b8, 0, 0, 0, 0, 0, 0, "kontron", "986lcd-m", "Kontron 986LCD-M", board_kontron_986lcd_m}, 681 {0x10ec, 0x8168, 0x10ec, 0x8168, 0x104c, 0x8023, 0x104c, 0x8019, "kontron", "986lcd-m", "Kontron 986LCD-M", board_kontron_986lcd_m}, 682 {0x1106, 0x3149, 0x1565, 0x3206, 0x1106, 0x3344, 0x1565, 0x1202, NULL, NULL, "BioStar P4M80-M4", board_biostar_p4m80_m4}, 683 {0x1106, 0x3227, 0x1458, 0x5001, 0x10ec, 0x8139, 0x1458, 0xe000, NULL, NULL, "GIGABYTE GA-7VT600", board_biostar_p4m80_m4}, 684 {0x1106, 0x3149, 0x1462, 0x7094, 0x10ec, 0x8167, 0x1462, 0x094c, NULL, NULL, "MSI K8T Neo2", w83627thf_gpio4_4_raise_2e}, 685 {0x1039, 0x5513, 0x8086, 0xd61f, 0x1039, 0x6330, 0x8086, 0xd61f, NULL, NULL, "Intel D201GLY", wbsio_check_for_spi}, 686 {0x8086, 0x2658, 0x1462, 0x7046, 0x1106, 0x3044, 0x1462, 0x046d, NULL, NULL, "MSI MS-7046", ich6_gpio19_raise}, 687 {0x1166, 0x0223, 0x103c, 0x320d, 0x102b, 0x0522, 0x103c, 0x31fa, "hp", "dl145_g3", "HP DL145 G3", board_hp_dl145_g3_enable}, 688 {0x1106, 0x5337, 0x1458, 0xb003, 0x1106, 0x287e, 0x1106, 0x337e, "via", "pc3500g", "VIA PC3500G", it87xx_probe_spi_flash}, 689 { 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL}, /* end marker */ 1068 690 }; 1069 691
Note: See TracChangeset
for help on using the changeset viewer.
