summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_bgereg.h
AgeCommit message (Collapse)Author
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
2006-02-01some more constants.Brad Smith
From NetBSD
2006-01-25- Count packets discarded by RX/TX MAC (cause of FIFO overflow, etc)Brad Smith
as input/output interface errors. - Keep values of rx/tx discards & tx collisions inside struct bge_softc. So we can keep statistic across ifconfig down/up runs (cause bringing bge up will reset chip). From oleg FreeBSD
2006-01-21some cleaning after removing code for reading the VPD.Brad Smith
2005-12-28eliminate the last few quirk flags.Brad Smith
2005-12-12If a PCI-X card is detected then set bge_pcix.Brad Smith
2005-12-11recognize BCM5750 C1 on Ted's Fujitsu Lifebook S7000Brad Smith
2005-12-08add BCM5903M PCI id and recognize BCM5714 and BCM5715 ASICs.Brad Smith
From Broadcom's Linux driver