Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Set reserved bits in the TX Configuration Register the value from the Sun docs. | 2008-02-10 | 1 | -2/+2 | ||
| | | | | | | Seems to fix watchdog timeout issues in Sun ERI variants. tested by a few | |||||
* | Return ENOTTY not EINVAL for unsupported ioctl's; | 2008-02-08 | 1 | -2/+2 | ||
| | | | | ok kettenis@ | |||||
* | Fall back on using SERDES if MDI0/MDI1 bits aren't set too. Fix PCS handling. | 2008-01-11 | 1 | -43/+30 | ||
| | | | | | | Makes the onboard fiber gem(4) in the Sun Fire V880 work. tested by many; ok dlg@ | |||||
* | s/NPBFILTER/NBPFILTER/ in #endif comment. No functional change. | 2007-09-30 | 1 | -2/+2 | ||
| | ||||||
* | Cleanup phy selection code, simplifying the code considerably. Attach only | 2007-04-19 | 1 | -95/+65 | ||
| | | | | | | one phy on Sun ERI; gets rid of the duplicate phy on the blade1k. tested by many, ok drahn@ | |||||
* | betetr yet, just nuke sc_enaddr all together, just fill in arpcom and | 2006-12-21 | 1 | -9/+6 | ||
| | | | | everybody is happy | |||||
* | ANSI | 2006-11-25 | 1 | -63/+25 | ||
| | ||||||
* | fix use of gem_bitwait(). | 2006-11-25 | 1 | -2/+2 | ||
| | ||||||
* | Split the GEM registers into two halfs and provide a bus_space_handle_t | 2006-11-25 | 1 | -41/+43 | ||
| | | | | | | for each. While there, fix a typo in gem_bitwait(). From martin@NetBSD | |||||
* | Fix a copy and pasto. | 2006-11-25 | 1 | -3/+3 | ||
| | | | | From martin@NetBSD | |||||
* | be silent | 2006-11-11 | 1 | -2/+5 | ||
| | ||||||
* | Fix typo. | 2006-11-10 | 1 | -2/+2 | ||
| | ||||||
* | Add support for Sun 1000baseSX cards. | 2006-11-10 | 1 | -1/+131 | ||
| | | | | ok deraadt@ | |||||
* | replace hand rolled code with LIST_FOREACH in gem_mediachange(). | 2006-10-17 | 1 | -5/+4 | ||
| | | | | ok kettenis@ "Looks correct to me" krw@ | |||||
* | put CRC error message under GEM_DEBUG. this just spews out like crazy | 2006-07-11 | 1 | -1/+3 | ||
| | | | | on a heavily loaded hub. | |||||
* | check for IFF_RUNNING being set before calling gem_init(). | 2006-04-15 | 1 | -20/+9 | ||
| | ||||||
* | allow bpf(4) to ignore packets based on their direction (inbound or | 2006-03-25 | 1 | -3/+3 | ||
| | | | | | outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@ | |||||
* | remove some commented out and NetBSD-specific code. | 2006-02-21 | 1 | -7/+1 | ||
| | ||||||
* | add missing MTU ioctl switch case. | 2006-02-21 | 1 | -4/+10 | ||
| | | | | Noticed by: Ben Lovett <ben at tilderoot dot com> | |||||
* | eliminate a reset when configuring the IP address. | 2006-02-08 | 1 | -2/+11 | ||
| | | | | tested by kettenis@ | |||||
* | call gem_setladrf() if the NIC is already running and only the | 2006-02-05 | 1 | -24/+14 | ||
| | | | | | | | | 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@ | |||||
* | add IFQ_SET_MAXLEN(). | 2005-11-15 | 1 | -1/+2 | ||
| | ||||||
* | splimp -> splnet | 2005-11-07 | 1 | -5/+5 | ||
| | ||||||
* | sync mbuf before unloading in gem_rxdrain(). | 2005-11-02 | 1 | -3/+4 | ||
| | | | | From NetBSD | |||||
* | handle TX underrun and packet too long errors by resetting the chip. | 2005-11-02 | 1 | -12/+20 | ||
| | | | | | | From NetBSD ok krw@ | |||||
* | - some DEBUG should be GEM_DEBUG | 2005-10-31 | 1 | -67/+50 | ||
| | | | | | | | | | | | - introduce gem_bitwait() to factor out some of the register wait code From NetBSD - remove some statics - remove parameter names from prototypes ok kettenis@ | |||||
* | typo | 2005-10-31 | 1 | -2/+2 | ||
| | ||||||
* | Start using the unused sc_variant to identify the GMAC vendor and chipset | 2005-10-17 | 1 | -3/+16 | ||
| | | | | | | | 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@ | |||||
* | have gem strip off the Ethernet FCS before passing it to bpf. | 2005-10-11 | 1 | -6/+3 | ||
| | | | | ok krw@, also tested by Peter Hessler on macppc | |||||
* | copy the MAC address from sc_arpcom.ac_enaddr to sc_enaddr in | 2005-09-10 | 1 | -1/+2 | ||
| | | | | | | | | 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> | |||||
* | remove whitespace | 2005-08-01 | 1 | -16/+16 | ||
| | ||||||
* | clear IFF_RUNNING & IFF_OACTIVE in foo_stop() before de-allocating resources. | 2005-07-02 | 1 | -7/+8 | ||
| | ||||||
* | remove netns crud. | 2005-06-08 | 1 | -18/+1 | ||
| | | | | | some drivers actually had hooks for SIOCSIFADDR, most just useless includes "looks good" deraadt miod brad | |||||
* | make sure interface is in RUNNING state before touching the multicast filters | 2005-01-15 | 1 | -2/+3 | ||
| | | | | | | | | From NetBSD NetBSD PR 27678 for details ok mcbride@ | |||||
* | allow for VLAN-sized frames. | 2004-09-27 | 1 | -11/+3 | ||
| | ||||||
* | take 2 times less room in dmesg, prettier too | 2004-06-20 | 1 | -9/+8 | ||
| | | | | | allocate interrupts early on (before PHY attachment, etc) just like all other drivers do to allow the above; ok mcbride | |||||
* | Don't return random garbage in the default case; return the smallest ring | 2004-02-02 | 1 | -27/+14 | ||
| | | | | | | | | descriptor instead. From NetBSD ok deraadt@ | |||||
* | remove prototypes for non-existant functions. | 2004-02-01 | 1 | -4/+1 | ||
| | | | | ok deraadt@ | |||||
* | no vtophys(), don't need uvm_extern.h anymore. | 2003-12-29 | 1 | -3/+1 | ||
| | | | | | | tested on alpha, i386, macppc and sparc64. ok millert@ mickey@ | |||||
* | correct some debugging printfs | 2003-07-15 | 1 | -5/+4 | ||
| | ||||||
* | Eliminate creation/destruction of dmamap's for every xmit by reusing | 2003-07-09 | 1 | -18/+24 | ||
| | | | | | | | | | | statically allocated maps. Significant performance boost on both sparc64 and macppc. Tested on macppc by drahn@. ok jason@ drahn@. | |||||
* | strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit. | 2003-04-27 | 1 | -2/+2 | ||
| | ||||||
* | The gem driver will sometimes unmap bus_dma mappings that are still | 2003-03-02 | 1 | -4/+3 | ||
| | | | | | | | | | 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. | |||||
* | - Either memset() or loop and set to zero, not both | 2003-01-23 | 1 | -8/+13 | ||
| | | | | | | - 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 | |||||
* | 1000baseTX -> 1000baseT | 2002-11-26 | 1 | -3/+3 | ||
| | | | | | | | - More technically correct - Matches FreeBSD and NetBSD - Preserved #define for 1000baseTX for backwards compatibility ok jason@ | |||||
* | Update ifp->if_opackets correctly | 2002-09-22 | 1 | -1/+2 | ||
| | ||||||
* | - Fix one typo (instead of two disable_rx, one disable_rx and one disable_tx) | 2002-08-28 | 1 | -3/+3 | ||
| | | | | | | | | - 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. | |||||
* | shorten address printout | 2002-07-10 | 1 | -2/+2 | ||
| | ||||||
* | spelling; from Brian Poole <raj@cerias.purdue.edu> | 2002-06-14 | 1 | -3/+3 | ||
| | ||||||
* | make gem compile, arpcom is sc_arpcom. | 2002-06-09 | 1 | -3/+3 | ||
| |