summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_bgereg.h
AgeCommit message (Collapse)Author
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
2006-07-01recognize the 5750 C2.Brad Smith
2006-06-22recognize the BCM5703 B0.Brad Smith
2006-06-19some new ASIC revisions.Brad Smith
2006-05-28- remove ETHER_MAX_LEN_JUMBO and ETHERMTU_JUMBO.Brad Smith
- use if_hardmtu for MTU ioctl handlers. ok reyk@
2006-04-21recognize the BCM5752 A2Brad Smith
2006-04-13typoBrad Smith
2006-04-05add a power hook for bge(4).Brad Smith
From Thordur I. Bjornsson <thib at mi dot is>
2006-03-10in bge_intr() also check the PCI State register to see if thereBrad Smith
are really any interrupts to service. Based on the Linux tg3 driver though the Broadcom bcm5700 driver does the same thing.
2006-02-21- Overhaul link state detection code.Brad Smith
- Make use of if_link_state_change() so CARP will now see link state changes for fibre cards. revs 1.102, 1.104, 1.113, 1.120, and 1.124. From FreeBSD Tested with 5700/5701/5703/5704/5750 and a 5752.
2006-02-11recognize another 5714 family chipset.Brad Smith