Commit Graph

22 Commits

Author SHA1 Message Date
he
505125808c Work around gcc 2.95.3's inability to detect that "ret" is initialized.
Will be documented in doc/HACKS, and should be looked at again when
gcc 3.3.2 for vax is ready.
2003-11-06 00:25:50 +00:00
thorpej
d58deb08c2 Use PAGE_SIZE rather than NBPG.
XXX Except in one place which will require more work.
2003-04-01 01:58:14 +00:00
bouyer
0a5eae1855 ragge said this chip should autopad, so just remove the check for len. 2003-01-15 22:08:08 +00:00
bouyer
84c7763ec2 Use a properly zeroed buffer to pad the packet to ETHER_MIN_LEN
XXX should it be ETHER_MIN_LEN - ETHER_CRC_LEN ?
2003-01-15 21:51:47 +00:00
thorpej
c9b3657ce9 Add trailing ; to CFATTACH_DECL. 2002-10-02 16:33:28 +00:00
thorpej
bacf3a10fa Use CFATTACH_DECL(). 2002-09-30 20:43:55 +00:00
thorpej
f818766afe Declare all cfattach structures const. 2002-09-27 20:31:45 +00:00
wiz
f7d76b1062 bcmp -> memcmp. 2002-05-22 16:03:14 +00:00
lukem
f61cbe7489 add RCSID 2001-11-13 12:51:12 +00:00
thorpej
cb6f78fe5d bcopy -> memcpy 2001-07-18 16:53:52 +00:00
thorpej
c620771702 bzero -> memset 2001-07-18 16:51:39 +00:00
ragge
056e20f2cc Need to get the kernel lock when entering by interrupts. 2001-06-03 15:15:02 +00:00
ragge
667dd41596 Remove ethernet CRC on received packets. 2001-05-27 19:36:06 +00:00
thorpej
67e357f0a9 splimp -> splvm.
This, like all other uses of spl*() in VAX code, needs to be
scrutinized.
2001-04-12 20:38:25 +00:00
thorpej
08afcfb9bd ALTQ'ify. 2000-12-14 06:59:01 +00:00
thorpej
b84f740be0 Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach(). 2000-11-15 01:02:11 +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
2f85fe7adb Adjust to new evcnt stuff. 2000-06-05 00:09:17 +00:00
matt
0bd304e528 More event counter stuff. Plus a little cruft cleanup while doing it. 2000-06-04 06:16:53 +00:00
matt
11ab56a399 Start counting interrupts. 2000-06-04 02:14:42 +00:00
ragge
9403f3fec8 Reset the device before starting the init sequence.
Add shutdown hook.
2000-04-16 09:55:39 +00:00
ragge
d9c7f72cf3 Device driver for the DEC DEBNA/DEBNT/DEBNK ethernet device.
This is for sure the most overkill hardware I've ever seen! For example,
it needs the VAX page tables so that it can access all data structures
and mbufs in virtual memory! It will be a real challenge to make this
device work on mips and Alpha systems :-)
2000-04-09 16:49:57 +00:00