Rev 2935 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2935 | Rev 2981 | ||
---|---|---|---|
Line 130... | Line 130... | ||
130 | 130 | ||
131 | virtual at 0 |
131 | virtual at 0 |
132 | upd UPD |
132 | upd UPD |
Line 133... | Line -... | ||
133 | end virtual |
- | |
134 | - | ||
135 | ; Ethernet frame symbols |
- | |
136 | ETH_ALEN = 6 |
- | |
137 | ETH_HLEN = (2*ETH_ALEN+2) |
- | |
138 | ETH_ZLEN = 60 ; 60 + 4bytes auto payload for |
133 | end virtual |
139 | ; mininmum 64bytes frame length |
134 | |
140 | ; Registers |
135 | ; Registers |
141 | REG_POWER_MGMT_CTRL = 0x7c |
136 | REG_POWER_MGMT_CTRL = 0x7c |
142 | REG_UP_LIST_PTR = 0x38 |
137 | REG_UP_LIST_PTR = 0x38 |
Line 604... | Line 599... | ||
604 | mov ecx, HW_VERSIONS_SIZE/4-1 |
599 | mov ecx, HW_VERSIONS_SIZE/4-1 |
605 | .loop: |
600 | .loop: |
606 | cmp ax , [hw_versions+ecx*4] |
601 | cmp ax, [hw_versions+ecx*4] |
607 | jz .found |
602 | jz .found |
608 | loop .loop |
603 | loop .loop |
609 | DEBUGF 1,"ecx: %u\n", ecx |
- | |
610 | .notfound: |
604 | .notfound: |
611 | DEBUGF 1,"Device id not found in list!\n" |
605 | DEBUGF 1,"Device id not found in list!\n" |
612 | or eax, -1 |
606 | or eax, -1 |
613 | ret |
607 | ret |
614 | .found: |
608 | .found: |
Line 2596... | Line 2590... | ||
2596 | in ax, dx |
2590 | in ax, dx |
2597 | test ah, 0x80 |
2591 | test ah, 0x80 |
2598 | jnz .dma_loop |
2592 | jnz .dma_loop |
Line 2599... | Line 2593... | ||
2599 | 2593 | ||
2600 | ; registrate the received packet to kernel |
2594 | ; registrate the received packet to kernel |
Line 2601... | Line 2595... | ||
2601 | jmp EthReceiver |
2595 | jmp Eth_input |
2602 | 2596 | ||
2603 | ; discard the top frame received |
2597 | ; discard the top frame received |
2604 | .discard_frame: |
2598 | .discard_frame: |
Line 2894... | Line 2888... | ||
2894 | 2888 | ||
2895 | 2889 | ||
2896 | - | ||
2897 | align 4 |
2890 | |
2898 | hw_versions: |
- | |
2899 | dw 0x5900, IS_VORTEX |
2891 | align 4 |
2900 | ; 3c590 Vortex 10Mbps |
- | |
2901 | dw 0x5920, IS_VORTEX |
2892 | hw_versions: |
2902 | ; 3c592 EISA 10Mbps Demon/Vortex |
- | |
2903 | dw 0x5970, IS_VORTEX |
2893 | dw 0x5900, IS_VORTEX ; 3c590 Vortex 10Mbps |
2904 | ; 3c597 EISA Fast Demon/Vortex |
- | |
2905 | dw 0x5950, IS_VORTEX |
2894 | dw 0x5920, IS_VORTEX ; 3c592 EISA 10Mbps Demon/Vortex |
2906 | ; 3c595 Vortex 100baseTx |
- | |
2907 | dw 0x5951, IS_VORTEX |
2895 | dw 0x5970, IS_VORTEX ; 3c597 EISA Fast Demon/Vortex |
2908 | ; 3c595 Vortex 100baseT4 |
- | |
2909 | dw 0x5952, IS_VORTEX |
2896 | dw 0x5950, IS_VORTEX ; 3c595 Vortex 100baseTx |
2910 | ; 3c595 Vortex 100base-MII |
- | |
2911 | dw 0x9000, IS_BOOMERANG |
2897 | dw 0x5951, IS_VORTEX ; 3c595 Vortex 100baseT4 |
2912 | ; 3c900 Boomerang 10baseT |
2898 | dw 0x5952, IS_VORTEX ; 3c595 Vortex 100base-MII |
2913 | dw 0x9001, IS_BOOMERANG |
- | |
2914 | ; 3c900 Boomerang 10Mbps Combo |
2899 | dw 0x9000, IS_BOOMERANG ; 3c900 Boomerang 10baseT |
2915 | dw 0x9004, IS_CYCLONE or HAS_NWAY or HAS_HWCKSM |
- | |
2916 | ; 3c900 Cyclone 10Mbps TPO |
2900 | dw 0x9001, IS_BOOMERANG ; 3c900 Boomerang 10Mbps Combo |
2917 | dw 0x9005, IS_CYCLONE or HAS_HWCKSM |
- | |
2918 | ; 3c900 Cyclone 10Mbps Combo |
2901 | dw 0x9004, IS_CYCLONE or HAS_NWAY or HAS_HWCKSM ; 3c900 Cyclone 10Mbps TPO |
2919 | dw 0x9006, IS_CYCLONE or HAS_HWCKSM |
- | |
2920 | ; 3c900 Cyclone 10Mbps TPC |
2902 | dw 0x9005, IS_CYCLONE or HAS_HWCKSM ; 3c900 Cyclone 10Mbps Combo |
2921 | dw 0x900A, IS_CYCLONE or HAS_HWCKSM |
- | |
2922 | ; 3c900B-FL Cyclone 10base-FL |
2903 | dw 0x9006, IS_CYCLONE or HAS_HWCKSM ; 3c900 Cyclone 10Mbps TPC |
2923 | dw 0x9050, IS_BOOMERANG or HAS_MII |
- | |
2924 | ; 3c905 Boomerang 100baseTx |
2904 | dw 0x900A, IS_CYCLONE or HAS_HWCKSM ; 3c900B-FL Cyclone 10base-FL |
2925 | dw 0x9051, IS_BOOMERANG or HAS_MII |
- | |
2926 | ; 3c905 Boomerang 100baseT4 |
2905 | dw 0x9050, IS_BOOMERANG or HAS_MII ; 3c905 Boomerang 100baseTx |
2927 | dw 0x9055, IS_CYCLONE or HAS_NWAY or HAS_HWCKSM or EXTRA_PREAMBLE |
- | |
2928 | ; 3c905B Cyclone 100baseTx |
2906 | dw 0x9051, IS_BOOMERANG or HAS_MII ; 3c905 Boomerang 100baseT4 |
2929 | dw 0x9058, IS_CYCLONE or HAS_NWAY or HAS_HWCKSM |
- | |
2930 | ; 3c905B Cyclone 10/100/BNC |
2907 | dw 0x9055, IS_CYCLONE or HAS_NWAY or HAS_HWCKSM or EXTRA_PREAMBLE ; 3c905B Cyclone 100baseTx |
2931 | dw 0x905A, IS_CYCLONE or HAS_HWCKSM |
- | |
2932 | ; 3c905B-FX Cyclone 100baseFx |
2908 | dw 0x9058, IS_CYCLONE or HAS_NWAY or HAS_HWCKSM ; 3c905B Cyclone 10/100/BNC |
2933 | dw 0x9200, IS_TORNADO or HAS_NWAY or HAS_HWCKSM |
- | |
2934 | ; 3c905C Tornado |
2909 | dw 0x905A, IS_CYCLONE or HAS_HWCKSM ; 3c905B-FX Cyclone 100baseFx |
2935 | dw 0x9800, IS_CYCLONE or HAS_NWAY or HAS_HWCKSM |
- | |
2936 | ; 3c980 Cyclone |
2910 | dw 0x9200, IS_TORNADO or HAS_NWAY or HAS_HWCKSM ; 3c905C Tornado |
2937 | dw 0x9805, IS_TORNADO or HAS_NWAY or HAS_HWCKSM |
- | |
2938 | ; 3c982 Dual Port Server Cyclone |
2911 | dw 0x9800, IS_CYCLONE or HAS_NWAY or HAS_HWCKSM ; 3c980 Cyclone |
2939 | dw 0x7646, IS_CYCLONE or HAS_NWAY or HAS_HWCKSM |
- | |
2940 | ; 3cSOHO100-TX Hurricane |
2912 | dw 0x9805, IS_TORNADO or HAS_NWAY or HAS_HWCKSM ; 3c982 Dual Port Server Cyclone |
2941 | dw 0x5055, IS_CYCLONE or EEPROM_8BIT or HAS_HWCKSM |
- | |
2942 | ; 3c555 Laptop Hurricane |
2913 | dw 0x7646, IS_CYCLONE or HAS_NWAY or HAS_HWCKSM ; 3cSOHO100-TX Hurricane |
2943 | dw 0x6055, IS_TORNADO or HAS_NWAY or EEPROM_8BIT or HAS_CB_FNS or INVERT_MII_PWR or HAS_HWCKSM |
- | |
2944 | ; 3c556 Laptop Tornado |
2914 | dw 0x5055, IS_CYCLONE or EEPROM_8BIT or HAS_HWCKSM ; 3c555 Laptop Hurricane |
2945 | dw 0x6056, IS_TORNADO or HAS_NWAY or EEPROM_OFFSET or HAS_CB_FNS or INVERT_MII_PWR or HAS_HWCKSM |
- | |
2946 | ; 3c556B Laptop Hurricane |
2915 | dw 0x6055, IS_TORNADO or HAS_NWAY or EEPROM_8BIT or HAS_CB_FNS or INVERT_MII_PWR or HAS_HWCKSM ; 3c556 Laptop Tornado |
2947 | dw 0x5b57, IS_BOOMERANG or HAS_MII or EEPROM_8BIT |
- | |
2948 | ; 3c575 [Megahertz] 10/100 LAN CardBus |
2916 | dw 0x6056, IS_TORNADO or HAS_NWAY or EEPROM_OFFSET or HAS_CB_FNS or INVERT_MII_PWR or HAS_HWCKSM ; 3c556B Laptop Hurricane |
2949 | dw 0x5057, IS_BOOMERANG or HAS_MII or EEPROM_8BIT |
- | |
2950 | ; 3c575 Boomerang CardBus |
2917 | dw 0x5b57, IS_BOOMERANG or HAS_MII or EEPROM_8BIT ; 3c575 [Megahertz] 10/100 LAN CardBus |
2951 | dw 0x5157, IS_CYCLONE or HAS_NWAY or HAS_CB_FNS or EEPROM_8BIT or INVERT_LED_PWR or HAS_HWCKSM |
- | |
2952 | ; 3CCFE575BT Cyclone CardBus |
2918 | dw 0x5057, IS_BOOMERANG or HAS_MII or EEPROM_8BIT ; 3c575 Boomerang CardBus |
2953 | dw 0x5257, IS_TORNADO or HAS_NWAY or HAS_CB_FNS or EEPROM_8BIT or INVERT_MII_PWR or MAX_COLLISION_RESET or HAS_HWCKSM |
- | |
2954 | ; 3CCFE575CT Tornado CardBus |
2919 | dw 0x5157, IS_CYCLONE or HAS_NWAY or HAS_CB_FNS or EEPROM_8BIT or INVERT_LED_PWR or HAS_HWCKSM ; 3CCFE575BT Cyclone CardBus |
2955 | dw 0x6560, IS_CYCLONE or HAS_NWAY or HAS_CB_FNS or EEPROM_8BIT or INVERT_MII_PWR or INVERT_LED_PWR or HAS_HWCKSM |
- | |
2956 | ; 3CCFE656 Cyclone CardBus |
2920 | dw 0x5257, IS_TORNADO or HAS_NWAY or HAS_CB_FNS or EEPROM_8BIT or INVERT_MII_PWR or MAX_COLLISION_RESET or HAS_HWCKSM ; 3CCFE575CT Tornado CardBus |
2957 | dw 0x6562, IS_CYCLONE or HAS_NWAY or HAS_CB_FNS or EEPROM_8BIT or INVERT_MII_PWR or INVERT_LED_PWR or HAS_HWCKSM |
- | |
2958 | ; 3CCFEM656B Cyclone+Winmodem CardBus |
2921 | dw 0x6560, IS_CYCLONE or HAS_NWAY or HAS_CB_FNS or EEPROM_8BIT or INVERT_MII_PWR or INVERT_LED_PWR or HAS_HWCKSM ; 3CCFE656 Cyclone CardBus |
2959 | dw 0x6564, IS_TORNADO or HAS_NWAY or HAS_CB_FNS or EEPROM_8BIT or INVERT_MII_PWR or MAX_COLLISION_RESET or HAS_HWCKSM |
- | |
2960 | ; 3CXFEM656C Tornado+Winmodem CardBus |
2922 | dw 0x6562, IS_CYCLONE or HAS_NWAY or HAS_CB_FNS or EEPROM_8BIT or INVERT_MII_PWR or INVERT_LED_PWR or HAS_HWCKSM ; 3CCFEM656B Cyclone+Winmodem CardBus |
2961 | dw 0x4500, IS_TORNADO or HAS_NWAY or HAS_HWCKSM |
- | |
2962 | ; 3c450 HomePNA Tornado |
2923 | dw 0x6564, IS_TORNADO or HAS_NWAY or HAS_CB_FNS or EEPROM_8BIT or INVERT_MII_PWR or MAX_COLLISION_RESET or HAS_HWCKSM ; 3CXFEM656C Tornado+Winmodem CardBus |
2963 | dw 0x9201, IS_TORNADO or HAS_NWAY or HAS_HWCKSM |
- | |
2964 | ; 3c920 Tornado |
2924 | dw 0x4500, IS_TORNADO or HAS_NWAY or HAS_HWCKSM ; 3c450 HomePNA Tornado |
2965 | dw 0x1201, IS_TORNADO or HAS_HWCKSM or HAS_NWAY |
- | |
2966 | ; 3c982 Hydra Dual Port A |
2925 | dw 0x9201, IS_TORNADO or HAS_NWAY or HAS_HWCKSM ; 3c920 Tornado |
2967 | dw 0x1202, IS_TORNADO or HAS_HWCKSM or HAS_NWAY |
- | |
2968 | ; 3c982 Hydra Dual Port B |
2926 | dw 0x1201, IS_TORNADO or HAS_HWCKSM or HAS_NWAY ; 3c982 Hydra Dual Port A |
2969 | dw 0x9056, IS_CYCLONE or HAS_NWAY or HAS_HWCKSM or EXTRA_PREAMBLE |
- | |
2970 | ; 3c905B-T4 |
2927 | dw 0x1202, IS_TORNADO or HAS_HWCKSM or HAS_NWAY ; 3c982 Hydra Dual Port B |
Line 2971... | Line 2928... | ||
2971 | dw 0x9210, IS_TORNADO or HAS_NWAY or HAS_HWCKSM |
2928 | dw 0x9056, IS_CYCLONE or HAS_NWAY or HAS_HWCKSM or EXTRA_PREAMBLE ; 3c905B-T4 |
Line 2972... | Line 2929... | ||
2972 | ; 3c920B-EMB-WNM Tornado |
2929 | dw 0x9210, IS_TORNADO or HAS_NWAY or HAS_HWCKSM ; 3c920B-EMB-WNM Tornado |