History log of /freebsd/sys/dev/nge/if_nge.c (Results 226 – 250 of 268)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 8368cf8f 03-Apr-2003 David E. O'Brien <obrien@FreeBSD.org>

Use __FBSDID rather than rcsid[].


Revision tags: release/4.8.0_cvs, release/4.8.0
# a163d034 19-Feb-2003 Warner Losh <imp@FreeBSD.org>

Back out M_* changes, per decision of the TRB.

Approved by: trb


# 44956c98 21-Jan-2003 Alfred Perlstein <alfred@FreeBSD.org>

Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.


Revision tags: release/5.0.0_cvs, release/5.0.0
# e808cf62 10-Jan-2003 Martin Blapp <mbr@FreeBSD.org>

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 cu

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.

Reviewed by: luoqi
MFC after: 2 weeks

show more ...


# d64ada50 30-Dec-2002 Jens Schweikhardt <schweikh@FreeBSD.org>

Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.


# 673d9191 15-Nov-2002 Sam Leffler <sam@FreeBSD.org>

network interface driver changes:

o don't strip the Ethernet header from inbound packets; pass packets
up the stack intact (required significant changes to some drivers)
o reference common definit

network interface driver changes:

o don't strip the Ethernet header from inbound packets; pass packets
up the stack intact (required significant changes to some drivers)
o reference common definitions in net/ethernet.h (e.g. ETHER_ALIGN)
o track ether_ifattach/ether_ifdetach API changes
o track bpf changes (use BPF_TAP and BPF_MTAP)
o track vlan changes (ifnet capabilities, revised processing scheme, etc.)
o use if_input to pass packets "up"
o call ether_ioctl for default handling of ioctls

Reviewed by: many
Approved by: re

show more ...


# 29f19445 09-Nov-2002 Alfred Perlstein <alfred@FreeBSD.org>

Fix instances of macros with improperly parenthasized arguments.

Verified by: md5


# 196c0df6 06-Nov-2002 Hidetoshi Shimokawa <simokawa@FreeBSD.org>

Add support for DEVICE_POLLING.

PR: kern/44772
Submitted by: Takashi Oono <takashi@yha.att.ne.jp>
MFC after: 1 week


Revision tags: release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2
# 1f548804 08-Aug-2002 Doug Ambrisko <ambrisko@FreeBSD.org>

Add support for SX cards using TBI such as Netgear GA621.

Sponsored by: Vernier Networks.
MFC after: 1 week


Revision tags: release/4.6.1
# eaabec55 06-Jul-2002 Alfred Perlstein <alfred@FreeBSD.org>

Cleanup after my de-__P (remove leading whitespace before prototype args).
Add newlines after function return types in function declarations.

Approved by: wpaul (a long time ago)


Revision tags: release/4.6.0_cvs
# 914596ab 29-Jun-2002 Alfred Perlstein <alfred@FreeBSD.org>

catch up with ext_free prototype change.


# d9fc2b81 04-May-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Do not call nge_tick() if we get an PHY interrupt, nge_tick() calls
mii_tick() which should only be called once per second.

Our current MII/PHY state-engine is not able to deal with PHY
interrupts a

Do not call nge_tick() if we get an PHY interrupt, nge_tick() calls
mii_tick() which should only be called once per second.

Our current MII/PHY state-engine is not able to deal with PHY
interrupts as far as I can tell, and most net drivers don't seem
to use the link/status change call-back mechanism. It seems that
MII/PHY was orphaned before it grew up.

show more ...


# 279fe8d1 29-Apr-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Make one generic mii_phy_detach() to replace 19 slightly different ones.

Rename mii_phy_auto_stop() mii_phy_down().

Introduce mii_down(), use it from nge. Do not indirect it to 19 identical
case's

Make one generic mii_phy_detach() to replace 19 slightly different ones.

Rename mii_phy_auto_stop() mii_phy_down().

Introduce mii_down(), use it from nge. Do not indirect it to 19 identical
case's in 19 switchstatements like NetBSD did.

show more ...


# 78c8c3db 29-Apr-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Move a lot closer to NetBSDs MII support for GigE.

Move fxp and nge drivers over to use the new stuff.


# b418ad5c 28-Apr-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Follow NetBSD and s/IFM_1000_TX/IFM_1000_T/


# ff7ed9f7 13-Apr-2002 Poul-Henning Kamp <phk@FreeBSD.org>

If the receiver runs out of space for an received frame in the internal
FIFO or the in-RAM descriptors it will switch to RX_IDLE from where it
is not restarted.

We used to deal with RX_IDLE by doing

If the receiver runs out of space for an received frame in the internal
FIFO or the in-RAM descriptors it will switch to RX_IDLE from where it
is not restarted.

We used to deal with RX_IDLE by doing a total reinit but this lost
our link and caused a potential 30sec autonegotiation against
switches. This was changed to a less heavyhanded approach, but this
failed to restart the receiver it it were in the RX_IDLE state.

This change adds the RX_IDLE and the RX_FIFO_OFLOW conditions as
triggers for interrupts and receive side processing, and restarts
the receiver when it is RX_IDLE.

Remove the #ifdef notyet'ed nge_rxeoc() function.

Sponsored by: Cybercity Internet, Denmark.
MFC after: 7 days

show more ...


# 6008862b 04-Apr-2002 John Baldwin <jhb@FreeBSD.org>

Change callers of mtx_init() to pass in an appropriate lock type name. In
most cases NULL is passed, but in some cases such as network driver locks
(which use the MTX_NETWORK_LOCK macro) and UMA zon

Change callers of mtx_init() to pass in an appropriate lock type name. In
most cases NULL is passed, but in some cases such as network driver locks
(which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used.

Tested on: i386, alpha, sparc64

show more ...


# e51a25f8 20-Mar-2002 Alfred Perlstein <alfred@FreeBSD.org>

Remove __P.


# 3ffc8ab1 27-Feb-2002 Julian Elischer <julian@FreeBSD.org>

Remove errors in LINT (now that they are fatal)


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# 437e48e9 03-Dec-2001 Brooks Davis <brooks@FreeBSD.org>

Don't pass an interface pointer to VLAN_INPUT{,_TAG}. Get it from the
mbuf instead.

Suggested by: fenner


# b2561871 29-Sep-2001 Jonathan Lemon <jlemon@FreeBSD.org>

Do not call mii_polltick() immediately after mii_tick().

Poiinted out by: wpaul


# 8ce3678a 19-Sep-2001 Bill Paul <wpaul@FreeBSD.org>

Handle the RX FIFO overflow condition with the rxeof handler instead
of the rxeoc handler for now. The rxeoc handler will reset the link,
and the NatSemi chip's RX FIFO will overflow on a 32-bit bus

Handle the RX FIFO overflow condition with the rxeof handler instead
of the rxeoc handler for now. The rxeoc handler will reset the link,
and the NatSemi chip's RX FIFO will overflow on a 32-bit bus once you
start hitting it with 500Mbps or more of traffic.

Also increase the size of the RX ring to 128 descriptors (was 64).

show more ...


# 84e4de28 18-Sep-2001 Jonathan Lemon <jlemon@FreeBSD.org>

Have the driver to announce what capabilitis it supports.


# 9d4fe4b2 05-Sep-2001 Brooks Davis <brooks@FreeBSD.org>

Make vlan(4) loadable, unloadable, and clonable. As a side effect,
interfaces must now always enable VLAN support.

Reviewed by: jlemon
MFC after: 3 weeks


# bbce7eba 25-Jul-2001 Brooks Davis <brooks@FreeBSD.org>

IFT_8021_VLAN -> IFT_L2VLAN per if_vlan_var.h rev 1.9. With this change
LINT compiles, but doesn't link.


1234567891011