CVS log for src/sys/dev/fxp/if_fxpreg.h
Up to [FreeBSD] / src / sys / dev / fxp
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.45.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (2 months, 4 weeks ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.45.2.1: preferred, colored
Changes since revision 1.45.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith Copy head to stable/9 as part of 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.39.10.6.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.39.10.6: preferred, colored; next MAIN 1.39.16.1: preferred, colored
Changes since revision 1.39.10.6: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release. Approved by: re (implicit)
Revision 1.43.2.3.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.43.2.3: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.2.3: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release. Approved by: re (implicit)
Revision 1.39.10.6: download - view: text, markup, annotated - select for diffs
Sun Nov 28 15:59:45 2010 UTC (14 months, 1 week ago) by marius
Branches: RELENG_7
CVS tags: RELENG_7_4_BP
Branch point for: RELENG_7_4
Diff to: previous 1.39.10.5: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.10.5: +2 -1 lines
SVN rev 216003 on 2010-11-28 15:59:45Z by marius MFC: r215906 Fix and implement missing parts of flow control support. This also removes the dev.fxp.%d.noflow tunable as the same effect can now be achieved with ifconfig(8) by setting the flowcontrol media option as desired (besides the tunable never having a chance to actually enable flow control support so far). In joint forces with: yongari
Revision 1.43.2.3: download - view: text, markup, annotated - select for diffs
Sun Nov 28 15:59:39 2010 UTC (14 months, 1 week ago) by marius
Branches: RELENG_8
CVS tags: RELENG_8_2_BP
Branch point for: RELENG_8_2
Diff to: previous 1.43.2.2: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.2.2: +2 -1 lines
SVN rev 216002 on 2010-11-28 15:59:39Z by marius MFC: r215906 Fix and implement missing parts of flow control support. This also removes the dev.fxp.%d.noflow tunable as the same effect can now be achieved with ifconfig(8) by setting the flowcontrol media option as desired (besides the tunable never having a chance to actually enable flow control support so far). In joint forces with: yongari
Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Nov 26 21:52:33 2010 UTC (14 months, 2 weeks ago) by marius
Branches: MAIN
CVS tags: RELENG_9_BP, HEAD
Branch point for: RELENG_9
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -1 lines
SVN rev 215906 on 2010-11-26 21:52:33Z by marius Fix and implement missing parts of flow control support. This also removes the dev.fxp.%d.noflow tunable as the same effect can now be achieved with ifconfig(8) by setting the flowcontrol media option as desired (besides the tunable never having a chance to actually enable flow control support so far). In joint forces with: yongari
Revision 1.43.2.2.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 4 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.43.2.2: preferred, colored; next MAIN 1.43.2.3: preferred, colored
Changes since revision 1.43.2.2: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith Copy stable/8 to releng/8.1 in preparation for 8.1-RC1. Approved by: re (implicit)
Revision 1.39.10.5: download - view: text, markup, annotated - select for diffs
Mon May 17 16:59:36 2010 UTC (20 months, 3 weeks ago) by yongari
Branches: RELENG_7
Diff to: previous 1.39.10.4: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.10.4: +8 -0 lines
SVN rev 208200 on 2010-05-17 16:59:36Z by yongari MFC r207832: Export hardware MAC statistics through sysctl node. Previously fxp(4) already used to extract most hardware MAC statistics but it didn't show them. With this change, all MAC statistics counters are exported. Because there are a couple of new counters for 82558 and 82559, enable extended MAC statistics functionality to get these counters. Accoring to public data sheet, 82559 MAC statistics return 24 DWORD counters(3 counters are unknown at this moment) so increase MAC counter structure to meet the MAC statistics block size. The completion of MAC counter dump is now checked against FXP_STATS_DR_COMPLETE status code which is appended at the end of status block. Previously fxp(4) ignored the status of the FXP_SCB_COMMAND_CU_DUMPRESET command. fxp(4) does not wait for the completion of pending command before issuing FXP_SCB_COMMAND_CU_DUMPRESET. Instead it skips the command and try it next time. This scheme may show better performance but there is chance to loose updated counters after stopping controller. So make sure to update MAC statistics in fxp_stop(). While I'm here move sysctl node creation to fxp_sysctl_node(). Tested by: Larry Baird < lab <> gta dot com >
Revision 1.43.2.2: download - view: text, markup, annotated - select for diffs
Mon May 17 16:57:55 2010 UTC (20 months, 3 weeks ago) by yongari
Branches: RELENG_8
CVS tags: RELENG_8_1_BP
Branch point for: RELENG_8_1
Diff to: previous 1.43.2.1: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.2.1: +8 -0 lines
SVN rev 208199 on 2010-05-17 16:57:55Z by yongari MFC r207832: Export hardware MAC statistics through sysctl node. Previously fxp(4) already used to extract most hardware MAC statistics but it didn't show them. With this change, all MAC statistics counters are exported. Because there are a couple of new counters for 82558 and 82559, enable extended MAC statistics functionality to get these counters. Accoring to public data sheet, 82559 MAC statistics return 24 DWORD counters(3 counters are unknown at this moment) so increase MAC counter structure to meet the MAC statistics block size. The completion of MAC counter dump is now checked against FXP_STATS_DR_COMPLETE status code which is appended at the end of status block. Previously fxp(4) ignored the status of the FXP_SCB_COMMAND_CU_DUMPRESET command. fxp(4) does not wait for the completion of pending command before issuing FXP_SCB_COMMAND_CU_DUMPRESET. Instead it skips the command and try it next time. This scheme may show better performance but there is chance to loose updated counters after stopping controller. So make sure to update MAC statistics in fxp_stop(). While I'm here move sysctl node creation to fxp_sysctl_node(). Tested by: Larry Baird < lab <> gta dot com >
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun May 9 22:16:15 2010 UTC (21 months ago) by yongari
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +8 -0 lines
SVN rev 207832 on 2010-05-09 22:16:15Z by yongari Export hardware MAC statistics through sysctl node. Previously fxp(4) already used to extract most hardware MAC statistics but it didn't show them. With this change, all MAC statistics counters are exported. Because there are a couple of new counters for 82558 and 82559, enable extended MAC statistics functionality to get these counters. Accoring to public data sheet, 82559 MAC statistics return 24 DWORD counters(3 counters are unknown at this moment) so increase MAC counter structure to meet the MAC statistics block size. The completion of MAC counter dump is now checked against FXP_STATS_DR_COMPLETE status code which is appended at the end of status block. Previously fxp(4) ignored the status of the FXP_SCB_COMMAND_CU_DUMPRESET command. fxp(4) does not wait for the completion of pending command before issuing FXP_SCB_COMMAND_CU_DUMPRESET. Instead it skips the command and try it next time. This scheme may show better performance but there is chance to loose updated counters after stopping controller. So make sure to update MAC statistics in fxp_stop(). While I'm here move sysctl node creation to fxp_sysctl_node(). Tested by: Larry Baird < lab <> gta dot com >
Revision 1.39.10.4.4.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (2 years ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.39.10.4: preferred, colored; next MAIN 1.39.10.5: preferred, colored
Changes since revision 1.39.10.4: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process. Approved by: re (implicit)
Revision 1.43.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.43.2.1: preferred, colored; next MAIN 1.43.2.2: preferred, colored
Changes since revision 1.43.2.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure. Approved by: re (implicit)
Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_0_BP
Branch point for: RELENG_8_0
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith Copy head to stable/8 as part of 8.0 Release cycle. Approved by: re (Implicit)
Revision 1.39.10.4.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.39.10.4: preferred, colored; next MAIN 1.39.10.5: preferred, colored
Changes since revision 1.39.10.4: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE. Approved by: re (implicit)
Revision 1.39.10.4: download - view: text, markup, annotated - select for diffs
Mon Feb 9 03:55:51 2009 UTC (3 years ago) by yongari
Branches: RELENG_7
CVS tags: RELENG_7_3_BP, RELENG_7_2_BP
Branch point for: RELENG_7_3, RELENG_7_2
Diff to: previous 1.39.10.3: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.10.3: +2 -1 lines
SVN rev 188376 on 2009-02-09 03:55:51Z by yongari MFC r185540: Add VLAN hardware tag insertion/stripping support. Tx/Rx checksum offload for VLAN frames are also supported. The VLAN hardware assistance is available only on 82550/82551 based controllers. While I'm here change the confusing name of bit1 in byte 22 of configuration block to vlan_drop_en. The bit controls whether hardware strips VLAN tagged frame or not. Special thanks to wpaul who sent valuable VLAN related information to me.
Revision 1.39.10.3: download - view: text, markup, annotated - select for diffs
Mon Feb 9 03:53:20 2009 UTC (3 years ago) by yongari
Branches: RELENG_7
Diff to: previous 1.39.10.2: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.10.2: +1 -0 lines
SVN rev 188375 on 2009-02-09 03:53:20Z by yongari
MFC r185354,185538:
r185354:
Add basic WOL support for 82550/82551/82558 and 82559 based
controllers. ICH based controllers are treated as 82559. 82557,
earlier revision of 82558 and 82559ER have no WOL capability.
o WOL support requires help of a firmware so add check whether
hardware is capable of handling magic frames by reading EEPROM.
o Enable accepting WOL frames only when hardware is about to
suspend or shutdown. Previously fxp(4) used to allow receipt of
magic frame under normal operation mode which could cause
hardware hang if magic frame is received by hardware. Datasheet
clearly states driver should not allow WOL frames under normal
operation mode.
o Disable WOL frame reception in device attach so have fxp(4)
immunize against system hang which can be triggered by magic
packets when the hardware is not in fully initialized state.
o Don't reset all hardware configuration data in fxp_stop()
otherwise important configuration data is lost and this would
reset WOL configuration to default state which in turn cause
hardware hang on receipt of magic frames. To fix the issue,
preserve hardware configuration data by issuing a selective
reset.
o Explicitly disable interrupts after issuing selective reset as
reset may unmask interrupts.
r185538:
Make sure to clear PMDR register by writing back power management
events. Just reading PMDR register was not enough to have fxp(4)
immuninize against received magic packets during system boot.
Revision 1.39.10.2: download - view: text, markup, annotated - select for diffs
Mon Feb 9 03:48:49 2009 UTC (3 years ago) by yongari
Branches: RELENG_7
Diff to: previous 1.39.10.1: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.10.1: +1 -1 lines
SVN rev 188374 on 2009-02-09 03:48:49Z by yongari
MFC r185330:
Implement TSO for 82550/82551 controllers.
o Configure controller to use dynamic TBD as TSO requires that
operation mode.
o Add a dummy TBD to tx_cb_u as TSO can access one more TBD in TSO
operation.
o Increase a DMA segment size to 4096 to hold a full IP segment
with link layer header.
o Unlike other TSO capable controllers, 82550/82551 does not
modify the first IP packet in TSO operation so driver should
create an IP packet with proper header. Subsequent IP packets
are generated from the header information in the first IP packet
header. Likewise pseudo checksum also should be computed by
driver for the first packet.
o TSO requires one more TBD to hold total TCP payload. To make
code simple for TSO/non-TSO case, increase the index of the
first available TBD array.
o Remove KASSERT that checks the size of a DMA segment should be
less than or equal to MCLBYTES as it's no longer valid in TSO.
o Tx threshold and number of TBDs field is used to store MSS in
TSO. So don't set the Tx threshold in TSO case.
Revision 1.39.10.1: download - view: text, markup, annotated - select for diffs
Mon Feb 9 03:28:57 2009 UTC (3 years ago) by yongari
Branches: RELENG_7
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2 lines
SVN rev 188366 on 2009-02-09 03:28:57Z by yongari MFC r185269,185271-185272 r185269: Whitespace fix. r185271: Sort head files and removed ununsed header file. r185272: Make fxp(4) build with FXP_IP_CSUM_WAR.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Dec 2 02:30:12 2008 UTC (3 years, 2 months ago) by yongari
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -1 lines
SVN rev 185540 on 2008-12-02 02:30:12Z by yongari Add VLAN hardware tag insertion/stripping support. Tx/Rx checksum offload for VLAN frames are also supported. The VLAN hardware assistance is available only on 82550/82551 based controllers. While I'm here change the confusing name of bit1 in byte 22 of configuration block to vlan_drop_en. The bit controls whether hardware strips VLAN tagged frame or not. Special thanks to wpaul who sent valuable VLAN related information to me. Tested on: i386, sparc64
Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Nov 27 01:57:23 2008 UTC (3 years, 2 months ago) by yongari
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +1 -0 lines
SVN rev 185354 on 2008-11-27 01:57:23Z by yongari Add basic WOL support for 82550/82551/82558 and 82559 based controllers. ICH based controllers are treated as 82559. 82557, earlier revision of 82558 and 82559ER have no WOL capability. o WOL support requires help of a firmware so add check whether hardware is capable of handling magic frames by reading EEPROM. o Enable accepting WOL frames only when hardware is about to suspend or shutdown. Previously fxp(4) used to allow receipt of magic frame under normal operation mode which could cause hardware hang if magic frame is received by hardware. Datasheet clearly states driver should not allow WOL frames under normal operation mode. o Disable WOL frame reception in device attach so have fxp(4) immunize against system hang which can be triggered by magic packets when the hardware is not in fully initialized state. o Don't reset all hardware configuration data in fxp_stop() otherwise important configuration data is lost and this would reset WOL configuration to default state which in turn cause hardware hang on receipt of magic frames. To fix the issue, preserve hardware configuration data by issuing a selective reset. o Explicitly disable interrupts after issuing selective reset as reset may unmask interrupts. Tested by: Alexey Shuvaev < shuvaev <> physik DOT uni-wuerzburg DOT de >
Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Nov 26 07:36:17 2008 UTC (3 years, 2 months ago) by yongari
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +1 -1 lines
SVN rev 185330 on 2008-11-26 07:36:17Z by yongari Implement TSO for 82550/82551 controllers. o Configure controller to use dynamic TBD as TSO requires that operation mode. o Add a dummy TBD to tx_cb_u as TSO can access one more TBD in TSO operation. o Increase a DMA segment size to 4096 to hold a full IP segment with link layer header. o Unlike other TSO capable controllers, 82550/82551 does not modify the first IP packet in TSO operation so driver should create an IP packet with proper header. Subsequent IP packets are generated from the header information in the first IP packet header. Likewise pseudo checksum also should be computed by driver for the first packet. o TSO requires one more TBD to hold total TCP payload. To make code simple for TSO/non-TSO case, increase the index of the first available TBD array. o Remove KASSERT that checks the size of a DMA segment should be less than or equal to MCLBYTES as it's no longer valid in TSO. o Tx threshold and number of TBDs field is used to store MSS in TSO. So don't set the Tx threshold in TSO case.
Revision 1.39.18.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith Create releng/7.1 in preparation for moving into RC phase of 7.1 release cycle. Approved by: re (implicit)
Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Nov 25 00:48:05 2008 UTC (3 years, 2 months ago) by yongari
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2 lines
SVN rev 185269 on 2008-11-25 00:48:05Z by yongari Whitespace fix.
Revision 1.39.16.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith Create releng/6.4 from stable/6 in preparation for 6.4-RC1. Approved by: re (implicit)
Revision 1.35.6.3: download - view: text, markup, annotated - select for diffs
Sun May 8 01:27:29 2005 UTC (6 years, 9 months ago) by mux
Branches: RELENG_5
CVS tags: RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5
Diff to: previous 1.35.6.2: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.6.2: +3 -0 lines
MFC: Enable extended RFDs and TCBs, and thus checksum offloading, for 82551 chipsets (revision IDs 0x0e, 0x0f and 0x10).
Revision 1.35.6.2: download - view: text, markup, annotated - select for diffs
Sun May 8 01:16:41 2005 UTC (6 years, 9 months ago) by mux
Branches: RELENG_5
Diff to: previous 1.35.6.1: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.6.1: +67 -67 lines
MFC the conversion to C99 types to reduce differences with HEAD.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Apr 22 13:05:53 2005 UTC (6 years, 9 months ago) by mux
Branches: MAIN
CVS tags: RELENG_7_BP, RELENG_7_1_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0, RELENG_6_BP, RELENG_6_4_BP, RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3, RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2, RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0, RELENG_6
Branch point for: RELENG_7_1, RELENG_7, RELENG_6_4
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -1 lines
Be more conservative when enabling extended features. There are fxp(4) NICs out there that have an utterly bogus revision ID. Reported by: Denis Shaposhnikov <dsh@vlink.ru>
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Apr 21 19:34:57 2005 UTC (6 years, 9 months ago) by mux
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -0 lines
Add a microcode to implement receive bundling for 82551 chipsets with a revision ID of 0x0f (D102 E-step). MFC after: 2 weeks Tested by: pav
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Mar 6 05:07:26 2005 UTC (6 years, 11 months ago) by mux
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +67 -67 lines
Cleanup: u_intXX_t -> uintX_t conversion.
Revision 1.35.6.1: download - view: text, markup, annotated - select for diffs
Sun Jan 30 00:59:42 2005 UTC (7 years ago) by imp
Branches: RELENG_5
CVS tags: RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +1 -1 lines
MFC: /*- and my license changes for sys/[a-d]*
Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Jan 6 01:42:42 2005 UTC (7 years, 1 month ago) by imp
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +1 -1 lines
Start each of the license/copyright comments with /*-, minor shuffle of lines
Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed May 14 20:33:41 2003 UTC (8 years, 8 months ago) by mux
Branches: MAIN
CVS tags: RELENG_5_BP, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3, RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2, RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Branch point for: RELENG_5
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +7 -7 lines
GCC 3.3 complains about anonymous structures in unions, so give the fxp_ipcb structure a name in the fxp_rfa structure. Submitted by: peter Approved by: re (jhb)
Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon May 12 18:15:33 2003 UTC (8 years, 9 months ago) by mux
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +1 -1 lines
Fix the unaligned access problems that some people saw on alpha by using a __packed keyword for the fxp_rfa structure. The Intel guys who designed this structure with unaligned fields deserve to be shot. Tested by: kris Approved by: re@ (jhb)
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Apr 6 21:35:45 2003 UTC (8 years, 10 months ago) by mux
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +22 -22 lines
Revert the s/u_int/u_int8_t/ changes, we can't really use other integer types than int with bit-fields in a portable way. Prodded by: bde
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Apr 6 01:11:38 2003 UTC (8 years, 10 months ago) by mux
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
Correct the definition of the link_addr and rbd_addr fields in struct fxp_rfa. This should have been committed with my last endianness fixes.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Apr 5 23:46:58 2003 UTC (8 years, 10 months ago) by mux
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +99 -81 lines
- Use __FXP_BITFIELDX macros to make the configuration bitfield endian safe. - Change some u_int to u_int8_t which make more sense here since we're really defining bytes. That produces the same code due to how bitfields work. - Add the definition of the vlan_drop_en bit (not used yet). - Add some useful comments. Obtained from: NetBSD
Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Apr 3 18:39:48 2003 UTC (8 years, 10 months ago) by mux
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
Fix fxp(4), this changed shouldn't have crept in. Pointy hat to: mux Reported by: Pawel Worach <pawel.worach@nordea.com>
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Apr 3 14:08:35 2003 UTC (8 years, 10 months ago) by mux
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +144 -144 lines
Remove all the bogus volatile qualifiers from the structs definitions and associated evil casts to discard them.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Apr 2 16:47:16 2003 UTC (8 years, 10 months ago) by mux
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -14 lines
Convert the fxp(4) driver to the busdma API. This patch is rather big because I had to significantly redesign the driver to make the busdma conversion possible. Most notably, hardware and software structures were carefully splitted to get rid of all the structs overlapping evilness. Special thanks to phk and Richard Puga <puga@mauibuilt.com> for providing me with fxp(4) hardware to do this work. Thanks to marcel for testing this on ia64, and to Fred Clift <fclift@verio.net> for testing this on alpha. Tested on: i386, ia64, alpha
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Feb 26 22:12:04 2003 UTC (8 years, 11 months ago) by wpaul
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +80 -2 lines
As previously threatened, add TCP/IP checksum offload support to the fxp driver. This is enabled only for the 82550/82551 chips (PCI revision code 12 or 13). RX and TX checksum offload are both supported. Transmit offload is limited to TCP and UDP only right now: there seems to be a problem with IP header checksumming on transmit in some cases. This chip has hardware VLAN support as well. I hope to enable support for this eventually.
Revision 1.23.2.5: download - view: text, markup, annotated - select for diffs
Fri Nov 2 16:50:41 2001 UTC (10 years, 3 months ago) by jlemon
Branches: RELENG_4
CVS tags: RELENG_4_9_BP, RELENG_4_9_0_RELEASE, RELENG_4_9, RELENG_4_8_BP, RELENG_4_8_0_RELEASE, RELENG_4_8, RELENG_4_7_BP, RELENG_4_7_0_RELEASE, RELENG_4_7, RELENG_4_6_BP, RELENG_4_6_2_RELEASE, RELENG_4_6_1_RELEASE, RELENG_4_6_0_RELEASE, RELENG_4_6, RELENG_4_5_BP, RELENG_4_5_0_RELEASE, RELENG_4_5, RELENG_4_11_BP, RELENG_4_11_0_RELEASE, RELENG_4_11, RELENG_4_10_BP, RELENG_4_10_0_RELEASE, RELENG_4_10
Diff to: previous 1.23.2.4: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.4: +24 -8 lines
MFC; sync to -current. Brings in ucode support, dynamic sysctls, and
expanded fix for dynamic standby mode.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Oct 25 05:25:58 2001 UTC (10 years, 3 months ago) by jlemon
Branches: MAIN
CVS tags: RELENG_5_0_BP, RELENG_5_0_0_RELEASE, RELENG_5_0
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +24 -8 lines
. Add structure definition for microcode download.
Submitted by: Marko Zec <zec@tel.fer.hr>
. Add some PCI chip revision entries.
. Make size of txcb dependent on pointer size rather than arch #define
Revision 1.23.2.4: download - view: text, markup, annotated - select for diffs
Fri Aug 31 02:17:02 2001 UTC (10 years, 5 months ago) by jlemon
Branches: RELENG_4
CVS tags: RELENG_4_4_BP, RELENG_4_4_0_RELEASE, RELENG_4_4
Diff to: previous 1.23.2.3: preferred, colored
Changes since revision 1.23.2.3: +2 -1 lines
MFC: r1.117; enable eeprom workaround for defective ICH2/ICH2M chips. Approved by: jkh
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Aug 27 16:07:12 2001 UTC (10 years, 5 months ago) by jlemon
Branches: MAIN
CVS tags: KSE_PRE_MILESTONE_2, KSE_MILESTONE_2
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -1 lines
Systems based on the ICH2/ICH2-M chip from Intel have a defect where the chip can cause a PCI protocol violation in under certain scenarios. The workaround is to rewrite the EEPROM to disable Dynamic Standby Mode. Once the EEPROM is rewritten, the system needs to be rebooted in order to pick up the new settings. This has been tested on several ICH2/ICH2-M systems, found in 815E based boards, and usually identified by the presence of the 82562 ET/EM PHY. Thanks to: Mike Tansca, Paul Saab for samples of the problematic boards.
Revision 1.23.2.3: download - view: text, markup, annotated - select for diffs
Tue May 15 18:54:16 2001 UTC (10 years, 8 months ago) by jlemon
Branches: RELENG_4
Diff to: previous 1.23.2.2: preferred, colored
Changes since revision 1.23.2.2: +2 -2 lines
MFC; correct support for fxp with 503 SEEQ phy.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue May 15 18:52:40 2001 UTC (10 years, 8 months ago) by jlemon
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
Use " |= " to enable special media handling for fxp with no MII, instead of " &= ". Also change the MII PHY device mask to check the correct bits. Cookie to: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> Pointy hat to: me
Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Mon May 14 13:20:28 2001 UTC (10 years, 8 months ago) by jlemon
Branches: RELENG_4
Diff to: previous 1.23.2.1: preferred, colored
Changes since revision 1.23.2.1: +18 -3 lines
Sync to -current, apparently some things got left out in the initial commit:
o cosmetic style fixes
o correct 82557/8255{8,9} flow control
o VLAN support
o consistency check for miibus
o additinal register definitions
Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Sun May 13 00:09:42 2001 UTC (10 years, 9 months ago) by jlemon
Branches: RELENG_4
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -18 lines
Bring the new fxp driver into -stable
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat May 12 23:59:48 2001 UTC (10 years, 9 months ago) by jlemon
Branches: MAIN
Branch point for: RELENG_4
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +13 -1 lines
Add a few more register definitions.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Mar 14 19:50:35 2001 UTC (10 years, 10 months ago) by jlemon
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +6 -3 lines
Add some performance features to the fxp driver. If the chip is not
a 82557 (e.g.: a newer chip) then:
+ enable MWI, if the PCI configuration indicates the system supports it
+ enable usage of extended TxCB, for better performance
+ enable hardware flow control. FC frames will be passed up to the
host only if promiscuous mode is enabled.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Mar 12 21:30:52 2001 UTC (10 years, 11 months ago) by jlemon
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +52 -123 lines
Convert the fxp driver to miibus, which involves ripping out the PHY logic and media bits. Support for Intel PHYs can now be found in dev/mii/inphy.c. Clean up the driver, and add various 82558 and 82559 specific bits.
Revision 1.18.2.2: download - view: text, markup, annotated - select for diffs
Wed Oct 4 10:16:12 2000 UTC (11 years, 4 months ago) by ps
Branches: old_RELENG_4
CVS tags: old_RELENG_4_2_0_RELEASE
Diff to: previous 1.18.2.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.2.1: +2 -1 lines
MFC: Add the PCI device ID for the on-board ethernet controllers on the Intel 815E motherboard.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Sep 21 20:01:57 2000 UTC (11 years, 4 months ago) by wpaul
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -1 lines
Add the PCI device ID for the on-board ethernet controllers on the Intel 815E motherboard, which I believe is an i82562. Seems to work just fine with the fxp driver.
Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 00:54:30 2000 UTC (11 years, 7 months ago) by dg
Branches: old_RELENG_4
CVS tags: old_RELENG_4_1_1_RELEASE, old_RELENG_4_1_0_RELEASE
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1 lines
Merged changes from rev 1.80: support for 82559ER.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Jun 18 10:26:09 2000 UTC (11 years, 7 months ago) by dg
Branches: MAIN
CVS tags: old_PRE_SMPNG
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1 lines
Added support for the i82559ER (10/100Mbps NIC for embedded applications). Product device ID provided by: Les Biffle <les@ns3.safety.net>
Revision 1.13.2.3: download - view: text, markup, annotated - select for diffs
Mon Dec 6 20:11:53 1999 UTC (12 years, 2 months ago) by peter
Branches: old_RELENG_3
CVS tags: old_RELENG_3_5_0_RELEASE, old_RELENG_3_4_0_RELEASE
Diff to: previous 1.13.2.2: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.2: +3 -2 lines
MFC: new PCI device ID for the InBusiness 10/100 card. (an 82559 with a different PCI device ID in it's eprom - 0x1030 instead of 0x1229) Reviewed by: jkh, dg
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Sep 30 19:03:11 1999 UTC (12 years, 4 months ago) by gallatin
Branches: MAIN
CVS tags: old_RELENG_4_BP, old_RELENG_4_0_0_RELEASE
Branch point for: old_RELENG_4
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
Make the fxp driver work on alpha, rather than panic the machine on boot and/or when using the card. o Convert the driver to using bus_space. This allows alphas with fxp's to boot, rather than panic'ing because rman_get_virtual() doesn't really return a virtual address on alphas. o Fix an alpha unaligned access error caused by some misfeature of gcc/egcs: if link_addr & rbd_addr in the fxp_rfa struct are 32 bit quantities, egcs will assume they are naturally aligned. So it will do a ldl & some shifty/masky to twiddle 16 bit values in fxp_lwcopy(). However, if they are 16-bit aligned, the ldl will actually be done on a 16-bit aligned value & we will panic with an unaligned access error... Changing their definition to an array of chars seems to fix this. I obtained this from NetBSD. I've tested this on both i386 & alpha.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Sep 6 06:15:18 1999 UTC (12 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -2 lines
Recognise the new 82559 chip id as used on the InBusiness 10/100 adapter. I have an 82559 card with the same id as the other 8255[78] chips, but that was made with a date code of 0699 (June 99). The submitter shows this working with the probe etc, but doesn't actually say it works as on the ethernet. :-) Assuming it does, this is a RELENG_3 merge candidate. Submitted by: Steven E Lumos <slumos@sam.ISRI.UNLV.EDU>
Revision 1.2.2.5: download - view: text, markup, annotated - select for diffs
Sun Sep 5 08:36:47 1999 UTC (12 years, 5 months ago) by peter
Branches: old_RELENG_2_1_0
Diff to: previous 1.2.2.4: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.4: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.3.2.7: download - view: text, markup, annotated - select for diffs
Sun Sep 5 08:21:07 1999 UTC (12 years, 5 months ago) by peter
Branches: old_RELENG_2_2
Diff to: previous 1.3.2.6: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.6: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 29 16:31:38 1999 UTC (12 years, 5 months ago) by peter
Branches: old_RELENG_3
CVS tags: old_RELENG_3_3_0_RELEASE
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.1: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Aug 28 00:50:51 1999 UTC (12 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 15 08:47:10 1999 UTC (12 years, 11 months ago) by julian
Branches: old_RELENG_3
CVS tags: old_RELENG_3_2_PAO_BP, old_RELENG_3_2_PAO, old_RELENG_3_2_0_RELEASE
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +86 -11 lines
MFC: Add ability to sense the autodetected speed and duplex mode.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Feb 11 23:41:21 1999 UTC (13 years ago) by julian
Branches: MAIN
CVS tags: old_PRE_VFS_BIO_NFS_PATCH, old_PRE_SMP_VMSHARE, old_PRE_NEWBUS, old_POST_VFS_BIO_NFS_PATCH, old_POST_SMP_VMSHARE, old_POST_NEWBUS
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +29 -10 lines
Define more registers and fix incorrect (but unused) register bit definitions.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Feb 11 21:47:10 1999 UTC (13 years ago) by julian
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +62 -6 lines
Define more registers in the PHY unit and use them to report back the result of the media auto negotiation. Reviewed by: David Greenman <dg@freebsd.org>
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Jun 8 09:47:46 1998 UTC (13 years, 8 months ago) by bde
Branches: MAIN
CVS tags: old_RELENG_3_BP, old_RELENG_3_1_0_RELEASE, old_RELENG_3_0_0_RELEASE, old_PRE_NOBDEV
Branch point for: old_RELENG_3
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +22 -22 lines
Fixed pedantic semantics errors (bitfields not of type int, signed int or unsigned int (this doesn't change the struct layout, size or alignment in any of the files changed in this commit, at least for gcc on i386's. Using bitfields of type u_char may affect size and alignment but not packing)).
Revision 1.3.2.6: download - view: text, markup, annotated - select for diffs
Tue Mar 3 14:20:54 1998 UTC (13 years, 11 months ago) by dg
Branches: old_RELENG_2_2
CVS tags: old_RELENG_2_2_8_RELEASE, old_RELENG_2_2_7_RELEASE, old_RELENG_2_2_6_RELEASE
Diff to: previous 1.3.2.5: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.5: +2 -1 lines
Brought in changes from rev 1.50/1.12: additional PHY support.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Mar 3 14:19:09 1998 UTC (13 years, 11 months ago) by dg
Branches: MAIN
CVS tags: old_PRE_SOFTUPDATE, old_PRE_DEVFS_SLICE, old_POST_SOFTUPDATE, old_POST_DEVFS_SLICE
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1 lines
Added support for the 82553 and 'B' 82555 PHY.
Revision 1.3.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 30 12:43:29 1997 UTC (14 years, 4 months ago) by davidg
Branches: old_RELENG_2_2
CVS tags: old_RELENG_2_2_5_RELEASE
Diff to: previous 1.3.2.4: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.4: +53 -20 lines
Back-ported the driver from -current (through rev 1.42). This is only slightly changed from what is in -current, with the differences being: 1) Multicast support had to be changed to work with the old software method for going through the list of multicast addresses. 2) The timeout()/untimeout() calls had to be reverted.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Sep 29 11:27:42 1997 UTC (14 years, 4 months ago) by davidg
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +33 -7 lines
Work around a bug in the 82557 NIC where the receiver will lock up if it is in 10Mbps mode and gets certain types of garbage prior to the packet header. The work-around involves reprogramming the multicast filter if nothing is received in some number of seconds (currently set at 15). As a side effect, implemented complete support for multicasting rather than the previous 'receive all multicasts' hack, since we now have the ability to program the filter table. Fixed a serious bug which crept in with the timeout() changes; the cookie was only saved on the first timeout() call in fxp_init() and wasn't updated in the most common place in fxp_stats_update() when the timeout was rescheduled. This bug would have resulted in an eventual panic if fxp_stop() was called (which happens when any interface flags are changed, for example). Fixed a bug in Alpha support that would have caused the TxCB descriptor chain to span a page boundry, causing serious problems if the pages didn't happen to be contiguous. Removed some gratuitous bit masking that was left over from an older implementation. Fixed a bug where too much was copied from the configuration template, spilling over into memory that followed it. Fixed handling of if_timer...it was cleared too early in some cases.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Sep 5 10:23:56 1997 UTC (14 years, 5 months ago) by davidg
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +21 -14 lines
Changes to support NetBSD and the new ifmedia extensions. Submitted by: Jason Thorpe <thorpej@netbsd.org>
Revision 1.3.2.4: download - view: text, markup, annotated - select for diffs
Sun Jun 22 05:01:46 1997 UTC (14 years, 7 months ago) by davidg
Branches: old_RELENG_2_2
Diff to: previous 1.3.2.3: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.3: +7 -6 lines
Merged 1.34-1.36 from -current: support for 82555 PHY and minor optimization.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jun 13 22:34:52 1997 UTC (14 years, 8 months ago) by davidg
Branches: MAIN
CVS tags: old_WOLLMAN_MBUF, old_BP_WOLLMAN_MBUF
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -6 lines
Added support for the Intel 82555 PHY chip which is being used on newer Pro/100B cards. Full duplex should work now, although it hasn't been tested.
Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Fri Mar 21 08:02:52 1997 UTC (14 years, 10 months ago) by davidg
Branches: old_RELENG_2_1_0
Diff to: previous 1.2.2.3: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.3: +10 -1 lines
Merged fixes from -current: DP83840A support, bug fix, link0/1/2 support.
Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Fri Mar 21 08:01:52 1997 UTC (14 years, 10 months ago) by davidg
Branches: old_RELENG_2_2
CVS tags: old_RELENG_2_2_2_RELEASE, old_RELENG_2_2_1_RELEASE
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.2: +10 -1 lines
Merged fixes from -current: DP83840A support, bug fix, link0/1/2 support.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Mar 21 08:00:13 1997 UTC (14 years, 10 months ago) by davidg
Branches: MAIN
CVS tags: old_pre_smp_merge, old_post_smp_merge
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +10 -1 lines
Added support for newer cards that have the DP83840A PHY chip. Fixed a bug in fxp_mdi_write - a hex number was missing a preceding 0x and this was causing the routine to not wait for a PHY write to complete. Added support for link0, link1, and link2 flags to toggle auto- negotiation, 10/100, and half/full duplex: link0 disable auto-negotiation When set, these flags then have meaning: -link1 10Mbps link1 100Mbps -link2 half duplex link2 full duplex ...needs a manual page.
Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 17 11:11:34 1997 UTC (14 years, 10 months ago) by davidg
Branches: old_RELENG_2_1_0
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.2: +27 -1 lines
Brought in (similar) changes from -current: fixes for full duplex and PCI Pro/10.
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 17 11:09:44 1997 UTC (14 years, 10 months ago) by davidg
Branches: old_RELENG_2_2
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +27 -1 lines
Brought in fixes from main branch: fixes for full duplex and PCI Pro/10.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Mar 17 11:08:16 1997 UTC (14 years, 10 months ago) by davidg
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +27 -1 lines
Fixed two deficiencies in the driver that have existed since it was written: 1) Full duplex mode is now supported (and works!) 2) The 10Mbps-only PCI Pro/10 should now work (untested, however) Thanks to Justin Gibbs for providing a PCI bus analyzer trace while the Intel Windows driver was configuring the board...this made it possible to figure out the mystery bit that I wasn't setting in the PHY for full duplex to work.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Feb 22 09:44:06 1997 UTC (14 years, 11 months ago) by peter
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -1 lines
Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not ready for it yet.
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Wed Feb 5 12:50:33 1997 UTC (15 years ago) by davidg
Branches: old_RELENG_2_1_0
CVS tags: old_RELENG_2_1_7_RELEASE
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +6 -1 lines
Brought in various fixes from main branch and wcarchive: some configuration changes having to do with DMA limits, change to the way that the board is reset to avoid PCI/system hang, and don't count short frames as input errors. Tested extensively on wcarchive.
Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 4 10:54:00 1997 UTC (15 years ago) by davidg
Branches: old_RELENG_2_2
CVS tags: old_RELENG_2_2_0_RELEASE
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +6 -1 lines
Brought in changes from main branch: do selective rather than full reset.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Feb 4 10:53:12 1997 UTC (15 years ago) by davidg
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -0 lines
Do "selective" reset rather than full reset...the manual specifically says not to do the full reset because it can lock up the PCI bus if the chip is active. Added various PORT command definitions to facilitate this.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jan 14 06:53:30 1997 UTC (15 years ago) by jkh
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -1 lines
Make the long-awaited change from $Id$ to $FreeBSD$ This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 8 01:32:00 1996 UTC (15 years, 10 months ago) by davidg
Branches: old_RELENG_2_1_0
CVS tags: old_RELENG_2_1_6_RELEASE, old_RELENG_2_1_6_1_RELEASE, old_RELENG_2_1_5_RELEASE
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -6 lines
From main branch: updates to my copyright.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Apr 8 01:31:42 1996 UTC (15 years, 10 months ago) by davidg
Branches: MAIN
CVS tags: old_RELENG_2_2_BP
Branch point for: old_RELENG_2_2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -6 lines
Removed sections 3 and 4 from my copyright.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Dec 5 11:49:55 1995 UTC (16 years, 2 months ago) by davidg
Branches: MAIN
CVS tags: old_wollman_polling
Branch point for: old_RELENG_2_1_0
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Increased the number of Tx segments from 13 to 29 to reduce the need to recopy to near zero. Wrote the necessary code to recopy the mbuf chain into another buffer if there are too many mbufs in the chain.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Nov 28 23:55:26 1995 UTC (16 years, 2 months ago) by davidg
Branches: MAIN
Device driver for Intel Pro/100 PCI Fast Ethernet controller.
