summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/hme.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* - Use ETHER_MAX_LEN + ETHER_VLAN_ENCAP_LEN instead of HME_MTUbrad2004-09-281-8/+4
| | | | - Use ETHER_CRC_POLY_LE instead of MC_POLY_LE from hmereg.h
* do not reset the chip (and subsequently the phy) when unnecessary; that is,brad2004-08-081-7/+23
| | | | | | | | | | 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@
* Don't reinvent the wheel, use ether_crc32_le() instead.mcbride2004-05-311-24/+3
|
* network drivers don't need to include bpfdesc.htedu2004-05-121-2/+1
| | | | ok krw@ canacar@
* we already set the rx descriptor length to accept vlan packets... justjason2003-06-181-1/+2
| | | | need to advertise the capability; tested by tsar at polarcap dot org
* strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.ho2003-04-271-2/+2
|
* managment -> management;jmc2003-04-261-2/+2
| | | | ok mickey@
* update media handling based on NetBSD: mainly fix setting up of the outputjason2003-03-051-47/+102
| | | | | | drivers also, force a preference of the external phy a little earlier: both ports on the netra T1/105 now work.
* avoid more spurious printfs (account for other uninteresting events).jason2003-02-081-1/+5
|
* Look, noone cares if you run of out rx descriptors and whining about it just makes the situation worse.jason2003-02-011-1/+6
|
* re-enable if_timer; jason@ ok.fgsch2002-11-261-4/+3
|
* If both phys are available, prefer the external one.jason2002-11-201-2/+13
|
* Don't complain about the defer timer expiring, call it an oerror instead.jason2002-11-141-4/+14
|
* - disable if_timer handling (there's a bug which causes this not to getjason2002-09-281-4/+7
| | | | | | | | 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.
* Hrmph, part of the logic was correct: turn off if_timer when all descriptors are found to be empty.jason2002-08-071-4/+3
|
* fix if_timer handling:jason2002-08-071-9/+15
| | | | | - only set it to non-zero when at least on packet is enqueued - zero it if we tx'd at least one packet
* be sure to unmap/deallocate buffers when hme_stop() is calledjason2002-08-061-4/+4
|
* spelling; from Brian Poole <raj@cerias.purdue.edu>todd2002-06-141-2/+2
|
* fix dma map handling logic in hme_newbuf(); from jason@.fgsch2002-06-051-12/+15
|
* First round of __P removal in sysmillert2002-03-141-22/+22
|
* call ether_ioctl(), fix pr/2371; jason@ okmickey2002-02-181-24/+7
|
* - keep a spare dmamap_t around for rx (use it to keep the old mbuf loadedjason2001-10-091-13/+28
| | | | | while trying to get the next buffer setup). - reduce ring size for both rx & tx
* move stats update into tickerjason2001-10-041-60/+77
| | | | allocate all dmamaps in advance (and use load/unload/sync as appropriate)
* Fix up tx logic: can't free zero length mbufs (may have to requeue, and it'sjason2001-10-041-19/+12
| | | | not polite to modify the mbuf chain and requeue).
* stylejason2001-10-021-32/+23
|
* De uglify (a bit) and garbage collect a bunch of now unused functions.jason2001-10-021-246/+45
|
* Pull in a change I wrote a -long- time ago: avoid {bcopy/memcpy} into staticallyjason2001-10-021-51/+259
| | | | | | 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]
* solve mtu problem a little more elegantly (ramdisk works on blade100 andjason2001-09-231-22/+7
| | | | u5 now).
* undef HMEDEBUG by default, and maximum rx/tx size isjason2001-09-201-5/+5
| | | | ETHERMTU + sizeof(struct ether_header) not ETHERMTU
* initialize ac_enaddr from sc_enaddrjason2001-08-291-1/+3
|
* decruftify: remove unnecessary/unused functionsjason2001-08-231-72/+2
|
* need bpfilter.hjason2001-08-231-1/+2
|
* bus independent part of hme driver from netbsdjason2001-08-211-0/+1434