summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_nge.c
AgeCommit message (Collapse)Author
2005-07-02clear IFF_RUNNING & IFF_OACTIVE in foo_stop() before de-allocating resources.Brad Smith
2005-05-25Fix instances of macros with improperly parenthasized arguments.Brad Smith
2005-05-25- Fixed resetting of the watchdog timer and queue full flag.Brad Smith
- When reading PHY regs over the i2c bus, the turnaround ACK bit is read one clock edge too late. This bit is driven low by slave (as any other input data bits from slave) when the clock is LOW. The current code did read the bit after the clock was driven high again. - Do not call mii_pollstat() from within device tick routines; the status information is updated by mii_tick(). From FreeBSD
2005-04-25csum -> csum_flagsBrad Smith
ok krw@ canacar@
2005-02-17miscellaneous typo fixes:Jean-Francois Brousseau
- sturct -> struct (spotted by pedro) - elimination of consecutive 'the' words ok jmc@, henning@, krw@, robert@, some whining by jolan@
2004-09-23don't need to set ifp->if_mtu or ifp->if_output in each driver,Brad Smith
{ether,atm,fddi}_ifattach already does this. ok mcbride@ markus@ henning@
2004-08-05remove some separate per driver constants and useBrad Smith
ETHER_MAX_LEN_JUMBO/ETHERMTU_JUMBO where appropriate. ok mcbride@ henning@ mickey@
2004-05-30Multicast fixups:Ryan Thomas McBride
- remove bogus use of LLADDR - scrap nge_crc in favour of ether_crc32_be - accept all multicast when we encounter a multicast range ok deraadt@
2004-04-09do not whine if we cannot get mbufs. the countless printfd makes the machineHenning Brauer
crawl under mbuf starvation, making the situationmuch worse, and don't make sense in the first place. ok tdeval@ millert@ beck@ deraadt@
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
I've skipped the GNU stuff for now. From Patrick Latifi.
2003-01-15Get rid of the remaining vm_offset_t in pci drivers.Artur Grabowski
2002-11-261000baseTX -> 1000baseTNathan Binkert
- More technically correct - Matches FreeBSD and NetBSD - Preserved #define for 1000baseTX for backwards compatibility ok jason@
2002-09-22use #ifndef __STRICT_ALIGNMENT instead of #ifdef __i386.Nathan Binkert
recommended by jason
2002-09-21Add support for TBI mode in fiber based cards (heavily inspired by FreeBSD)Nathan Binkert
Clean up debugging printfs Remove some old debugging code that shouldn't be there. More changes from FreeBSD: - ignore alignment problem on x86 platforms and don't copy. - increase receive list to 128 to match transmit - change a bit in the interrupt handling
2002-09-21cleanup, remove registerNathan Binkert
2002-07-10shorten address printoutTheo de Raadt
2002-07-05Typo; stobe -> strobeAaron Campbell
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-12sync with KAMEKenjiro Cho
ALTQify more drivers. ok millert@
2002-02-15Don't cast nonexistent return value from splx to (void). ok art@Thomas Nordin
2001-11-13cleanup whole lots of spaces and tabs, while mufflingMichael Shalayeff
w/ the cards we have here and those are the cheapest petrolleum product on the east cost, let me tell ya. insert valid freebsd rcsid and a comment about bugs and such.
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-10-05random KNF and removal of unused variablesNathan Binkert
2001-09-26* add missing #include "vlan.h"Peter Galbavy
* add IFCAP_VLAN_MTU capability * put test around hardware assited (de)tagging of VLAN packets This now means that vlan's built using the driver can pass full size packets. IFCAP_VLAN_HWTAGGING is not currently enabled as it does not work in the current sources. more study required. ok'ed by jason@, nate@ was watching mail back and forth
2001-09-21Correct some pryntf() usage: get the correct number of arguments in theMiod Vallat
correct order.
2001-09-11Don't include <vm/vm_kern.h> if you don't need foo_map.Miod Vallat
2001-09-04Select between MII/GMII/TBI in the mii_mediachg function instead of in theNathan Binkert
interrupt handler since it is more reliable. Pointed out by wpaul
2001-08-25Change pci_intr_map to take pci_attach_args as an argument.Artur Grabowski
All callers actually took all arguments to pci_intr_map from pci_attach_args structs, so this simplifies code. This also allows more complicated interrupt assignment schemes like the one on sparc64. This makes sparc64 pci interrupts work. Inspired by the same change in NetBSD.
2001-08-12remove redundant vm includesMichael Shalayeff
2001-07-06Only clear the relevant capabilities when the MTU is set tooAngelos D. Keromytis
high. Clarify logic of message tagging.
2001-07-06IP/TCP/UDP checksumming on the NIC; from rtecco@umich.eduAngelos D. Keromytis
2001-07-02When the PHY status changes, we need to check what the media speed isNathan Binkert
so that we can choose between MII, GMII, and TBI interfaces to the physical layer. Don't print debugging info by default. Change some debugging info.
2001-07-02No need to return at the end of a void functionNathan Binkert
2001-06-24- vlan_input_tag() takes 2 args now.Federico G. Schwindt
- use ether_input_mbuf().
2001-06-08Initial cut at a driver for the National Semiconductor DP83820 and DP83821Nathan Binkert
gigabit macs. (Not working for me yet.) From FreeBSD