summaryrefslogtreecommitdiff
path: root/sys/dev/ic/hme.c
AgeCommit message (Collapse)Author
2005-02-04add hme(4) RX TCP/UDP checksum offloadBrad Smith
From a diff posted to sparc@ by Pyun YongHyeon ok dlg@, tested by mickey@ "i get some badass improvement here." and a few other users.
2005-01-15make sure interface is in RUNNING state before touching the multicast filtersBrad Smith
From NetBSD NetBSD PR 27678 for details ok mcbride@
2004-09-28- Use ETHER_MAX_LEN + ETHER_VLAN_ENCAP_LEN instead of HME_MTUBrad Smith
- Use ETHER_CRC_POLY_LE instead of MC_POLY_LE from hmereg.h
2004-08-08do not reset the chip (and subsequently the phy) when unnecessary; that is,Brad Smith
for address changes, multicast filter changes, or adjusting promiscuous mode. Fixes resetting the phy for things like start/stopping tcpdump. From NetBSD tested by me, miod@, otto@ and a few others. ok deraadt@
2004-05-31Don't reinvent the wheel, use ether_crc32_le() instead.Ryan Thomas McBride
2004-05-12network drivers don't need to include bpfdesc.hTed Unangst
ok krw@ canacar@
2003-06-18we already set the rx descriptor length to accept vlan packets... justJason Wright
need to advertise the capability; tested by tsar at polarcap dot org
2003-04-27strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.Hakan Olsson
2003-04-26managment -> management;Jason McIntyre
ok mickey@
2003-03-05update media handling based on NetBSD: mainly fix setting up of the outputJason Wright
drivers also, force a preference of the external phy a little earlier: both ports on the netra T1/105 now work.
2003-02-08avoid more spurious printfs (account for other uninteresting events).Jason Wright
2003-02-01Look, noone cares if you run of out rx descriptors and whining about it just ↵Jason Wright
makes the situation worse.
2002-11-26re-enable if_timer; jason@ ok.Federico G. Schwindt
2002-11-20If both phys are available, prefer the external one.Jason Wright
2002-11-14Don't complain about the defer timer expiring, call it an oerror instead.Jason Wright
2002-09-28- disable if_timer handling (there's a bug which causes this not to getJason Wright
reset, causing watchdog timeouts). The interfaces work fine, but the timer doesn't get reset correctly. - make IFF_SIMPLEX only set iff the media is IFM_FDX (prevents ip6 from seeing it's packets and thinking another machine with the same mac is on the wire when running half-duplex); from NetBSD.
2002-08-07Hrmph, part of the logic was correct: turn off if_timer when all descriptors ↵Jason Wright
are found to be empty.
2002-08-07fix if_timer handling:Jason Wright
- only set it to non-zero when at least on packet is enqueued - zero it if we tx'd at least one packet
2002-08-06be sure to unmap/deallocate buffers when hme_stop() is calledJason Wright
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-05fix dma map handling logic in hme_newbuf(); from jason@.Federico G. Schwindt
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-18call ether_ioctl(), fix pr/2371; jason@ okMichael Shalayeff
2001-10-09- keep a spare dmamap_t around for rx (use it to keep the old mbuf loadedJason Wright
while trying to get the next buffer setup). - reduce ring size for both rx & tx
2001-10-04move stats update into tickerJason Wright
allocate all dmamaps in advance (and use load/unload/sync as appropriate)
2001-10-04Fix up tx logic: can't free zero length mbufs (may have to requeue, and it'sJason Wright
not polite to modify the mbuf chain and requeue).
2001-10-02styleJason Wright
2001-10-02De uglify (a bit) and garbage collect a bunch of now unused functions.Jason Wright
2001-10-02Pull in a change I wrote a -long- time ago: avoid {bcopy/memcpy} into staticallyJason Wright
allocated buffers. Use the buffer provided in the mbuf (after bus_dmaifying it, of course) instead [This is only step one: next step, garbage collection and deuglification]
2001-09-23solve mtu problem a little more elegantly (ramdisk works on blade100 andJason Wright
u5 now).
2001-09-20undef HMEDEBUG by default, and maximum rx/tx size isJason Wright
ETHERMTU + sizeof(struct ether_header) not ETHERMTU
2001-08-29initialize ac_enaddr from sc_enaddrJason Wright
2001-08-23decruftify: remove unnecessary/unused functionsJason Wright
2001-08-23need bpfilter.hJason Wright
2001-08-21bus independent part of hme driver from netbsdJason Wright