christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
perry
f31bd063e9
nuke trailing whitespace
2005-02-27 00:26:58 +00:00
perry
18db93c7f6
de-__P
2005-02-04 02:10:35 +00:00
thorpej
f3e948e11c
Eliminate the use of M_HASFCS.
2005-01-31 03:02:27 +00:00
thorpej
e9818f5b5e
When adding/deleting multicast addresses, only whack the address
...
filter if the interface is marked RUNNING.
Fixes kern/27678.
2004-10-30 18:08:34 +00:00
matt
65e5548a17
Add MBUFTRACE kernel option.
...
Do a little mbuf rework while here. Change all uses of MGET*(*, M_WAIT, *)
to m_get*(M_WAIT, *). These are not performance critical and making them
call m_get saves considerable space. Add m_clget analogue of MCLGET and
make corresponding change for M_WAIT uses.
Modify netinet, gem, fxp, tulip, nfs to support MBUFTRACE.
Begin to change netstat to use sysctl.
2003-02-26 06:31:08 +00:00
bouyer
8951e08c3c
Hum, ragge said this chip should autopad, so just remove the check.
2003-01-15 22:05:38 +00:00
bouyer
4199421246
zero out the remaining of last mbuf when padding the packet to ETHER_MIN_LEN
...
XXX should it be ETHER_MIN_LEN-ETHER_CRC_LEN ?
XXX2 we assume there is enouth room in the last mbuf. The code already assumes
this in other places.
2003-01-15 21:59:02 +00:00
provos
0f09ed48a5
remove trailing \n in panic(). approved perry.
2002-09-27 15:35:29 +00:00
lukem
a4bae8b066
add/cleanup RCSID
2001-11-13 13:14:31 +00:00
thorpej
623f83a793
Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places.
2001-07-19 16:25:23 +00:00
thorpej
0884f20bf7
bzero -> memset
2001-07-07 16:13:44 +00:00
thorpej
7711ad565b
bcopy -> memcpy
2001-07-07 15:53:13 +00:00
thorpej
c2c26e1362
bcmp -> memcmp
2001-07-07 05:35:39 +00:00
ragge
849d818db4
Remove some unused variables.
2001-04-15 15:01:35 +00:00
thorpej
a3fd502107
Nuke some unneeded splimp.
2001-04-12 03:16:56 +00:00
thorpej
6b16911a43
ALTQ'ify.
2000-12-14 06:27:23 +00:00
thorpej
b84f740be0
Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach().
2000-11-15 01:02:11 +00:00
thorpej
275539f03c
NBPG -> PAGE_SIZE
2000-11-14 18:21:00 +00:00
matt
b885772956
The input packet has the FCS attached to set M_HASFCS before passing up.
...
Revove eh = ... since it's no longer used.
2000-10-14 20:06:02 +00:00
thorpej
7ca3fb9ef0
Move the check for "promisc + unicast + not for us" into ether_input(),
...
and change Ethernet drivers to always pass all received frames to
ether_input() (with a few exceptions, which are documented in the
code).
2000-10-01 23:32:39 +00:00
matt
6204fa3c99
Update to new evcnt stuff
2000-06-05 02:28:19 +00:00
matt
576faa0c31
Start couting interrupts.
2000-06-04 02:14:12 +00:00
matt
dd266dbb2f
Fix counting of output packets. Only count descriptors with TDES_LS set.
...
Also make transmit timeout logic more correct.
2000-05-27 04:26:32 +00:00
matt
20a98cb524
count input and output packets.
2000-05-20 18:33:18 +00:00
augustss
169ac5b3c1
Remove register declarations.
2000-03-30 12:41:09 +00:00
ragge
148c244c15
Driver for the DEC SGEC, Second Generation Ethernet Controller.
1999-08-08 11:41:28 +00:00