DragonFly commits List (threaded) for 2007-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/dev/netif/mii_layer brgphy.c brgphyreg.h src/sys/dev/netif/bge if_bge.c if_bgereg.h
sephe 2007/05/06 21:54:32 PDT
DragonFly src repository
Modified files:
sys/dev/netif/mii_layer brgphy.c brgphyreg.h
sys/dev/netif/bge if_bge.c if_bgereg.h
Log:
Add new devices support for bge(4)
- Recognize more devices, including PCI ids, chip ids and asic ids.
- Use meaningful macros to distinguish chip family and capability, instead of
test against chip id or asic id directly.
- Pack bool fields of bge_softc into bge_softc.bge_flags,
o bge_softc.bge_extram is gone, which was never adopted.
o Add flags for jumbo frame capability.
o Add flags for various chip families.
o Add flags for the bus types (PCI-e/PCI-X).
o Add flags for various PHY bugs, which will be used by brgphy.
- Fix the detection of the bus type (PCI-e/PCI-X). (*)
- Properly initialize PCI-X bge(4).
- Fix support for certain 575x/578x chips (*):
o Correct bge_{read,write}mem_ind() by clearing BGE_PCI_MEMWIN_BASEADDR
before returning.
o Use the appropriate register writing method when reseting the chip.
o Program the descriptor DMA engine correctly.
o Disable fastboot if the chips support it.
o Add some 'magical' magics on chip resetting path.
Obtained-from: FreeBSD
# (*) are done in if_bge.c rev 1.159 and 1.178 by scottl@freebsd.org and
# jkim@freebsd.org, based on code provided by David Christenson from Broadcom.
Adapt brgphy to work with the changes in bge(4)
- Recognize Broadcom 5755/5787 PHY.
- Add DSP code for various PHY bug workarounds.
- Detect PHY bugs based on the flags passed by bge(4) and load corresponding
workaround DSP code.
Obtained-from: OpenBSD
- Set PHY jumbo frame settings.
Obtained-from: FreeBSD
Revision Changes Path
1.17 +136 -76 src/sys/dev/netif/mii_layer/brgphy.c
1.4 +3 -0 src/sys/dev/netif/mii_layer/brgphyreg.h
1.75 +333 -179 src/sys/dev/netif/bge/if_bge.c
1.21 +70 -14 src/sys/dev/netif/bge/if_bgereg.h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/brgphy.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/brgphyreg.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/bge/if_bge.c.diff?r1=1.74&r2=1.75&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/bge/if_bgereg.h.diff?r1=1.20&r2=1.21&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]