Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-11-25 | ANSI | Brad Smith | |
2006-11-25 | fix use of gem_bitwait(). | Brad Smith | |
2006-11-25 | Split the GEM registers into two halfs and provide a bus_space_handle_t | Brad Smith | |
for each. While there, fix a typo in gem_bitwait(). From martin@NetBSD | |||
2006-11-25 | Fix a copy and pasto. | Brad Smith | |
From martin@NetBSD | |||
2006-11-11 | be silent | Theo de Raadt | |
2006-11-10 | Fix typo. | Mark Kettenis | |
2006-11-10 | Add support for Sun 1000baseSX cards. | Mark Kettenis | |
ok deraadt@ | |||
2006-10-17 | replace hand rolled code with LIST_FOREACH in gem_mediachange(). | Brad Smith | |
ok kettenis@ "Looks correct to me" krw@ | |||
2006-07-11 | put CRC error message under GEM_DEBUG. this just spews out like crazy | Brad Smith | |
on a heavily loaded hub. | |||
2006-04-15 | check for IFF_RUNNING being set before calling gem_init(). | Brad Smith | |
2006-03-25 | allow bpf(4) to ignore packets based on their direction (inbound or | Damien Miller | |
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@ | |||
2006-02-21 | remove some commented out and NetBSD-specific code. | Brad Smith | |
2006-02-21 | add missing MTU ioctl switch case. | Brad Smith | |
Noticed by: Ben Lovett <ben at tilderoot dot com> | |||
2006-02-08 | eliminate a reset when configuring the IP address. | Brad Smith | |
tested by kettenis@ | |||
2006-02-05 | call gem_setladrf() if the NIC is already running and only the | Brad Smith | |
PROMISC or ALLMULTI flags are being adjusted or if adjusting the multicast addresses instead of doing a full re-init of the chip. ok kettenis@ | |||
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 | |