summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_bgereg.h
AgeCommit message (Collapse)Author
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
2005-11-27add initial support for ASF.Brad Smith
this should allow IPMI BMC pass-through to work once the OS is running. From Doug Ambrisko on the FreeBSD net list. Based on the Linux tg3 driver.
2005-11-24don't redefine BGE_PCIMISCCTL_ENDIAN_WORDSWAP and lower the delay whileFederico G. Schwindt
waiting for the firmware. tested and ok brad@
2005-11-19Correct a performance bug from Bill Paul's original FreeBSD bge(4) driver:Brad Smith
Each call to the FreeBSD bge_start() routine the transmit producer pointer index from the chip mailbox register BGE_MBX_TX_HOST_PROD0_LO. The local copy of that value is then updated by bge_encap() as bge_encap() encapsulates packets in the Tx ring. If bge_encap() succeds in encpuslating one or more packets, bge_start() tells the chip to start sending the newly-encinitiates writes the new value back to the chip mailbox register. However, comparison of the Linux drivers (Broadcom-supplied and open-source tg3.c) and to the OpenSolaris driver confirms that register BGE_MBX_TX_HOST_PROD0_LO is write-only to software. Thus, we can just keep a copy in the softc, and eliminate the (expensive) PCI register write on each call to bge_start(). From jonathan NetBSD tested by krw@, sturm@ and I on a few different bge NICs.
2005-10-09BGE_RSLOTS is only used in one spot, BGE_TX_RING_CNTBrad Smith
should be used instead.
2005-10-09special case sparc64 for now and lower the Jumbo slotsBrad Smith
down from 384 to 54.
2005-09-04add a commentBrad Smith
2005-08-30- add BCM5780 PCI idsBrad Smith
- recognize BCM5704 B0 - recognize BCM5780 which is supposedly part of the BCM5714 family according to the Linux driver but there is a BCM5714 core too. huh? ok deraadt@
2005-08-27recognize 5752 A1 ASIC rev.Brad Smith
Noticed by niklas@ on some newer hardware ok deraadt@
2005-07-02add support for PCI-E 5752 core and recognize a few additionalBrad Smith
5750 revisions. Info from the Broadcom Linux driver
2005-06-29- sync bus_dma ops and add bus_dmamap_sync()'sBrad Smith
and rev 1.25 * bcm5700 chips rev Bx wedge up if given DMA descriptors of eight bytes or less. Once hit, only reovery is a watchdog timeout/reset. If the offending packet is retransmitted, the chip will wedge again... Check for teeny fragments in a Tx request, and either fold the teeny chunk residue into an adjacent mbuf, or m_dup the entire buffer. From NetBSD Tested on alpha/amd64/macppc by krw@ and ok krw@
2005-06-17- fix description for BCM5750 A0, A1 -> A0Brad Smith
- recognize BCM5750 B1
2005-06-07put the whole thing in this time.Brad Smith
add support for the BCM5714.
2005-04-05fix parenthesis for BGE_RCB_MAXLEN_FLAGSBrad Smith
ok krw@
2005-03-07Enable basic big-endian operation. i.e. now works on some big-endianKenneth R Westerback
machines (macppc) but not others (sparc64). No-op for little-endian architectures. Diff from NetBSD with tweaks by drahn@. ok brad@
2005-03-04Put the dmamap for a transmission at the correct array index. Fixes aKenneth R Westerback
crash on sparc64. From FreeBSD.