DragonFly commits List (threaded) for 2007-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/share/man/man4 Makefile et.4 miibus.4 src/sys/dev/netif Makefile src/sys/dev/netif/et Makefile bitops.h if_et.c if_etreg.h if_etvar.h src/sys/dev/netif/mii_layer Makefile truephy.c truephyreg.h src/sys/conf files src/sys/config GENERIC ...
sephe 2007/10/12 07:12:42 PDT
DragonFly src repository
Modified files:
share/man/man4 Makefile miibus.4
sys/dev/netif Makefile
sys/dev/netif/mii_layer Makefile
sys/conf files
sys/config GENERIC LINT
Added files:
share/man/man4 et.4
sys/dev/netif/et Makefile bitops.h if_et.c if_etreg.h
if_etvar.h
sys/dev/netif/mii_layer truephy.c truephyreg.h
Log:
Add et(4), which supports Agere ET1310 based Ethernet chips (PCIe only)
This chips supports two RX rings, one is currently used for packets
whose size are smaller than 110 bytes, the other one is used for the
rest packets sizes.
Its RX interrupt moderation is quite similar to what bge(4) does:
Two control variables, one is used to control how many packet should be
received the other is used to control RX interrupt delay, RX interrupt
moderation is achieved through the interaction of these two variables.
Its TX interrupt moderation is more straightforward than RX's ;), you
can tell hardware which TX segment should trigger interrupt. It also
has a hardware timer, which is set to 1Hz currently to prevent
if_watchdog() from (mis)firing.
I didn't figure out how to add polling(4) support for this chip, its
RX state ring simply stops working if interrupts are disabled. However,
its hardware timer may be used to mimic polling(4) support.
The missing features of the driver as of this commit:
- Hardware checksum
- Hardware vlan tagging
- Jumbo buffer support
Hopefully, they will be added later.
Add TruePHY (will any vendors name their PHY as FalsePHY one day?) support
into miibus(4) for Agere ET1011C PHY, which is used by et(4). The data
sheet says model is 1 for ET1011C, while my testing card's model is 4; it
may be just a variant.
Revision Changes Path
1.70 +1 -0 src/share/man/man4/Makefile
1.14 +3 -0 src/share/man/man4/miibus.4
1.28 +4 -3 src/sys/dev/netif/Makefile
1.11 +1 -1 src/sys/dev/netif/mii_layer/Makefile
1.185 +2 -0 src/sys/conf/files
1.54 +1 -0 src/sys/config/GENERIC
1.134 +4 -0 src/sys/config/LINT
http://www.dragonflybsd.org/cvsweb/src/share/man/man4/Makefile.diff?r1=1.69&r2=1.70&f=u
http://www.dragonflybsd.org/cvsweb/src/share/man/man4/miibus.4.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/Makefile.diff?r1=1.27&r2=1.28&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/Makefile.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/conf/files.diff?r1=1.184&r2=1.185&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/config/GENERIC.diff?r1=1.53&r2=1.54&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/config/LINT.diff?r1=1.133&r2=1.134&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]