Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-12-28 | clear IFF_RUNNING here to get a full re-init. | Brad Smith | |
2005-12-28 | using the PCI capability register to check for PCI-X mode doesn't get the ↵ | Brad Smith | |
expected result as this is set whether the board is in a PCI-X slot or not. The chip can tell us if we're on a conventional PCI bus. | |||
2005-12-28 | Fix bge_eeprom_getbyte() to return 1 when timeout happens. | Brad Smith | |
Previously it always returned 0 which means success regardless of EEPROM status. While here, add a check whether EEPROM read is successful. From yongari FreeBSD | |||
2005-12-28 | eliminate the last few quirk flags. | Brad Smith | |
2005-12-12 | If a PCI-X card is detected then set bge_pcix. | Brad Smith | |
2005-12-11 | recognize BCM5750 C1 on Ted's Fujitsu Lifebook S7000 | Brad Smith | |
2005-12-10 | re-add bge_shutdown() but also register the function with | Brad Smith | |
shutdownhook_establish(). | |||
2005-12-09 | remove unused function bge_shutdown(). | Brad Smith | |
2005-12-09 | some cleaning and fixing of comments. | Brad Smith | |
2005-12-08 | - Enable the buffer manager on 5705 and newer ASICs. | Brad Smith | |
- Enable the memory arbiter on 5705 and newer ASICs with 5714 family specific trick from Broadcom's Linux driver. Tested by Chuck McCollum and Ray Kohler on 575x ASICs. | |||
2005-12-08 | This makes bge(4) only look for a PHY at id 1 as done by Broadcom's | Brad Smith | |
Linux driver and FreeBSD. This reverts a change I made based on NetBSD's bge(4) driver when adding the quirk table flags. Eliminate the BGE_QUIRK_ONLY_PHY_1 quirk flag. ok dlg@ krw@ | |||
2005-12-08 | eliminate the BGE_QUIRK_FEWER_MBUFS quirk flag and assume lower mbufs on | Brad Smith | |
all 5704's. also remove a bit of code duplication in this section of code. ok krw@ | |||
2005-12-08 | add BCM5903M PCI id and recognize BCM5714 and BCM5715 ASICs. | Brad Smith | |
From Broadcom's Linux driver | |||
2005-11-29 | Put this back in... | Brad Smith | |
Use pci_get_capability() to check if were on a PCI Express card or not. Tested by deraadt@, marco@ and a few end-users who reported issues. | |||
2005-11-28 | back out the last 2 commits to bge(4) for now. | Brad Smith | |
2005-11-27 | Use pci_get_capability() to check if were on a PCI Express card or not. | Brad Smith | |
2005-11-27 | add 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-25 | fix BCM5714 PCI id name and add 5714S, 5715 and 5715S. | Brad Smith | |
2005-11-25 | Use BGE_IS_5705_OR_BEYOND macro to check for the existence or non-existence | Brad Smith | |
of 5705 or derived ASICs and remove the BGE_QUIRK_5705_CORE flag. | |||
2005-11-25 | remove prototype for a non-existent function bge_free_jumbo_mem. | Brad Smith | |
2005-11-25 | Use BGE_IS_JUMBO_CAPABLE in one more spot. | Brad Smith | |
2005-11-25 | use 5780 here instead of 5714. | Brad Smith | |
2005-11-25 | don't bother setting error in bge_attach() when its not actually | Brad Smith | |
being used for anything. | |||
2005-11-25 | Use BGE_IS_575X_PLUS macro when checking whether to use the PCI Express test ↵ | Brad Smith | |
or not. | |||
2005-11-25 | Use BGE_IS_JUMBO_CAPABLE macro to figure out whether we | Brad Smith | |
want Jumbos or not. Instead of just assuming that all 5705 derived cores do not support Jumbos. All of Broadcom's new Gig chips do not support Jumbos with the exception of the BCM5714 found embedded in the ServerWorks HT-2000 chipset using the BCM5780 ASIC. | |||
2005-11-24 | add a few macros allowing selection of certain generations of | Brad Smith | |
the Broadcom ASICs. | |||
2005-11-24 | don't redefine BGE_PCIMISCCTL_ENDIAN_WORDSWAP and lower the delay while | Federico G. Schwindt | |
waiting for the firmware. tested and ok brad@ | |||
2005-11-19 | Correct 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-11-14 | bus_size_t is a more proper type for a register offset [against bh] | Michael Shalayeff | |
2005-10-21 | tidy up dmesg printing. | Brad Smith | |
2005-10-14 | only print warning message in bge_stop_block() if debug is enabled. | Brad Smith | |
2005-10-14 | sprinkle some ANSI and KNF and remove an empty useless function. | Brad Smith | |
2005-10-14 | shuffle these structs up to the top. | Brad Smith | |
2005-10-10 | splimp -> splnet | Brad Smith | |
2005-10-09 | BGE_RSLOTS is only used in one spot, BGE_TX_RING_CNT | Brad Smith | |
should be used instead. | |||
2005-10-09 | - move bus_dmamap_load_mbuf() to where it should be in bge_newbuf_std() | Brad Smith | |
- add comments mentioning where we're re-using mbufs | |||
2005-10-06 | change "pcistate failed to revert" test message to a debug printf. | Brad Smith | |
2005-10-06 | add Apple BCM5701 | Brad Smith | |
2005-09-08 | - Removes spl durring attach | Brad Smith | |
- Use pci_mapreg_map() - Ensure bge_attach() always cleans up properly upon failure ok krw@ sturm@ | |||
2005-08-30 | - add BCM5780 PCI ids | Brad 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-27 | recognize 5752 A1 ASIC rev. | Brad Smith | |
Noticed by niklas@ on some newer hardware ok deraadt@ | |||
2005-08-09 | do not set PCI_COMMAND_MASTER_ENABLE explicitly as it's already set in ↵ | Michael Shalayeff | |
pcisubmatch(); kettenis@ testing; brad@ ok | |||
2005-07-25 | don't bother with printf in *_jalloc() | Brad Smith | |
2005-07-20 | remove some unused code. | Brad Smith | |
2005-07-16 | remove braces here too | Brad Smith | |
2005-07-14 | More bge ids, found in Broadcom's Linux driver. ok brad@ | Jonathan Gray | |
2005-07-09 | remove braces here | Brad Smith | |
2005-07-07 | check ETHERMIN and stop calling em_init_locked() from SIOCSIFMTU ioctl. | Brad Smith | |
2005-07-06 | allow bge(4) to receive Jumbos by default. | Brad Smith | |
ok krw@ | |||
2005-07-02 | add support for PCI-E 5752 core and recognize a few additional | Brad Smith | |
5750 revisions. Info from the Broadcom Linux driver |