summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_bgereg.h
AgeCommit message (Collapse)Author
2010-01-09Add support for the Broadcom BCM57765 ASIC and newer BroadcomChristian Weisgerber
BCM577xx chipsets. From Brad.
2009-10-11Add support for the Broadcom BCM5717 ASIC and the BCM5717 / BCM5718 chipsets.Stuart Henderson
Based on info gleaned from the Linux tg3 driver. From Brad, ok naddy@
2009-07-21Add a family flag for the original 5700 series chipsets. Idea from FreeBSD.Christian Weisgerber
But also use the flag where it makes sense. From Brad; ok sthen@
2009-06-19Allow bge(4) to recognize the revisions of the 57780 ASICs. From Brad.Christian Weisgerber
2009-06-19Some more defines for bge(4). Mainly bits for accessingChristian Weisgerber
info from the firmware. Some of it will be required for further work on both older and newer chipsets. Gleaned from the Linux tg3 driver. From Brad.
2009-06-04replace the cumbersome macros that check for chip revisions with quirk flagsChristian Weisgerber
set at attach; from Brad
2009-06-03register bit definitions instead of magic numbers;Christian Weisgerber
gleaned from the Linux tg3 driver; from Brad
2009-06-02minor tidying; from Brad; ok sthen@Christian Weisgerber
2009-05-21add support for BCM576x, 577xx, and some new 572x/578x devices.Stuart Henderson
from Brad; testing by phessler, naddy, myself and others on a range of older and newer devices. ok dlg@.
2009-04-23Start using extended buffer descriptors on the jumbo ring and use MCLGETI toMark Kettenis
allocate mbufs for it. Another jumbo allocator bites the dust! ok dlg@
2008-12-23if we cant put enough packets on the rx ring then schedule a timeout toDavid Gwynne
try again later. tested by many
2008-12-03switch bge over to using MCLGETI when allocating mbufs for the rx ring.David Gwynne
tested by many including henning@ sthen@ naddy@ krw@ robert@ jmc@ jsg@ weerd@ and ingo schwarze on a variety of machines include i386, amd64, alpha, and sparc64.
2008-11-08brad, noone said you could go making changes like that (doubling theTheo de Raadt
amount of memory and interrupt time each bge uses) without discussing it with other people. lots of people are complaining about the lack of communication in your process, and you are going to have to change that.
2008-11-08Clean up some of the comments.Brad Smith
2008-11-07When initializing the MAC put the PHY into ready state for BCM5906Brad Smith
chipsets. From the Linux tg3 driver via FreeBSD. Tested by Jordi Creix <jbcreix dot mail at gmail dot com>
2008-07-17Add a flag and allow the driver to identify the BCM5788 chipsets. They'reBrad Smith
slightly different from the other chipsets using the BCM5705 ASIC. ok jsg@
2008-07-16Enable the read DMA engine's PCI read request burst length long burstBrad Smith
mode (4KB) for PCIe chips. This resolves the poor TX performance for the PCIe chips. The result being a bit under double the TX performance on a Gig connection (roughly 495 Mb/s -> 940 Mb/s). Tested by reyk@, sthen@, brad@ and a few end users.
2008-04-20Add a workaround for a CRC bug errata with BCM5701 A0 and B0 chipsetBrad Smith
revisions. From Linux via FreeBSD. ok dlg@
2008-04-03Clean up the DMA read/write control register setup code and add someBrad Smith
comments. Tested by a number of users with a variety of chipsets. From FreeBSD ok kettenis@
2008-03-02Correct the comment describing the BGE_PCISTATE_PCI_BUSSPEED bit.Brad Smith
It had the sense of the bit reversed. From jdp@FreeBSD ok kettenis@
2008-02-20When collecting the hardware statistics add the interfaces input errorsBrad Smith
counter and out of receive buffer descriptors counter to the network stacks input errors counter. Based on a diff from mickey@ though updated for -current and added support for BCM5705 or newer chipsets from brad@. Tested it with BCM5704 on i386/amd64, BCM5700 on sparc64, BCM5701/BCM5751M on i386 and BCM5721/BCM5780 on amd64. ok krw@ sthen@ dlg@
2008-02-20when bge has link, use autopolling for link status, not direct mii polls.Stuart Henderson
fixes input errors on BCM5701/5702X/5704 and may avoid firmware hangs on some cards if asf/ipmi support is added. original diff from Oleg Bulyzhin in a freebsd-net post and ported by mickey; included stats counter changes which don't apply to -current so they are split out and not included here. "The rest of the diff looks ok" brad. tested on 5701/5702X/5703X/5704C/5721 by mpf naddy okan beck sthen ok beck (before splitting out stats changes), krw, henning. closes kernel/5699
2008-02-18Add initial bits for fiber support with the BCM5714/BCM5715/BCM5780 chipsets.Brad Smith
Tested by brad@, chl@, sthen@, Johan Mson Lindman and Ian Lindsay <iml04@hampshire.edu> ok dlg@
2008-02-02- Simplify statistics updates and remove redundant register reads.Brad Smith
- Add discarded RX packets to input errors for the BCM5705 or newer chipsets. Unfortunately output errors cannot be added because the equivalent to the ifOutDiscards register does not exist. - Replace misleading and wrong BGE_RX_STATS/BGE_TX_STATS with BGE_MAC_STATS. They were reversed but just happened to work. From FreeBSD Tested by chl@, landy@, sthen@, krw@, okan@ and brad@ ok dlg@
2008-01-31recognize the BCM5755 C0 ASIC revision.Brad Smith
tested by Rodolfo Gouveia and marco@ ok kettenis@ marco@ dlg@
2007-11-17Rename fiber TBI flag from BGE_TBI to BGE_PHY_FIBER_TBI. No functional change.Brad Smith
ok dlg@
2007-10-13Add support for BCM5906.Mark Kettenis
ok deraadt@
2007-10-11Make BGE_JUMBO_FRAMELEN big enough to include vlan tag. Fixes problems withMark Kettenis
receiving jumbo frames on bge(4). ok krw@
2007-02-10Add more chipset revision ids.Kenneth R Westerback
From scottl via FreeBSD and brad@.
2007-01-30Rough in more support for 5787/5755 chips so far known to not work orKenneth R Westerback
unreported in the wild. In this case add a PHY workaround for an eventual mobile version of the chipset. No change to existing functionality. From Michael Chan (mchan@broadcom), via Linux tg3 and brad.
2007-01-10Flow control support for bge(4)/brgphy(4). From brad@ based on code fromMark Kettenis
NetBSD.
2006-12-22Remove never used code for a BCM5700 feature (BGE_EXTRAM) that didn'tKenneth R Westerback
survive past 1st gen silicon. From brad. Tested by wilfried@ and Johan Mason Lindman.
2006-10-22recognize the BCM5715 A3 chipset.Brad Smith
2006-10-19s/Mhz/MHz/ in comments and printf() stringsTom Cosgrove
ok jsg@
2006-10-17disable the firmware fastboot feature on 5752/5755 and 5787 ASICs,Brad Smith
eliminates firmware timeouts. Tested by pedro la peu <pedro at am-gen dot org> with a 5752 ASIC and Benjamin Black <ben at layer8 dot net> with a 5787 ASIC.
2006-10-15recognize the BCM5787 A2 chipset.Brad Smith
2006-10-07add a no Ethernet@Wirespeed flag.Brad Smith
2006-10-07add and set PHY workaround flags depending on the ASIC revisionBrad Smith
or chip id.
2006-10-01pack several boolean fields into the existing bge_flags field.Brad Smith
2006-10-01add the PCI ids for the BCM5722, BCM5756, BCM5906 and BCM5906M chipsets.Brad Smith
the BCM5906/BCM5906M ids are not enabled for now; these chips are quite a bit different from the others and are currently unsupported.
2006-09-17add a flag to indicate which boards are only capable of 10/100 modes ofBrad Smith
operation.
2006-09-17Readd the Dell PHY LED setup workaround and the Jumbo capability flag.Brad Smith
2006-09-17- correct the firmware synchronization in bge_reset(), thisBrad Smith
eliminates firmware timeouts for the BCM5752 as the hw firmware was coming up too fast for the driver. - remove the redundant firmware check in bge_chipinit(). Tested by pedro la peu <pedro at am-gen dot org> on an IBM ThinksPpad Z61m with a BCM5752, as well as the 5700/5703/5704 and 5750. The initial diff for bge_reset() and other information from David Christensen <davidch at broadcom dot com>.
2006-08-29Add support for onboard bge(4)'s on Sun UltraSPARC hardware that apparentlyMark Kettenis
come without an attached SEEPROM. ok deraadt@
2006-08-28revert flags usage commits. too close to release. will go in post release ↵Brad Smith
instead. requested by deraadt@
2006-08-28add a BGE_JUMBO flag.Brad Smith
2006-08-28Dell PCI vendor subid.Brad Smith
2006-08-27pack several boolean fields into the existing bge_flags field.Brad Smith
2006-08-16remove the sparc64 workarounds for the jumbo frame receive ring sizes nowBrad Smith
that the iommu code has been fixed.
2006-07-18increase the number of Jumbo slots a little bit for sparc64.Brad Smith