Commit Graph

40 Commits

Author SHA1 Message Date
thorpej b97e4c2136 Merge the nathanw_sa branch. 2003-01-19 16:50:16 +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
matt 5d09a84558 Add multiple inclusion protection. 2003-01-06 21:02:18 +00:00
thorpej 72a7af27b0 Use aprint_normal() in cfprint routines. 2003-01-01 00:10:15 +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
wiz c52d355d71 "wierd" is weird. 2001-08-20 12:20:01 +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 cae5d5a796 Lock the kernel lock at interrupt enter. 2001-06-04 21:31:28 +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
ragge acb96154d0 More intelligent BI vector assignment. 2000-07-26 12:41:40 +00:00
ragge 8cc5c2c8f1 Rename NODESIZE to BI_NODESIZE. 2000-07-06 17:47:02 +00:00
mrg b5e0d5686e remove include of <vm/vm.h> 2000-06-28 17:09:41 +00:00
mrg 2f159a1bac remove/move more mach vm header files:
<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +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
thorpej 071aed40ac A foolish consistency; most parts of the kernel use bp->b_data, so
change these from bp->b_un.b_addr to bp->b_data, as well.  This also
allows us more flexibility to experiment with other data buffer types
hung off of struct buf.
2000-05-19 18:54:22 +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
ragge 30819cb81c Bus_dma'ify the KDB50 driver, and make it work. 2000-03-26 11:45:04 +00:00
ragge 94b8f863fa Don't use structs for BI space definitions, use offsets. 1999-11-03 21:57:40 +00:00
ragge d1ffb22ab2 "files" also needed. 1999-08-04 19:13:05 +00:00
ragge 1aa825ae03 Converted to (mostly) MI code. 1999-08-04 19:12:22 +00:00
ragge 497378ce6d Copied from ../../arch/vax/bi/uba_bi.c,v 1999-07-12 13:43:40 +00:00
ragge af86c7da93 Copied from ../../arch/vax/bi/kdbreg.h,v 1999-07-12 13:43:24 +00:00
ragge f5e891549d Copied from ../../arch/vax/bi/kdb.c,v 1999-07-12 13:43:11 +00:00
ragge fa113488d5 Copied from ../../arch/vax/bi/bivar.h,v 1999-07-12 13:42:55 +00:00
ragge 3b01a5972f Copied from ../../arch/vax/bi/bireg.h,v 1999-07-12 13:42:42 +00:00
ragge f6e8b1b918 Copied from ../../arch/vax/bi/bi.c,v 1999-07-12 13:42:24 +00:00