Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-11-15 | add IFQ_SET_MAXLEN(). | Brad Smith | |
2005-11-07 | splimp -> splnet | Brad Smith | |
2005-11-02 | sync mbuf before unloading in gem_rxdrain(). | Brad Smith | |
From NetBSD | |||
2005-11-02 | handle TX underrun and packet too long errors by resetting the chip. | Brad Smith | |
From NetBSD ok krw@ | |||
2005-10-31 | - some DEBUG should be GEM_DEBUG | Brad Smith | |
- introduce gem_bitwait() to factor out some of the register wait code From NetBSD - remove some statics - remove parameter names from prototypes ok kettenis@ | |||
2005-10-31 | typo | Brad Smith | |
2005-10-17 | Start using the unused sc_variant to identify the GMAC vendor and chipset | Brad Smith | |
model to the MI part of the driver. On Apple systems only attach the PHY to location 0, unless using a K2 GMAC, then use location 1. Tested by drahn@ and kettenis@ | |||
2005-10-11 | have gem strip off the Ethernet FCS before passing it to bpf. | Brad Smith | |
ok krw@, also tested by Peter Hessler on macppc | |||
2005-09-10 | copy the MAC address from sc_arpcom.ac_enaddr to sc_enaddr in | Brad Smith | |
gem_init() just before calling gem_init_regs() so the proper MAC address gets programmed into the card (if it has been changed by say ifconfig lladdr for example). Noticed and diff tested by: Troex Nevelin <troex at fury dot scancode dot ru> | |||
2005-08-01 | remove whitespace | Brad Smith | |
2005-07-02 | clear IFF_RUNNING & IFF_OACTIVE in foo_stop() before de-allocating resources. | Brad Smith | |
2005-06-08 | remove netns crud. | Henning Brauer | |
some drivers actually had hooks for SIOCSIFADDR, most just useless includes "looks good" deraadt miod brad | |||
2005-01-15 | make sure interface is in RUNNING state before touching the multicast filters | Brad Smith | |
From NetBSD NetBSD PR 27678 for details ok mcbride@ | |||
2004-09-27 | allow for VLAN-sized frames. | Brad Smith | |
2004-06-20 | take 2 times less room in dmesg, prettier too | Peter Valchev | |
allocate interrupts early on (before PHY attachment, etc) just like all other drivers do to allow the above; ok mcbride | |||
2004-02-02 | Don't return random garbage in the default case; return the smallest ring | Brad Smith | |
descriptor instead. From NetBSD ok deraadt@ | |||
2004-02-01 | remove prototypes for non-existant functions. | Brad Smith | |
ok deraadt@ | |||
2003-12-29 | no vtophys(), don't need uvm_extern.h anymore. | Brad Smith | |
tested on alpha, i386, macppc and sparc64. ok millert@ mickey@ | |||
2003-07-15 | correct some debugging printfs | Jason Wright | |
2003-07-09 | Eliminate creation/destruction of dmamap's for every xmit by reusing | Kenneth R Westerback | |
statically allocated maps. Significant performance boost on both sparc64 and macppc. Tested on macppc by drahn@. ok jason@ drahn@. | |||
2003-04-27 | strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit. | Hakan Olsson | |
2003-03-02 | The gem driver will sometimes unmap bus_dma mappings that are still | Henric Jungheim | |
in use by the hardware. Since the sparc64 has IOMMUs, an access by the hardware after the unmap operation will cause a fault. This replaces "disable" calls by "reset" calls. This increases the time between the command to disable DMA and when the maps are actually unloaded. | |||
2003-01-23 | - Either memset() or loop and set to zero, not both | Jason Wright | |
- reading RX_COMPLETION is a waste of time (and a -slow- PCI read vs. an, albeit uncached, memory access to determine the same thing). - on RX_OVERFLOW, reset the board; the RX unit has probably wedged | |||
2002-11-26 | 1000baseTX -> 1000baseT | Nathan Binkert | |
- More technically correct - Matches FreeBSD and NetBSD - Preserved #define for 1000baseTX for backwards compatibility ok jason@ | |||
2002-09-22 | Update ifp->if_opackets correctly | Jason Wright | |
2002-08-28 | - Fix one typo (instead of two disable_rx, one disable_rx and one disable_tx) | Artur Grabowski | |
- Instead of setting OACTIVE on the interface when encap fails and never clearing it, set a 2 second timer instead and hope that the memory situation will improve. This stops the lockups of the interface when memory is running low. jason@ ok. | |||
2002-07-10 | shorten address printout | Theo de Raadt | |
2002-06-14 | spelling; from Brian Poole <raj@cerias.purdue.edu> | Todd T. Fries | |
2002-06-09 | make gem compile, arpcom is sc_arpcom. | Dale Rahn | |
2002-06-09 | a step towards consistancy; in general: | Todd T. Fries | |
'struct arpcom foo' -> 'struct arpcom sc_arpcom' ok itojun@ | |||
2002-06-07 | Multicast fixes, Gig-E support, mostly from netbsd. ok jason@ | Dale Rahn | |
2002-05-07 | Simplify multicast handling based on powerpc's gm.c and remove ether_cmp() | Jason Wright | |
2002-04-03 | - read the rx completion register exactly once. | Jason Wright | |
- don't complain about still owned descriptors tested by myself and Joey Coleman <joeycoleman@acm.org> | |||
2002-03-22 | - Move reading collision counters out of splimp() | Jason Wright | |
- all non-debug prints should print the interface name - quite whining about RX counter expiring, who cares. | |||
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2002-02-22 | Call ether_ioctl() the way [insert favorite diety] intended. | Jason Wright | |
2002-02-22 | Revert to previous (non hacked =) version now that the iommu is handled | Jason Wright | |
correctly and it doesn't crash | |||
2002-01-28 | Re-port the NetBSD driver, but rewrite tx logic to use static buffers (and | Jason Wright | |
copies). This makes the Blade100 gem stable for me. | |||
2002-01-25 | In encap, sync mbuf before writing descriptors | Jason Wright | |
2001-12-13 | changes to work with 32bit platforms and get ethernet address on powerpc. | Dale Rahn | |
Inspired by NetBSD. | |||
2001-11-06 | Replace 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-03 | Rewrite transmit handling (looks something more like hme), also takes advantage | Jason Wright | |
of some register shadowing provided by the asic. [This still isn't optimal, but it's getting closer...] Move all of the stat stuff out of the interrupt context and into the timeout. | |||
2001-10-02 | increase rx descriptors, remove some debugging code, deal with different ↵ | Jason Wright | |
endian; NetBSD general cleanup; me. | |||
2001-09-29 | Some KNF. | Artur Grabowski | |
2001-09-28 | Fix a DIAGNOSTIC check. | Artur Grabowski | |
2001-09-24 | Use splimp instead of splnet in some places. | Artur Grabowski | |
I don't understand why, but it helps stability a lot. | |||
2001-09-23 | solve mtu problem a little more elegantly (ramdisk works on blade100 and | Jason Wright | |
u5 now). | |||
2001-09-21 | configured mtu in BOTH places (grumble) | Jason Wright | |
Also, make it a bit higher than normal (this is an ugly hack and will be removed when I figure out what this thing wants). | |||
2001-09-21 | openbsd style %b handling | Jason Wright | |
2001-09-21 | another ETHERMTU + sizeof(struct ether_header) problem | Jason Wright | |