#
2377d6af |
| 05-Feb-2006 |
brad <brad@openbsd.org> |
call gem_setladrf() if the NIC is already running and only the PROMISC or ALLMULTI flags are being adjusted or if adjusting the multicast addresses instead of doing a full re-init of the chip.
ok ke
call gem_setladrf() if the NIC is already running and only the 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@
show more ...
|
#
ee1c9dd9 |
| 15-Nov-2005 |
brad <brad@openbsd.org> |
add IFQ_SET_MAXLEN().
|
#
a3943d2c |
| 07-Nov-2005 |
brad <brad@openbsd.org> |
splimp -> splnet
|
#
13a99c7e |
| 02-Nov-2005 |
brad <brad@openbsd.org> |
sync mbuf before unloading in gem_rxdrain().
From NetBSD
|
#
3f7a9190 |
| 02-Nov-2005 |
brad <brad@openbsd.org> |
handle TX underrun and packet too long errors by resetting the chip.
From NetBSD
ok krw@
|
#
b801c610 |
| 31-Oct-2005 |
brad <brad@openbsd.org> |
- some DEBUG should be GEM_DEBUG - introduce gem_bitwait() to factor out some of the register wait code
From NetBSD
- remove some statics - remove parameter names from prototypes
ok kettenis@
|
#
48668b1d |
| 31-Oct-2005 |
brad <brad@openbsd.org> |
typo
|
#
69608b44 |
| 17-Oct-2005 |
brad <brad@openbsd.org> |
Start using the unused sc_variant to identify the GMAC vendor and chipset 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 loca
Start using the unused sc_variant to identify the GMAC vendor and chipset 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@
show more ...
|
#
b920f767 |
| 11-Oct-2005 |
brad <brad@openbsd.org> |
have gem strip off the Ethernet FCS before passing it to bpf.
ok krw@, also tested by Peter Hessler on macppc
|
#
72a45343 |
| 10-Sep-2005 |
brad <brad@openbsd.org> |
copy the MAC address from sc_arpcom.ac_enaddr to sc_enaddr in 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 ifc
copy the MAC address from sc_arpcom.ac_enaddr to sc_enaddr in 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>
show more ...
|
#
be7b2221 |
| 01-Aug-2005 |
brad <brad@openbsd.org> |
remove whitespace
|
#
a9f9fb6a |
| 02-Jul-2005 |
brad <brad@openbsd.org> |
clear IFF_RUNNING & IFF_OACTIVE in foo_stop() before de-allocating resources.
|
#
dad0c587 |
| 08-Jun-2005 |
henning <henning@openbsd.org> |
remove netns crud. some drivers actually had hooks for SIOCSIFADDR, most just useless includes "looks good" deraadt miod brad
|
#
6cd30ee6 |
| 15-Jan-2005 |
brad <brad@openbsd.org> |
make sure interface is in RUNNING state before touching the multicast filters
From NetBSD
NetBSD PR 27678 for details
ok mcbride@
|
#
2478c47a |
| 27-Sep-2004 |
brad <brad@openbsd.org> |
allow for VLAN-sized frames.
|
#
5b80daf2 |
| 20-Jun-2004 |
pvalchev <pvalchev@openbsd.org> |
take 2 times less room in dmesg, prettier too allocate interrupts early on (before PHY attachment, etc) just like all other drivers do to allow the above; ok mcbride
|
#
d00bd891 |
| 02-Feb-2004 |
brad <brad@openbsd.org> |
Don't return random garbage in the default case; return the smallest ring descriptor instead.
From NetBSD
ok deraadt@
|
#
6a2c1f29 |
| 01-Feb-2004 |
brad <brad@openbsd.org> |
remove prototypes for non-existant functions.
ok deraadt@
|
#
b25e102c |
| 29-Dec-2003 |
brad <brad@openbsd.org> |
no vtophys(), don't need uvm_extern.h anymore.
tested on alpha, i386, macppc and sparc64.
ok millert@ mickey@
|
#
c8b76175 |
| 15-Jul-2003 |
jason <jason@openbsd.org> |
correct some debugging printfs
|
#
a13a8cef |
| 09-Jul-2003 |
krw <krw@openbsd.org> |
Eliminate creation/destruction of dmamap's for every xmit by reusing statically allocated maps.
Significant performance boost on both sparc64 and macppc.
Tested on macppc by drahn@.
ok jason@ drah
Eliminate creation/destruction of dmamap's for every xmit by reusing statically allocated maps.
Significant performance boost on both sparc64 and macppc.
Tested on macppc by drahn@.
ok jason@ drahn@.
show more ...
|
#
2627362d |
| 27-Apr-2003 |
ho <ho@openbsd.org> |
strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.
|
#
f9262244 |
| 02-Mar-2003 |
henric <henric@openbsd.org> |
The gem driver will sometimes unmap bus_dma mappings that are still in use by the hardware. Since the sparc64 has IOMMUs, an access by the hardware after the unmap operation will cause a fault.
Thi
The gem driver will sometimes unmap bus_dma mappings that are still 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.
show more ...
|
#
e64f1db8 |
| 23-Jan-2003 |
jason <jason@openbsd.org> |
- Either memset() or loop and set to zero, not both - 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_OVER
- Either memset() or loop and set to zero, not both - 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
show more ...
|
#
73084a6c |
| 26-Nov-2002 |
nate <nate@openbsd.org> |
1000baseTX -> 1000baseT - More technically correct - Matches FreeBSD and NetBSD - Preserved #define for 1000baseTX for backwards compatibility ok jason@
|